[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: Andreas Podgurski <ml.andreas.podgurski_at_gmx.de>
Date: 2005-10-09 23:48:06 CEST

> 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?
I changed the code to perform svn_path_internal_style first:

APR_ARRAY_PUSH(pTargets,const char *) =
svn_path_internal_style(pUTF8File,pLocalPool);

But the effect remains. Still, I'm confused, why the error message (Working
copy 'C:\Development\Subversion\VAGE\Testdaten\Mauscursor' locked) truncates
the suffix... Actualy, I looked around and found, that I read a property
before all that, too, but bypassing it with a hardcoded result (It
determines, if the file has the svn:needs-lock property) changed nothing,
too, so it shouldn't have any influence. Any ideas?

Thanks in advance,
Andreas "SunSailor" Podgurski

-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 9 23:48:46 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.