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

Re: Is it possible to checkout multiple trees into same folder?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-09-16 21:20:02 CEST

On 9/15/07, Frank Church <vfclists@googlemail.com> wrote:
> Is it possible to checkout multiple trees into same folder?
>
> I want to set up working copies from different branches of a
> repository into the same folder. Is that possible?
>
> When I want to do a commit can subversion know which files come from
> which branch and commit them to that branch? If it can't will the
> branches have to be explicitly named? The main thing to be sure is
> that the folder and file names in the root are different.
>
> Will this work?
>

Same answer you got on svnforum.org. You can't check out from 2 URLs
into the same working copy directory.

You can do this:
mkdir myWCs
cd myWCs
svn co <URL_TO_BRANCH1> branch1
svn co <URL_TO_BRANCH2> branch2

But those are independent and separate WCs - you have to commit each
individually.

You cannot do this:
mkdir myWCs
cd myWCs
svn co <URL_TO_BRANCH1> .
svn co <URL_TO_BRANCH2> .

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 16 21:16:39 2007

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.