[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: Paul Maddox <P.Maddox_at_signal.QinetiQ.com>
Date: 2006-03-20 17:59:33 CET

All,

Thanks to Matt for his help, that worked a treat, on one of the problem
branches
:-)

This one is a bit more 'tricky'
The basic problem is the same, but there's a twist

Here's the error message-
 ---------------------------------------------------
 Error commit failed
 User paul does now own lock on path
 /monkey/myproject/branches/documentation/specs/My
 file.doc
 (currently locked by idiotuser2)
 ---------------------------------------------------

The twist is, the file is actually ;-
 /monkey/myproject/branches/documentation/specs/My file.doc

It seems that the comitt is treating the 'space' as a directory delimiter
(ie.a '/')

Using the SVNADMIN rmlocks doesn't work, I've tried using double quotes (ie.
"path with space") around the path and also single quotes (ie. 'path with
space') and neither works.

Many thanks in advance,
Paul

----- Original Message -----
From: "Matt Doran" <matt.doran@papercut.biz>
Cc: <users@subversion.tigris.org>
Sent: Friday, March 17, 2006 11:26 AM
Subject: Re: Problem with deleting files

> (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:
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=2507
>
> Cheers,
> Matt
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 20 18:06:55 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.