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

RE: 'svn switch' and already switched dirs

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Tue, 29 Jun 2010 13:59:38 -0400

> In a couple of working copies, we have the following setup:
> /release- (checked from /branches/release/release-
> /alpha/beta
> /alpha/gamma -> (switched to /trunk/alpha/gamma)
> /alpha/delta
> /alpha/delta/epsilon -> (switched to
> /trunk/alpha/delta/epsilon)
> If I run 'svn switch '/branches/release/release-' from the
> root
> directory), I would expect SVN to leave the already existing
> switched
> directories alone. However, it switches all directories (so
> /alpha/gamma is now switched batch to /branches/release ... )
> Is this expected? Is there a switch to prevent this from occurring?
> And, yes, I know that externals could be used for this as well, and
> if
> we can't work around the above issue, then we might need to go to
> that.

The other option is don't use switch. Just do a second checkout of the other revision. I'm sure the nested co's also being switched is expected yes.

Received on 2010-06-29 20:01:16 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.