checkout and "Working copy not locked" errors
From: greg Landrum <greglandrum_at_mindspring.com>
Date: 2004-02-27 20:33:16 CET
Greetings,
We are in the process of moving from CVS to subversion and are pretty happy with svn so far, it's quite an improvement! However, I've hit a snag with doing partial checkouts and I'm curious to find out if this is user error or a subversion bug.
For the sake of efficiency, our scripts for regression testing check out parts of our repository instead of pulling the whole thing. So for this directory tree:
--baseproj/
I may only pull the baseproj and baseproj/subd1 directories.
With cvs, I'd do something like this:
I'd like to do something equivalent with subversion, so I set up a little test repository. Here's the result of pulling the entire thing:
glandrum: /tmp/co > svn checkout svn://localhost/tmprepos/baseproj baseproj
The repository is there and it is functional.
So now, the problem. First I checkout the base directory:
Everything ok so far... but now try checking out a subdirectory:
whoops. Maybe changing into the directory helps?
Nope... still not working.
An additional piece of information that leads me to believe that this might be a bug: a coworker, who connects to the svn server remotely (using a standard ssh tunnel), can *sometimes* do these local checkouts without getting the "Working copy not locked" errors. Sometimes they work, sometimes they don't.
In case it matters, this is all being done using version 1.0.0 of subversion, compiled from source on a RedHat 8.0 box.
Thanks for any help you can provide,
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.