From owner-freebsd-questions@FreeBSD.ORG Wed Sep 17 04:54:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54F6B106566C for ; Wed, 17 Sep 2008 04:54:03 +0000 (UTC) (envelope-from raghu@mri.ernet.in) Received: from hrimail.hri.res.in (hrimail.hri.res.in [210.212.50.7]) by mx1.freebsd.org (Postfix) with ESMTP id 85E458FC0A for ; Wed, 17 Sep 2008 04:54:02 +0000 (UTC) (envelope-from raghu@mri.ernet.in) Received: from ipc2.mri.ernet.in (unknown [192.168.3.2]) by hrimail.hri.res.in (Postfix) with ESMTP id 1AF98980A1; Wed, 17 Sep 2008 10:32:16 +0530 (IST) Received: from ipc2 (localhost [127.0.0.1]) by ipc2 (Postfix) with SMTP id 5C6221DC9A; Wed, 17 Sep 2008 10:23:57 +0530 (IST) Received: from riemann.mri.ernet.in (riemann.mri.ernet.in [192.168.3.122]) by ipc2.mri.ernet.in (Postfix) with ESMTP id 3A0601D5EA; Wed, 17 Sep 2008 10:23:57 +0530 (IST) Received: from riemann.mri.ernet.in (localhost [127.0.0.1]) by riemann.mri.ernet.in (8.13.6/8.13.6) with ESMTP id m8H4kwZE083619; Wed, 17 Sep 2008 10:16:58 +0530 (IST) (envelope-from raghu@riemann.mri.ernet.in) Received: (from raghu@localhost) by riemann.mri.ernet.in (8.13.6/8.13.6/Submit) id m8H4krlf083618; Wed, 17 Sep 2008 10:16:53 +0530 (IST) (envelope-from raghu) From: "N. Raghavendra" To: Polytropon In-Reply-To: <20080915163116.b46f2b2a.freebsd@edvax.de> (Polytropon's message of "Mon, 15 Sep 2008 16:31:16 +0200") References: <20080915163116.b46f2b2a.freebsd@edvax.de> X-Organization: Harish-Chandra Research Institute (HRI) X-Address: Chhatnag Road, Jhusi, Allahabad 211 019, India X-URL: http://www.mri.ernet.in/ and http://www.retrotexts.net/ X-Phone: +91 (532) 2667 509, 2667 318, 2667 578, 2567 746, 2567 747 X-Fax: +91 (532) 2667 576, 2567 748, 2567 444, 2568 036 X-OpenPGP-Key-ID: 0x03618806 X-OpenPGP-Key-Fingerprint: C75D D0AF 457E 7454 BEC2 37AD C6E1 0407 0361 8806 X-OpenPGP-Public-Key-Available-At: http://www.keyserver.net/ Date: Wed, 17 Sep 2008 10:16:53 +0530 Message-ID: <86zlm7js5e.fsf@riemann.mri.ernet.in> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "freebsd-questions@freebsd.org" Subject: Re: FreeBSD CVS tag X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "N. Raghavendra" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 04:54:03 -0000 At 2008-09-15T16:31:16+02:00, Polytropon wrote: > 1. How is it possible to include a sub-path in the CVS file field, but > not the absolute path of the file? Use the `CVSHeader' keyword instead of `Header'. The CVSHeader keyword expands to the relative path of the file in the CVS repository. See the CVS manual at http://cvsman.com/cvs-1.12.12/cvs_100.php > 2. How is it possible to change $Id$ or $Header$ to a custom string, > let's say the name of a company or a project, by not breaking (!) > the CVS compatibility (no s/Header/Foobar/). > > Example for goal: > > $StupidProject: src/mouse/beep.pl,v 1.2.4 2008/16/32 04:08:16 bob Exp $ CVS checkout `CVSROOT'. Create a file called `options' in the working copy of CVSROOT with the following contents: tag=StupidProject=CVSHeader tagexpand=iStupidProject CVS add and commit `options'. Now, only the `StupidProject' keyword will be expanded, leaving other keywords unexpanded. See: http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/CVSROOT/options http://dotat.at/writing/cvs-guidelines.html Raghu. -- N. Raghavendra | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information.