From owner-freebsd-questions@FreeBSD.ORG Mon Sep 15 14:31:19 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 A77DE1065673 for ; Mon, 15 Sep 2008 14:31:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 42DCC8FC0C for ; Mon, 15 Sep 2008 14:31:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-50-131.dynamic.qsc.de [92.195.50.131]) by mx01.qsc.de (Postfix) with ESMTP id 63DF7518DC for ; Mon, 15 Sep 2008 16:31:16 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m8FEVGKp001781 for ; Mon, 15 Sep 2008 16:31:16 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 15 Sep 2008 16:31:16 +0200 From: Polytropon To: "freebsd-questions@freebsd.org" Message-Id: <20080915163116.b46f2b2a.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: FreeBSD CVS tag X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 14:31:19 -0000 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, ...