Antwort: RE: [cvsnt] Re: Branch "1"

Heiko Klotz heiko.klotz at ppi.de
Thu Mar 16 09:13:11 GMT 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Bo Berglund schrieb am 16.03.2006 09:35:51:

> Creating a branch means the following:
> 
> 1) Tag with the -b flag. The branch tag name is something like
> Branch_MyTest or similar
> 2) Update to the branch tag (cvs update -r Branch_MyTest)
> 3) Edit some files in the sandbox
> 4) Commit the edits
> 
> It is not until step 4 that any of the files in the branch will change
> revision number. Until then they will keep their old revisions.
> After the commit there will be two new numbers added to the revision to
> reflect the branch revision. The number of decimal points on any file is
> always odd (1 for files on trunk, 3 for files committed on the first
> level branch, 5 for files committed to a branch off of a branch etc):
> 
> 1.11
> 1.11.1.2
> 1.11.1.6.1.2

There´s a little mistake in that example:
Branchnumbers (except Vendorbranchnumbers) are always even.
So it should be:

1.11
1.11.2.1       (the branchnumber is 2)
1.11.2.1.6.3   (the sub-branchnumber is 6)

for example.

Only on a vendorbranch you can have odd branchnumbers and revisionnumbers 
like 1.1.1.4.

Heiko


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook