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

RE: Doing svn checkouts on top of svn checkouts?????

From: Bert Huijben <bert_at_qqmail.nl>
Date: Tue, 12 Jul 2011 11:50:32 +0200

> -----Original Message-----
> From: Andreas Krey [mailto:a.krey_at_gmx.de]
> Sent: dinsdag 12 juli 2011 10:07
> To: Geoff Hoffman
> Cc: Subversion
> Subject: Re: Doing svn checkouts on top of svn checkouts?????
>
> On Tue, 12 Jul 2011 00:30:06 +0000, Geoff Hoffman wrote:
> ...
> > To clarify what I meant - say you have Repo-A/Path-B and Repo-X/Path-Y.
> You
> > could cd into your working copy of Path-B and do svn checkout Repo-
> X/Path-Y
> > Y and end up with B/Y in your working copy such that changes under Y
> commit
> > to Repo-X and changes under B not under Y commit to Repo-A. I have a
> hunch
> > this (not throwing an error) is by design, because it is *almost*
identical
> > to how svn:externals work. I just tested this and Y shows up as ? when
> > doing svn status under B.
>
> I didn't test that, but I suppose that Y is not known to the 'outer'
> svn sandbox, and changes in the 'inner sandbox (Y) wouldn't be committed
> or shown in 'svn status'.
>
> Can you 'svn switch' a subtree to a different repo? And what happens
> then on a commit? :-)

No, you can't switch a subtree to a different repository.

You can exclude a directory and perform a new checkout in its place though.
But this starts a new working copy.

        Bert
Received on 2011-07-12 11:51:20 CEST

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.