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

Re: Question about checkouts

From: Sean Laurent <sean_at_neuronfarm.com>
Date: 2004-12-01 21:14:29 CET

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:


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.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 1 21:24:44 2004

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.