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

Re: (workaround) Working directory not locked (on commit) - 0.21.0

From: Jens B. Jorgensen <jens.jorgensen_at_tallan.com>
Date: 2003-05-13 18:36:53 CEST

Philip Martin wrote:

>"Jens B. Jorgensen" <jens.jorgensen@tallan.com> writes:
>
>
>
>>Philip Martin wrote:
>>
>>
>>
>>>"Jens B. Jorgensen" <jens.jorgensen@tallan.com> writes:
>>>
>>>
>>>>jbj1@tallan2 /d/src/c++/pkcs11
>>>>$ svn commit -m 'foo!'
>>>>svn: Working copy not locked
>>>>svn: Are all the targets part of the same working copy?
>>>>svn: directory not locked (d:/src/c++/pkcs11)
>>>>
>>>>
>>>I suspect that the problem is the difference between the strings
>>>"/d/src/c++/pkcs11" and "d:/src/c++/pkcs11".
>>>
>>>
>>Well, I checked out the repository just as file:///svn/c++/pkcs11.
>>
>>
>
>It's not the URL that matters, this is a working copy path problem.
>
>
>
>>The /d/src/c++/pkcs11 just shows up because I have d: "mounted" as
>>/d for cygwin purposes.
>>
>>
>
>I don't know anything about cygwin, but Subversion uses paths to key
>into a hash table. If the same path shows up in two different forms
>it could produce your error.
>
>
>
For the curious, while I was in the process of getting together a build
environment to debug this problem I noticed another post in which
someone used the URL form file:///<drive letter>:/blah/blah. I did not
know that there was a url form where the drive letter was supported (I'd
tried a couple of guesses at how to do this, not sure how I missed the
fairly obvious). I deleted the working copy and instead checked out as:

svn co file:///d:/svn/c++/pkcs11

instead of

svn co file:///svn/c++/pkcs11

This time the commit worked after I changed a file. I'm still interested
in figuring out why the latter didn't work so if I get back to getting
svn compiled (which I hope to do if for no other reason than to keep up
with HEAD) then I'll try to reproduce the error and submit a patch for
any bug I might find. And I promise to read the HACKING doc first! ;-)

-- 
Jens B. Jorgensen
jens.jorgensen@tallan.com
"With a focused commitment to our clients and our people, we deliver value through customized technology solutions"  
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 13 18:37:23 2003

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.