misc/71098: CVS keywords are not expanded with CVS 1.12.x
Jeroen Ruigrok van der Werven
asmodai at dragonflybsd.org
Sun Aug 29 04:20:27 PDT 2004
>Number: 71098
>Category: misc
>Synopsis: CVS keywords are not expanded with CVS 1.12.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 29 11:20:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Jeroen Ruigrok van der Werven
>Release: N/A
>Organization:
DragonFly
>Environment:
N/A
>Description:
With CVS 1.12.x the keyword expansion is natively being taken care of in
'config' and not in 'options' (which is a local hack in cvs' main.c, r1.5).
>How-To-Repeat:
Take a stock cvs 1.12.x and checkout from a FreeBSD repository. The keywords
will not get expanded.
>Fix:
Apply following patch, it does not interfere with 1.11.x and allows 1.12.x
to work as it should.
Index: CVSROOT/config
===================================================================
RCS file: /home/ncvs/FreeBSD/CVSROOT/config,v
retrieving revision 1.1
diff -u -r1.1 config
--- CVSROOT/config 27 Feb 2003 19:35:24 -0000 1.1
+++ CVSROOT/config 29 Aug 2004 11:03:40 -0000
@@ -19,3 +19,8 @@
# repositories. Set it to `never' (the previous CVS behavior) to prevent
# verifymsg scripts from changing the log message.
#RereadLogAfterVerify=always
+
+# Add the "FreeBSD" keyword and restrict keyword expansion
+LocalKeyword=FreeBSD=CVSHeader
+KeywordExpand=iFreeBSD
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list