[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get Branchlabels and Versionlabels out of a Revision

From: Todd Denniston
Subject: Re: How to get Branchlabels and Versionlabels out of a Revision
Date: Wed, 04 Mar 2009 08:42:21 -0500
User-agent: Thunderbird (X11/20081209)

Knuplesch, Juergen wrote, On 03/03/2009 03:06 AM:

I have a CVS-File and a CVS revision number and want to know the branches this 
Revision is in. (for release purposes)

e.g. MYPROJECT/de/ggt/ and the revision

Lets say is branched at 1.2 into BranchLabel1 and into BranchLabel2.
I want to know all the names of the branchlabels is in.
Additionaly I want to know the versionlabels is tagged with.

I used the log command and the Netbeans Api, but it did not give me the names 
of the labels.

When I look into Eclipse DIE it shows me all revisions and the names of the 
How does this work?

I don't think it will give you everything you are looking for, at least not the way you are looking for it, but cvs2cl may get you part of the way there.

If you run it as
`cvs2cl -r -t --branches`
I think it will get you close to what you want.

if you run it as
`cvs2cl -r -t --branches --xml`
you get an xml file that might be easier for you to further parse with your scripts.

Note: if you are on windows, I believe CVSNT comes with a that does pretty nearly the same thing.

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

reply via email to

[Prev in Thread] Current Thread [Next in Thread]