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

Re: Teaching svnadmin to remove orphaned locks (Was: [CONTRIB] remove-zombie-locks.py, workaround for Issue #2507)

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-01-12 17:02:59 CET

On Fri, Jan 12, 2007 at 10:30:30AM -0500, C. Michael Pilato wrote:
> dev-folk, this is in reference to the problem in issue #2507.
>
> Nathan Kidd wrote:
> > I'm not sure I'll have time, but would a patch for svnadmin adding the
> > "clean whole repository" functionality likely be accepted?
>
> What are you thinking in terms of an implementation? Having invested
> about three minutes on it, here's what strikes me as do-able at the moment.
>
> Add the following flags to 'svnadmin rmlocks':
>
> --recursive (-R): descend recursively
> --only-orphaned: only operate on locks for paths not in HEAD
>

I'd rather we try to make it impossible to have orphaned locks in the
first place :-) Is that a hard problem?

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Fri Jan 12 17:03:58 2007

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.