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

Re: SVNSYNC: Locked file on deleted branch with svnsync

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2007-01-30 20:14:58 CET

On Tue, 30 Jan 2007, David Glasser wrote:
> On 1/30/07, David Summers <david@summersoft.fay.ar.us> wrote:
>> I'm trying to do a svnsync to the mirror server and get:
>> ========================================================
>> svnsync: User svnsync does not own lock on path
>> '/branches/bug-327/Repository/source/lib/openscenegraph/osgdb_pic.dll'
>> (currently locked by 'myusername')
>> ========================================================
>> when I try to initiate the sync from the master server (like I've been
>> doing for a month).
>>
>> What is wierd is that "svnadmin lslocks /path/to/Repository" doesn't list
>> any locks on the repository.
>
> Which repository?

Oh, sorry. On the master repository. I just checked, and the slave
repository has a whole lot more directorieses in the db/locks directory
than the master (which again is strange) and when I did the "svnadmin
lslocks /path/to/repository" on the slave it listed all the locked files.

>> Can I just delete all the directories in the db/locks directory to get
>> around the problem or will this be causing a greater problem?
>
> Manually editing files inside the db/ directory is never a good idea.

True. But sometimes if you know and understand what you are doing then
it is OK. In this case it doesn't seem to be good to mess around with
that stuff.

> --dave
>
> --
> David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/
>

Thanks!

--
David Wayne Summers        "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  0B44 B118 85CC F4EC 7021  1ED4 1516 5B78 E320 2001
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 30 20:15:18 2007

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