On May 5, 2006, at 11:04, Giorgos Keramidas wrote:

On 2006-05-05 10:45, Doug Hardie <[EMAIL PROTECTED]> wrote:
I have been building a cvs structure for a bunch of code and have
a couple questions I have not been able to find answers to in the
archives/documentation.  When you run ident on many FreeBSD modules
you see the identifier "FreeBSD" used frequently.  It appears that
cvs is properly updating the information in those entries, but I
don't see how cvs is configured to make that happen.  FreeBSD is not
one of the cvs recognized keywords.  I would like to use a unique
keyword for my stuff. ident finds it fine in the files, but cvs does
not update the version information.  I suspect that somehow I need
to tell cvs about the keyword.

See this article for details of the FreeBSD CVS setup:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/cvs-freebsd/

Part of this explains how our `cfg_local.pm' works and you can use a
similar trick for any custom $FreeBSD$-like keyword you want.

Thanks.  I did figure it out.  For anyone else who wants the simple way:

To have XXX and Id work as a keywords edit the config file in CVSROOT in the repository. Add the following two lines:

tag=XXX=CVSHeader
tagexpand=iXXX,Id

Only the XXX and Id keywords will then expand.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to