Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2004 13:13:45 +0200 (CEST)
From:      Jeroen Ruigrok van der Werven <asmodai@dragonflybsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/71098: CVS keywords are not expanded with CVS 1.12.x
Message-ID:  <20040829111345.C3A1FF17@purgatory.homeunix.net>
Resent-Message-ID: <200408291120.i7TBKRi8060286@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040829111345.C3A1FF17>