[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: <rbb_at_rkbloom.net>
Date: 2003-05-01 19:41:50 CEST

On 1 May 2003, 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.

I don't want to speak out of turn, but this is a common problem with
cygwin. You are using a native Windows program in an emulated Unix
environment, things are almost guaranteed to go wrong. You either need
to use a cygwin compiled version of SVN, or get out of cygwin. All MHO,
but this is the type of reason that I stopped using cygwin, and started
using native Windows apps when I work on Windows.


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:27:19 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.