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

Re: A file that doesn't exist is locked

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 1 Oct 2016 14:33:08 +0200

On 30.09.2016 18:56, Poutre, Patrice wrote:
> Hi,
>
>
>
> I am trying to delete an old project through the repo browser. There are
> only folders left in the project, but when I try to delete them, I get a
> message stating that I do not own the lock on a particular file. When I
> browse to the location of that file, it isn’t there. I don’t know how
> many of these “invisible” files there are at this location.
>
>
>
>
>
>
>
> The user ‘kpalmer’ no longer works here, but she had the same problem.
> She could not delete the project or any of the “invisible” files because
> they were locked.

This is a known problem with subversion.
There's a python script that can help you prevent this situation in the
future:
http://stackoverflow.com/questions/2343808/removing-zombie-locks-in-subversion

As for how you can recover from this now:
* Find the revision the files was removed
* open the repo browser, click the "HEAD" button and enter that revision
* select the file in the repo browser, right-click and remove the lock

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3187907
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-10-01 14:34:43 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.