info-cvs
[Top][All Lists]
Advanced

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

Re: $Name$ Keyword does not expand


From: David D. Hagood
Subject: Re: $Name$ Keyword does not expand
Date: Wed, 25 Apr 2001 08:17:00 -0500
User-agent: Mozilla/5.0 (X11; U; Linux 2.4.0 i686; en-US; rv:0.8.1+) Gecko/20010423

Markus Grunwald wrote:

Hi there !

I would like to use the $Name$ Keyword in my java source. To do this, I added the line:

public final static String cvsRelease = new String("$Name$");

to my source. Then, I tagged it "prerelease-1_0". To get the substitution, I executed

cvs -d ":pserver:address@hidden:/usr/local/cvsroot" checkout -r prerelease-1_0 UserAccount

but the line just expanded to

public final static String cvsRelease = new String("$Name:  $");

I thought, there should stand "$Name: prerelease-1_0$" ??? Other tags ($id$...) work just fine.

The log says, the tag is there:



Is prerelease-1_0 a branch or a leaf? If is is a branch, then it won't get expanded (I've complained about this behavior before in this discussion, look for my previous posts).




reply via email to

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