My source code is versioned with CVS (in particular CVSNT).
Given the full path of a file and the name of a branch, how can I get all the revisions (just the numbers like 1.341.2.1) of the file on the branch?
My source code is versioned with CVS (in particular CVSNT).
Given the full path of a file and the name of a branch, how can I get all the revisions (just the numbers like 1.341.2.1) of the file on the branch?
If you are looking for all the revisions of file bar
in module foo
on branch 1.341, probably the easiest thing is:
grep ^1.341 $CVSROOT/foo/bar,v
or you could always do:
cvs log bar | grep '^revision 1.341