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

Re: Zombie files prevent me from re-adding deleted file

From: <kmradke_at_rockwellcollins.com>
Date: Tue, 28 Oct 2008 12:58:19 -0500

"Marziou, Gael" <gael.marziou_at_hp.com> wrote on 10/28/2008 11:33:21 AM:
>
> A user has deleted a file from our SVN repository and now it's
> impossible for anybody to re-add this file again.
>
> Each time we commit, we get this error below which seems to mean that
> the file was not completely deleted and still exists as a kind of
> zombie.
>
>
> It happens for some other files that were also deleted by this
> particular user.
>
> Our repository is running on Windows 2003 using SVN 1.4.6 and fsfs.
>
> I looked at the doc and the FAQ but did not find any admin command
> that would help me to find and fix these zombies.

There is a contrib python script that can help:

http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/remove-zombie-locks.py

Or, if you are using tortoiseSVN, use the repo-browser, set the
revision to the one prior to where the file was deleted and select
the file and select "break lock".

Zombie locks occur when a file that has been "locked" is deleted.
(And svn does not unlock it when it is committed.)

Kevin R.
Received on 2008-10-28 18:59:02 CET

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

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