[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to lock a file?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-10-10 00:09:13 CEST

"Andreas Podgurski" <ml.andreas.podgurski@gmx.de> writes:

>> Given that he's developing a new client it's likely that a process
>> crashed, or was interrupted, and left a lock behind. Try the command
>> line client, if 'svn status' shows 'L' then that's a lock. If you are
>> sure no other process is using it you can run 'svn cleanup' to remove
>> the lock.
> Tried this, but it showed nothing on the specific file. Doing the command on
> the whole directory showed, that all directories are locked, but I expect
> that to be a normal effect, maybe something internal?

They are working copy locks:

http://svnbook.red-bean.com/en/1.1/apb.html#svn-ap-b-sect-1.2.2

Working copy locks are not the same as the repository locks created by
svn_client_lock. If you are sure no running process is using the
working copy locks then the locks can be removed by running 'svn
cleanup'.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 10 00:11:39 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.