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

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


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