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

Re: Problem with deleting files

From: Matt Doran <matt.doran_at_papercut.biz>
Date: 2006-03-17 12:26:40 CET

(forgot to cc list the first time)

Paul Maddox wrote:
>> there's a bit of history around this, so I'll explain..
>> once upon a time, there was a branch with a directory structure.
>> When doing a merge and re-branch some kind user forgot to drop their
>> locks.
>> Anyway, after the branch, the file was subsequently deleted.
>> Now if I try and remove this old directory I get an error, saying I
>> can't
>> because the file is currently locked by another user, even though the
>> file
>> is no longer there.
>> I get this ;-
>> ---------------------------------------------------
>> Error commit failed
>> User paul does now own lock on path
>> '/monkey/myproject/branches/development/documentation/spec.doc'
>> (currently locked by idiotuser2)
>> ---------------------------------------------------
>> I can't 'get' or 'steal' the locks because, well there's nothing
>> there to
>> get or steal!
>> I've tried creating a file with the same name, commiting, 'dropping the
>> locks, and trying to delete again, but I get the same error.
>> we're using tortoise SVN on the clients and the server is using SVN
>> version
>> 1.2.3
Have you tried removing the locks using "svnadmin"?

You need to run this on the server hosting the repository. The syntax is:

   svnadmin rmlocks REPOS_PATH LOCKED_PATH

I think there is already an issue for this:


Received on Fri Mar 17 12:30:21 2006

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.