Date: Fri, 5 May 2006 19:12:10 -0700 From: Doug Hardie <bc979@lafn.org> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: cvs Message-ID: <91F3ABDA-EC3D-4F18-A698-AE1B0DB49E65@lafn.org> In-Reply-To: <20060505180442.GA32031@gothmog.pc> References: <3E569DDE-F1D2-46D4-B2CC-B5E2E10E4E2E@lafn.org> <20060505180442.GA32031@gothmog.pc>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 5, 2006, at 11:04, Giorgos Keramidas wrote: > On 2006-05-05 10:45, Doug Hardie <bc979@lafn.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91F3ABDA-EC3D-4F18-A698-AE1B0DB49E65>