[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-09 01:10:34 CEST

"Peter N. Lundblad" <peter@famlundblad.se> writes:

> On Sat, 8 Oct 2005, Andreas Podgurski wrote:
>> - Why does it return this error message?
>
> Hard to say without knowing what else your program is doing. Is it doing
> something else before this svn_client_lock call that might keep a
> write-lock on the WC. (You add a breakpoint in a debugger and run svn
> status right before this call).

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.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 9 01:11:22 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.