|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
One use of version control is to maintain multiple "current" versions of a file. For example, you might have different versions of a program in which you are gradually adding various unfinished new features. Each such independent line of development is called a branch. VC allows you to create branches, switch between different branches, and merge changes from one branch to another. Please note, however, that branches are only supported for RCS at the moment.
A file's main line of development is usually called the trunk. The versions on the trunk are normally numbered 1.1, 1.2, 1.3, etc. At any such version, you can start an independent branch. A branch starting at version 1.2 would have version number 188.8.131.52, and consecutive versions on this branch would have numbers 184.108.40.206, 220.127.116.11, 18.104.22.168, and so on. If there is a second branch also starting at version 1.2, it would consist of versions 22.214.171.124, 126.96.36.199, 188.8.131.52, etc.
If you omit the final component of a version number, that is called a branch number. It refers to the highest existing version on that branch--the head version of that branch. The branches in the example above have branch numbers 1.2.1 and 1.2.2.
|N.7.6.1 Switching between Branches||How to get to another existing branch.|
|N.7.6.2 Creating New Branches||How to start a new branch.|
|N.7.6.3 Merging Branches||Transferring changes between branches.|
|N.7.6.4 Multi-User Branching||Multiple users working at multiple branches in parallel.|
This document was generated by Roberto on abril, 2 2007 using texi2html 1.76.