[cvsnt] Re: virtual branches ?

Tony Hoyle tony.hoyle at march-hare.com
Mon Oct 17 22:19:49 BST 2005


Oliver Giesen wrote:
> Example:
> If you create a magic branch off rev. 1.1.2.2, the branch will
> initially receive the branch number 1.1.2.0.0.1 . If you create more
> revisions on the 1.1.2.x branch and then try to update to the floating
> branch it will get you the tip of the 1.1.2.x branch as expected but if
> you commit a revision on the floating branch its branch point will
> suddenly become HEAD, e.g. the new revision will be something like
> 1.12.2.1 instead of 1.1.2.5.2.1 as I would have expected... then again,
> I'm not sure it makes very much of difference in practice except that
> it's no longer possible to tell by the revision tree which revision was
> based on which...

Branches always branch from their trunk, so the new branch is created as 
if you'd done a tag -b at that point and committed a revision to it.

This of course makes it really hard to work out when a branch was 
created just by looking at it (since it doesn't really exist until that 
point).

Tony



More information about the cvsnt mailing list