Unable to unlock a repository

David I. yigyw4d02 at sneakemail.com
Thu Jul 30 13:40:46 CDT 2009


> There's not much that should stop root from deleting a file. Be sure:

> a) the directory is marked +w
> b) the filesystem is not mounted R/O
> c) you've turned off sharing
> d) you've rebooted
> e) you've scanned for filesystem corruption

I had a similar situation with an "undeletable file" recently. I was
running a cvs2svn conversion and I hit "Ctrl-C" during the process to
abort it. I then tried to delete the directory where the conversion was
going on. SVN left a lock file with no permissions (as seen in ls -l) in
a sub-directory and I couldn't delete it. The server admin logged in as
root and couldn't delete it either. This was a Solaris 10 machine on a
NFS mounted filesystem. Luckily I had a Linux machine that also mounted
that directory. I could delete the lock file on Linux and that is how I
solved the issue. 

David 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090730/c9618a2f/attachment.htm 


More information about the Mercurial mailing list