info-cvs
[Top][All Lists]
Advanced

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

Re: How to know whether a symbolic name is a tag or a branch?


From: Larry Jones
Subject: Re: How to know whether a symbolic name is a tag or a branch?
Date: Mon, 22 Oct 2007 11:34:35 -0400 (EDT)

Rahul writes:
> 
> RCS file: /cvsrepos/assent/library/fnLib/miscFns.java,v
> Working file: miscFns.java
> head: 1.73
> branch:
> locks: strict
> access list:
> symbolic names:
>         ASSENT_JAVA_3_2_PRISM_IPDC_AND_RITEAID: 1.73
>         ASSENT_MISRAC_II_3_1: 1.72.2.74
>         ASSENT_MISRAC_II_3_0: 1.72.2.64
>         ASSENT_MISRA_C_2_7: 1.72.2.6
>         ASSENT_2_65_1: 1.72
>         ASSENT_SCALABILITY: 1.72.0.2
>         ASSENT_2_6_5: 1.72
>         ASSENT_PARAMETERISED: 1.70.0.4
[...]
> So, my query is how do we know whether a symbolic name for example,
> "        ASSENT_JAVA_3_2_PRISM_IPDC_AND_RITEAID" is a tag or a branch

For CVS branch tags, the next to last component is 0 as in
ASSENT_SCALABILITY and ASSENT_PARAMETERISED.  If you had any RCS branch
tags, they would have an odd number of components (e.g., 1.70.4). 
Anything else is a regular revision tag.

-Larry Jones

OK, what's the NEXT amendment say?  I know it's in here someplace. -- Calvin




reply via email to

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