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

Breaking locks on files in renamed working copy folders.

From: Adrian Wilkins <adrian.wilkins_at_gmail.com>
Date: 2005-09-02 14:28:49 CEST

While this is not, per se, a bug, it's something that I feel could
have more automation around it.

 * Arthur locks /trunk/projA/foo
 * Basil does an svn rename of his working copy projA to projB
 * Basil tries an svn commit, and gets the error telling him he can't
delete a file locked by Arthur.
 * Basil tries to steal the lock on foo, and gets an error because
/trunk/projB/foo does not exist.

Easily worked around by using a URL instead of targetting the WC, but
this is an annoyance (esp. where it's a bunch of noobs using TSVN).

If it's easy to work out...

 - That the WC folder you are in has been renamed, but not committed
AND
 - The orginal URL path for this folder

Then it shouldn't be too hard to implement something that can just go
"yeah, I know which file you mean", and steal the lock on
/trunk/projA/foo.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 2 17:26:31 2005

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.