Date: Mon, 15 Sep 2008 16:31:16 +0200 From: Polytropon <freebsd@edvax.de> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: FreeBSD CVS tag Message-ID: <20080915163116.b46f2b2a.freebsd@edvax.de>
next in thread | raw e-mail | index | archive | help
Hi! I may ask a strange question: Examining the FreeBSD source code, I noticed very early that the CVS entry is a bit different from what I knew from my own work; here: $Id$ contains the file name only $Header$ contains the file name within the CVS hierarchy, but there, $FreeBSD$ contains the file name with a sub-path. Furthermore, $FreeBSD$ seems to be a kind of "custom tag". Examples, what I know, full path or no path: $Header: /home/poly/cvs/src/inet/uni/index.html,v 1.7 2002/11/21 16:31:39 poly Exp $ $Id: stap.c,v 0.1 2003/10/03 12:28:13 poly Exp $"; Examples, custom tag and sub-path: $Xorg: Xresources,v 1.3 2000/08/17 19:54:17 cpqbld Exp $ ^^^^ $FreeBSD: src/include/stdlib.h,v 1.65 2007/07/04 00:00:38 scf Exp $ ^^^^^^^^^^^^ My questions: 1. How is it possible to include a sub-path in the CVS file field, but not the absolute path of the file? 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 $ Is it possible with simple means? Or do I need a custom version of CVS for this? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080915163116.b46f2b2a.freebsd>