[Top][All Lists]

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

Re: keyword for branch-name?

From: Pierre Asselin
Subject: Re: keyword for branch-name?
Date: 23 Sep 2001 11:08:23 -0500

"Voigt, Ulrich" <address@hidden> writes:

>Is there a keyword for the branch-name of the currently checked out file? I
>want to use it in a version file, in which I have to print the branch name.

The closest thing is $Name$, but

    1)  It expands only release tags, not branch tags.
    2)  The expansion occurs on checkout -rTAG or export -rTAG,
        but not on update -rTAG.

This is from memory, I may be wrong.  If you need the branch
information, you'll need to extract it in a build script using cvs
status.  And that will only work from a checked-out sandbox, not an
exported tree.

Pierre Asselin
Westminster, Colorado

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

reply via email to

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