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

(Silly?) question regarding branch and switch

From: Karl Auer <kauer_at_biplane.com.au>
Date: 2006-01-04 12:11:04 CET

Hi there.

I'm trying to get a grip on branches.

When I use Subclipse to create a branch, then switch to that branch, I see appropriate log messages (probably broken by my mailer):

   copy -rHEAD svn://localhost/repository/svntest/trunk svn://localhost/repository/svntest/branches tb1
       Committed revision 7.
   switch svn://localhost/repository/svntest/branches/tb1 /home/kauer/eclipse_workspace/svntest -rHEAD
       At revision 7.

In the project browser, however, the project still shows up as "svntest [svntest/trunk]". I was expecting it to change to "svntest [svntest/branches/tb1]".

When I then make a change to a file in the project and commit the change, the change appears to have been made in *both* copies, trunk and branch. When I use switch, it *seems* to switch (see the log entries above), but the version of the file I get is always the changed one, and the label decoration never changes from "[svntest/trunk]". The default URL in the "Switch to Branch/Tag" dialog is always the trunk, as if it never switched away.

Am I fundamentally misunderstanding what switch is supposed to do?

Regards, K.

Karl Auer (kauer@biplane.com.au)                   +61-2-64957160 (w/h)
http://www.biplane.com.au/~kauer/                  +61-428-957160 (mob)
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 4 12:14:14 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.