Question: What is the difference between branching and labeling?

- J.D. Meier, Jason Taylor, Alex Mackman, Prashant Bansode

Answer

Branches are designed to split a collection of files into separate development paths. You use branching to isolate two sets of file versions so that you can evolve the two paths separately. For example, you can use branches to manage and maintain older released versions of your application. You can also use branches to isolate risky code changes that span multiple developers, so that team impact is minimized. However, if you need to isolate only a single developer, use workspaces to reduce branch and merge complexity.

Labels are used to tag a file or collection of files with distinct notation so that the file or collection can be easily retrieved later. For instance, you can use labels to mark daily builds in order to ease future retrieval; for example, if you want to address an issue related to that release.

Additional Resources


Last edited Jul 18, 2007 at 10:13 PM by jtaylorsi, version 9

Comments

No comments yet.