[Top][All Lists]

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

Re: tag list

From: Eric Siegerman
Subject: Re: tag list
Date: Mon, 27 May 2002 14:14:02 -0400
User-agent: Mutt/1.2.5i

On Fri, May 24, 2002 at 10:32:36PM -0700, Quick Solutions wrote:
> "cvs rlog" doesn't distinguish tags from branch. They both are referred
> as symbolic names. I'd use "cvs status -v" for this purpose.

Branch numbers, as reported by "cvs status -v", have an odd
number of components.  Branch *tags*, as reported by "cvs log",
have an even number of components, but the second-last component
is zero, e.g. ""; this never happens for revision tags.

If, for a given tag, "cvs status -v" reports "branch: A.B.C.D.E",
"cvs log" will report "A.B.C.D.0.E".

The one exception is the vendor branch, which is reported by "cvs
log" as "1.1.1".

So you can distinguish branches from revisions in both "log" and
"status" output; you just have to use different rules.


|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
Anyone who swims with the current will reach the big music steamship;
whoever swims against the current will perhaps reach the source.
        - Paul Schneider-Esleben

reply via email to

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