[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: Andreas Krey <a.krey_at_gmx.de>
Date: Tue, 12 Jul 2011 10:06:40 +0200

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? :-)


"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
Received on 2011-07-12 10:07:34 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.