Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 1999 02:14:13 -0600
From:      "Matthew D. Fuller" <fullermd@futuresouth.com>
To:        James Howard <howardjp@wam.umd.edu>
Cc:        chat@FreeBSD.ORG
Subject:   Re: $Id$ -> $FreeBSD$ ... How?
Message-ID:  <19991209021412.A24546@futuresouth.com>
In-Reply-To: <Pine.OSF.3.95q.991208235547.3582A-100000@morse.umd.edu>
References:  <Pine.OSF.3.95q.991208235547.3582A-100000@morse.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Jamie,

> Having been playing with CVS for the past few days, I would like to know
> how to use my own "$Jamie$" so I do not clobber anyone else's $Id$ tags.
> This came up on the OpenBSD list today, but as usual, they were less than
> helpful and turned it into a pissing match.  I am hoping someone around
> here can explain it.  

See the file CVSROOT/options.
It allows you to substitute one tag for another.  So you'd want something
like:
tag=Jamie=Id
to substitute $Jamie$ for $Id$, or
tag=Jamie=CVSHeader
to substitute $Jamie$ for $CVSHeader$ (which gives path in the
repository, not just filename)

Note that CVS will *NOT* support using more than 1 tag.  I have patches
that hack around it to allow 3, but they're ugly and just perpetuate the
actual problem.  It's easy to extend the technique to an arbitrary number
of tag substitutions, but it's ugly.  I haven't had time to create a
*REAL* solution to it.


Matt


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




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