You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Lloydris Garvey <ll...@newisys.com> on 2004/12/01 18:17:14 UTC

Question about checkouts

I want to checkout the contents of two sub-directories to the same location. The first gets checked out, but the second gives an error stating " DIR is already a working copy for a different URL."
When I combine the checkouts, I get the parent directory which I do not want. I only want the sub-directories.
Any idea of a workaround?

L B. Garvey
Configuration Management



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Question about checkouts

Posted by Sean Laurent <se...@neuronfarm.com>.
On Wednesday 01 December 2004 12:17 pm, Lloydris Garvey wrote:
> I want to checkout the contents of two sub-directories to the same
> location. The first gets checked out, but the second gives an error stating
> " DIR is already a working copy for a different URL." When I combine the
> checkouts, I get the parent directory which I do not want. I only want the
> sub-directories. Any idea of a workaround?

Let's say you have a directory structure something like the following:

project/
  mydir/
    dirA/
    dirB/
    dirC/

And you want to check out dirA and dirB into the current directory.  Try the 
following recipe:

[mydir]$ svn co -N http://server/svn/project/mydir .
 U .
Checked out revision XXX.

[mydir]$ svn up dirA
A  dirA
A  dirA/file1
A  dirA/file2
Updated to revision XXX.

[mydir]$ svn up dirB
A  dirB
A  dirB/file1
A  dirB/file2
Updated to revision XXX.

-Sean

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org