I'm sending this to the list so others can provide their input.
In answer to your question, as far as I know, what you want is not possible
using Subversion as is. If you don't need to make modifications to the files
you could certainly write a wrapper script to use 'svn export' and copy the
files into a single directory.
Of course, it also begs the question, why do you want to do that? Why keep
file1, file2, file3 and file4 in separate directories if you want to access
them from the same directory?
-Sean
On Wednesday 01 December 2004 03:07 pm, Lloydris Garvey wrote:
> Let say dirA has files: file1 & file2, and dirB has file3 and file4. After
> the checkout, I want to see in mydir file1, file2, file3, & file4. I don't
> want to see dirA and dirB.
>
> L. B. Garvey
> Configuration Management
>
> -----Original Message-----
> From: Sean Laurent [mailto:sean@neuronfarm.com]
> Sent: Wednesday, December 01, 2004 2:14 PM
> To: users@subversion.tigris.org
> Cc: Lloydris Garvey
> Subject: Re: Question about checkouts
>
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 1 22:28:54 2004