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: Todd Denniston
Subject: Re: How to know whether a symbolic name is a tag or a branch?
Date: Mon, 22 Oct 2007 09:46:24 -0500
User-agent: Thunderbird 2.0.0.6 (X11/20070728)

Rahul wrote, On 10/22/2007 06:24 AM:
Hi folks,

        When "cvs log" command is issued on one of the files of the
project it gives a list of symbolic names(Tags/branches) followed by
the version and description.
A sample output is :

[rahulm][~/assent/library/fnLib] cvs log miscFns.java | more

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
............................
................a long list
total revisions: 147;   selected revisions: 147
description:
----------------------------
revision 1.73
date: 2007/05/14 06:07:55;  author: amitw;  state: Exp;  lines: +2966
-46
Changes made for new prism.jar
----------------------------
revision 1.72
date: 2006/10/28 19:46:34;  author: sgumpula;  state: Exp;  lines: +55
-54
branches:  1.72.2;
Fix 1. Resotred the funcationality of getExitStmtsOfFn() to return a
set of ASTNodes instead of aset of ICFGnodes. It is leading to
ClassClastException in rule 83.vlg
----------------------------
........ a long list of versions



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

Regards
Rahul Mishra


If I read the manual[1][2][3]  right...
A) ASSENT_JAVA_3_2_PRISM_IPDC_AND_RITEAID is a normal tag.
B) all of the tags in your list above are normal tags, though some are _ON_ a branch. C) I could be wrong in B as ASSENT_SCALABILITY and ASSENT_PARAMETERISED, look like "Magic branch numbers"[4].


[1] references against a local copy of the normal CVS cederqvist manual from ftp.gnu.org[1], which was untared in /tmp/. http://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.21/cederqvist-1.11.21.html.tar.bz2
[2] file:///tmp/cederqvist-1.11.21.html/cvs_4.html#SEC45
[3] file:///tmp/cederqvist-1.11.21.html/cvs_5.html#SEC58
[4] file:///tmp/cederqvist-1.11.21.html/cvs_5.html#SEC59
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
http://www.crane.navy.mil/custfeedback




reply via email to

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