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

RE: How can you see if a file is "switched?" With Vista I do not see a way.

From: Glenn Carr <glenn_at_glenncarr.com>
Date: Thu, 18 Nov 2010 09:59:22 -0800 (PST)

On 2010-11-17 14:28:31 PST Bob Archer wrote:
> You will have to tell me what the advantages are other than reduced disk
> space (which really seems reaching considering today's hard drive
> capacities and prices). I'm not aware of any. However, I am aware of the
> HUGE disadvantages of using a single working copy and switch, namely,
> possibly working on the wrong version/branch of your project. No easy way
> to tell which branch you are in without constantly running a status. Not
> being able to work on more than one branch at a time (ie having non-commit
> changes for several in progress branches), etc.

The main advantage for us is being able to update the entire trunk so that we can be assured that our changes still jive with the main development.

An individual can of course do that with his local working copy in the trunk without committing, but it is very difficult when multiple developers are working on large subsystem, and want to easily keep their work in sync without affecting the trunk, and also want to commit their work in multiple phases.

We also have several custom build tools which reside under /trunk/Utilities/. Our build files maintain relative references to those utilities, but being able to switch only a portion of the codebase allows those references to continue to work without having to pull the entire branch (which is quite large).

If we didn't switch only a portion of the code, and checked out a separate branch, and wanted to keep assuring that our work in progress still built properly with changes that were being committed to the trunk, we would have to manually make sure we merged changes from the trunk into our branch. It's just much easier and less error-prone in our experience to use switch on a small portion of the code.

That said, if using switch is a huge disadvantage for you due to the risk of accidental commits, I wouldn't use it either. We're just glad it is an option, but would like a faster way to confirm the current branch.



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-18 18:59:33 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.