?
Solved

Subversion locking at workspace or repository?

Posted on 2013-06-25
2
Medium Priority
?
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 21

Accepted Solution

by:
oleggold earned 400 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

752 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