info-cvs
[Top][All Lists]
Advanced

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

$Name$ Keyword does not expand


From: Markus Grunwald
Subject: $Name$ Keyword does not expand
Date: Wed, 25 Apr 2001 09:57:52 +0200

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:

address@hidden: > cvs -d  ":pserver:address@hidden:/usr/local/cvsroot" 
log UserAccount/src/com/somewhere/frames/AboutBox.java 

RCS file: 
/usr/local/cvsroot/UserAccount/src/com/somewhere/frames/AboutBox.java,v
Working file: UserAccount/src/com/somewhere/frames/AboutBox.java
head: 1.4
branch:
locks: strict
access list:
symbolic names:
        prerelease-1_0: 1.4
keyword substitution: kv
total revisions: 4;     selected revisions: 4
description:

I dont' know what to do. I had the same problem at home and ignored it after 
a while, but here at work it is urgent...

Many thanks in advance,
-- 
Markus Grunwald

Registered Linux User Nr 101577      PGP Key:
http://counter.li.org                http://www.grunwald.2xs.de



reply via email to

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