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

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

From: Jens B. Jorgensen <jens.jorgensen_at_tallan.com>
Date: 2003-05-01 19:40:23 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.
>
>
>
Here's the command I used to create the repository:

svnadmin create svn

Here's the command I used to import the source:

svn import -m 'initial version' file:///svn pkcs11new c++/pkcs11

Basically I have d:/svn as my repository and I have my code under
d:/src. All the commands have been run with a current working directory
in d:. Is there somewhere I could check for pathname mismatches? I don't
see anything suspicious in .svn/entries. I put the file up here:

http://www.ultraemail.net/~jbj1/entries.zip

With respect to rbb@rkbloom.net's comment about cygwin/windows
difficulties I am aware of the potential problems using cygwin in
windows. I don't think that I ever specified either d: or /d in any
pathnames to any svn command through this whole thing (the repository
was created and all subsequent commands run all in the span of
yesterday). Not having specified either d: or /d anywhere I'm not sure
where any other difficulties could have come in. Is there something I
could take a look at?

-- 
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 Thu May 1 19:41:26 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.