[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: Paul Lussier <pll_at_lanminds.com>
Date: 2002-11-27 20:30:45 CET

In a message dated: 27 Nov 2002 13:19:17 CST
Ben Collins-Sussman said:

>So there's a .svn/logfile somewhere trying to run a command, and it
>can't do so.

Is there any way to find out what command is trying to be run?
Does that even matter?

> Is it because the 'asm' directory doesn't exist? What
>does investigation show?

Doh! I think I know what happened. I did a 'make config' within the
wc. I think this actually does:
        
        cd include
        rm -rf asm
        ln -s asm-i386 asm

Which means that if include/asm began life as a directory with it's
own .svn tree, and it's now a symlink, things could get very wonky
indeed. Hmmm, I'll go verify that this is what happened.

>> I also noted that there are several subdirs which have locks in them:
>>
>> $ find ./ -name 'lock'
>
>'svn status' shows lockfiles as well, no need for 'find'.

True, but svn stat performance on the linux kernel tree is *very*
slow and find is a lot faster :)

>> 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.

I'll try that.

Thanks,

-- 
Seeya,
Paul
--
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.
	 If you're not having fun, you're not doing it right!
---------------------------------------------------------------------
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:32:11 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.