Mark D. Baushke wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Terrence Brannon <[EMAIL PROTECTED]> writes:


<SNIP>
I would also like to list the last 10 branch tags created.


Branches are per file, not repository wide. So, nothing will get you
this information without a full scan of the repository unless you use
'cvs rtag' to create the tags in which case, the 'cvs history' command
should be able to help you.

cvs-exp.pl[1] seems to do an OK job figuring it out if you run it against your whole repository, i.e., it works for me when I run it as:

`cvs-exp.pl --nolog`

I do however need to have at least one normal tag on each branch to see the branch tags as branch tags, IIRC. It has been a while since I had a project with branches to use it on, but IIRC it puts the branch tags in '[]' pairs so you might be able to do something like:
`cvs-exp.pl --nolog|grep \[ | tail -10`

but I am not sure the branch tags are shown in chronological order.

[1] http://www.cs.rice.edu/~ssiyer/code/cvs-exp/


I could write all of these, but I am sure that someone must've done so
already given CVS's age.


If you write general purpose utilities that you think would be useful,
post them to [email protected] for possible inclusion in the contrib
directory.




_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs

Reply via email to