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

Re: (Silly?) question regarding branch and switch

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-04 23:28:52 CET

On Jan 4, 2006, at 22:38, Karl Auer wrote:

> Thanks Josh. Yes I might, but I figured the Subversion users list
> was a better place to ask "what exactly is switch supposed to do".
>
> As I read the SVN book, it is supposed to make your working copy
> look like a specified revision. It is described as a variant of
> update. When I make a change to a branch (as far as I can tell),
> the change seems to happen in both the branch and the trunk. This
> seems manifestly impossible, so I'm wondering if I really
> understand what switch is supposed to do.
>
> Maybe I just need to do more experiments.

You're right, that should be impossible. In Subversion, when you make
a change on a branch, the change gets made on the branch, not on the
branch and the trunk. To propagate the change to the trunk, you have
to use the svn merge command. Try some more tests, using the svn
command line, maybe following the examples in the book if there are
any good ones about switching, and note the results. If anything
strikes you as odd, you can send us your transcript and what happened
and what you think should have happened instead and maybe we can sort
things out.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 4 23:44:50 2006

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.