I tested the script, the "all" option works well.
Unfortunately the "per version" option does not fully work: it removes the lock but this does not seem to be enough.
So, as a workaround, I run a remove all in the post-commit hook.
Gael
> -----Original Message-----
> From: Marziou, Gael
> Sent: Tuesday, October 28, 2008 7:49 PM
> To: users_at_subversion.tigris.org
> Subject: RE: Zombie files prevent me from re-adding deleted file
>
> Thanks a lot Kevin, I checked with the repo browser and you
> were right there is still a lock on this file.
>
> Tomorrow, I'll give a try at the Python script to delete the
> zombie locks and also use it in post commit hook.
>
> Thanks & regards,
>
> Gael
>
>
> ________________________________
>
> From: kmradke_at_rockwellcollins.com
> [mailto:kmradke_at_rockwellcollins.com]
> Sent: Tuesday, October 28, 2008 6:58 PM
> To: Marziou, Gael
> Cc: users_at_subversion.tigris.org
> Subject: Re: Zombie files prevent me from re-adding
> deleted file
>
>
>
> "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/rem
> ove-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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-29 18:49:24 CET