Re: matching a tag to a branch

Jim Perrier <[email protected]> Fri, 2 Mar 2012 07:37:00 -0500
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Here is a sample of what's returned. I've cut out many of the entries 
between "revisions with a zero as the second last character". The tag 
was actually applied against DSC_5_0_R1.

cvs log -hr:DSC_5_0_I112 | more
cvs log: Logging tpapps

RCS file: /swdev/tagcvs/tpapps/.IBUILD,v
Working file: tpapps/.IBUILD
head: 1.771
branch:
locks: strict
access list:
symbolic names:
         DSC_4_0_I834: 1.649.2.68
         DSC50LINUX: 1.739.0.2
         DSC_5_0_I80: 1.739
         DSC_4_0_I717: 1.649.2.33.2.9
         DSC50SANDBOX: 1.699.0.2
         DSC_5_0_I40: 1.699
         DSC_4_0_I800: 1.649.2.34
         DSC40R3: 1.649.2.33.0.2
         DSC_5_0_I36: 1.695
         DSC_4_0_R1-00: 1.623.2.17.2.1
         DSC40R1: 1.623.2.17.0.2
         DSC_4_0_I666: 1.640
etc...

On 3/2/2012 7:09 AM, Arthur Barrett wrote:
> Jim,
>
> If you use the command I sent, you should just see the branch(es) that
> tag is on.
>
> Regards,
>
>
> Arthur
>
>
>> -----Original Message-----
>> From:
>> [email protected]
>> [mailto:info-cvs-bounces+arthur.barrett=march-hare.com@nongnu.
>> org] On Behalf Of Jim Perrier
>> Sent: Thursday, 1 March 2012 12:11 AM
>> To: cvs-user-list
>> Subject: Re: matching a tag to a branch
>>
>>
>> Sorry about the direct reply. You're right about the zero as
>> the second
>> character. The only problem is that it returns all the branches, not
>> just the one ABC_1_0_I333 was created on. My search for the correct
>> wheel continues.
>>
>> \Jim
>>
>>
>>
>> On 2/22/2012 7:29 PM, Arthur Barrett wrote:
>>> Hi Jim,
>>> Please send questions to the group, not direct to me.
>>> My idea was not so much to use a GUI tool, as in use the
>> code that the
>>> GUI tool uses.  The point of open source software is to
>> reuse the code...
>>> I tested this on CVSNT 2.8:
>>> cvs log -hr:ABC_1_0_I333
>>> If you search the output for revisions with a zero as the
>> second last
>>> character, you'll get the branches that ABC_1_0_I333 is on.
>>> Regards,
>>> Arthur