[cvsnt] Any way to list branch names from a module?
Tony Hoyle
tony.hoyle at march-hare.com
Thu Aug 7 00:24:27 BST 2008
It's quite easy to tell the difference in the log output - branches
always have .0. in them, so you can get a list of branches in a file for
example using:
$ cvs log foo.txt | grep \.0\.
In RCS terms a tag and a branch are the same thing apart from this marker.
So 1.1.0.2 is branch 2 off revision 1.1. This can also be written 1.1.2
depending on where it's used (the .0. form is the way it's stored in RCS
and the shorter form tends to come from sandboxes).
cvsnt adds floating branches which have .0.0 in them eg. 1.0.0.2 is a
floating branch based on branch 1 (head/trunk).
Tony
More information about the cvsnt
mailing list