|
From: | Todd Denniston |
Subject: | Re: cvs convenience scripts? |
Date: | Fri, 02 Dec 2005 15:53:25 -0500 |
User-agent: | Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
Mark D. Baushke wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Terrence Brannon <address@hidden> writes:
<SNIP>
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: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 --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 address@hidden for possible inclusion in the contrib directory.
[Prev in Thread] | Current Thread | [Next in Thread] |