From owner-freebsd-questions@FreeBSD.ORG Sat May 6 02:12:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E079816A403 for ; Sat, 6 May 2006 02:12:01 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoot.lafn.org (zoot.lafn.ORG [206.117.18.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 900CB43D48 for ; Sat, 6 May 2006 02:12:01 +0000 (GMT) (envelope-from bc979@lafn.org) Received: from [10.0.1.5] (pool-71-109-244-179.lsanca.dsl-w.verizon.net [71.109.244.179]) (authenticated bits=0) by zoot.lafn.org (8.13.4/8.13.4) with ESMTP id k462C0fO013848 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Fri, 5 May 2006 19:12:01 -0700 (PDT) (envelope-from bc979@lafn.org) Mime-Version: 1.0 (Apple Message framework v749.3) In-Reply-To: <20060505180442.GA32031@gothmog.pc> References: <3E569DDE-F1D2-46D4-B2CC-B5E2E10E4E2E@lafn.org> <20060505180442.GA32031@gothmog.pc> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <91F3ABDA-EC3D-4F18-A698-AE1B0DB49E65@lafn.org> Content-Transfer-Encoding: 7bit From: Doug Hardie Date: Fri, 5 May 2006 19:12:10 -0700 To: freebsd-questions X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: ClamAV 0.88/1445/Fri May 5 01:30:03 2006 on zoot.lafn.org X-Virus-Status: Clean Subject: Re: cvs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 May 2006 02:12:02 -0000 On May 5, 2006, at 11:04, Giorgos Keramidas wrote: > On 2006-05-05 10:45, Doug Hardie 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.