From: John Carter <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs
  • $Name$ John Carter
    • 鯉江英隆

Reply via email to