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

Re: locked dirs preventing action

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-11-27 20:19:17 CET

pll@lanminds.com writes:

> Hi all,
>
> Somehow I ended up with locked wc and someone threw away the key :(
> I've tried svn cleanup and that dies with the following error:
>
> $ svn cleanup .
> svn: No such file or directory
> svn: svn_io_set_file_read_write: failed to set file 'trunk/kernel/linux-
> 2.4.19/include/asm/.svn/lock' read-write

So there's a .svn/logfile somewhere trying to run a command, and it
can't do so. Is it because the 'asm' directory doesn't exist? What
does investigation show?

> I also noted that there are several subdirs which have locks in them:
>
> $ find ./ -name 'lock'
> ./.svn/lock
> ./trunk/kernel/linux-2.4.19/include/.svn/lock
> ./trunk/kernel/linux-2.4.19/.svn/lock
> ./trunk/kernel/.svn/lock
> ./trunk/.svn/lock

'svn status' shows lockfiles as well, no need for 'find'.

> Any ideas how I can unlock my repo?

I don't know what svn command was interrupted, but it might be as
simple as rm -rf'ing some parent directory (like 'include'?), run 'svn
cleanup', then run 'svn up' to get the missing directory back.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 27 20:21:24 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.