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

Committing deletion does not clear repository locks

From: Steve Bakke <steven.bakke_at_amd.com>
Date: 2007-04-25 15:51:32 CEST

We have a situation recently where the following sequence occurred:

% svn lock dir/file_with_needs_lock
% svn rm dir
% svn ci dir

Now lets say that we create a new directory of the same name and attempt to
add it:
% mkdir dir
% touch dir/file_with_needs_lock
% svn add dir
% svn status ­u
A 0 dir
A O 0 dir/file_with_needs_lock

Sure enough, when you run 'svnlook lock <old-repo-path>', it shows the lock
that was acquired way back before the committed deletion. We found that we
had to use svnadmin to unlock that path in order to clear out the
repository.

This seems like a bug to me. Why doesn't subversion automatically clear a
lock for a file that has a successfully committed deletion?

-Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 25 15:52:07 2007

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.