Solved

Subversion locking at workspace or repository?

Posted on 2013-06-25
2
214 Views
Last Modified: 2013-09-11
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
0
Comment
Question by:jkit001
  • 2
2 Comments
 
LVL 21

Accepted Solution

by:
oleggold earned 100 total points
ID: 39340099
the difference is that locking on the repository level will override any later locking that You'd try to execute so the the advised action is to lock on the file level in the workspace or just use check out command to temporarily lock for your editing and check in to save new version.
0
 
LVL 21

Expert Comment

by:oleggold
ID: 39340104
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
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
an alternative to git hub 1 261
TFS Error 31001 1 856
Best process for "back-porting" changes to prior release 4 227
Issues syncing github folder 3 88
INTRODUCTION Subversion is a fantastic version management and software configuration management tool for teams and individuals to manage software applications. It offers many advantages over it's CVS ancestor such as it's built-in compatibility w…
Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question