info-cvs
[Top][All Lists]
Advanced

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

RE: $Name$


From: 鯉江英隆
Subject: RE: $Name$
Date: Tue, 3 Oct 2000 19:05:46 +0900

From: John Carter <address@hidden>
Subject: $Name$
Date: Tue, 3 Oct 2000 18:52:16 +0900

  | I want to add a -version type option that says which branch the program
  | was built out of. So I did this...

  | But when I 
  | cvs co -r 'BLAH'
  | 
  | $Name$ merely translates obdurately to 
  | $Name: $
  | 
  | What am I doing wrong?

A revision tag is expanded, but a branch tag is not.

According to the info:
>`$Name$'
>     Tag name used to check out this file.  The keyword is expanded
>     only if one checks out with an explicit tag name.  For example,
>     when running the command `cvs co -r first', the keyword expands to
>     `Name: first'.

"an explicit tag name" means a revision tag.

--
KOIE Hidetaka <address@hidden>



reply via email to

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