Link to home
Start Free TrialLog in
Avatar of jkit001
jkit001

asked on

Subversion locking at workspace or repository?

Anyone know what is the difference in locking a file in a workspace or directly at the repository level?

Ex. At the workspace

     svn lock /home/user/workspace/trunk/somefile.txt


Ex. At the repository
 
     svn lock http://svn_server/svn_repository/trunk/somefile.txt

Is there a difference?  Just want to keep others from overwriting the file until I am finished editing and committing.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of oleggold
oleggold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i;d also advise using gui tools such as  tortoise svn as they will allow You to see all the available commands in the file/folder context rather than guess what syntax to use in command line