From owner-cvs-all Fri May 25 0:52: 6 2001 Delivered-To: cvs-all@freebsd.org Received: from casimir.physics.purdue.edu (casimir.physics.purdue.edu [128.210.146.111]) by hub.freebsd.org (Postfix) with ESMTP id E597437B422; Fri, 25 May 2001 00:51:57 -0700 (PDT) (envelope-from will@physics.purdue.edu) Received: by casimir.physics.purdue.edu (Postfix, from userid 1000) id BDBE417D0C; Fri, 25 May 2001 02:51:35 -0500 (EST) Date: Fri, 25 May 2001 02:51:35 -0500 From: Will Andrews To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include stddef.h Message-ID: <20010525025135.F7406@casimir.physics.purdue.edu> Reply-To: Will Andrews Mail-Followup-To: Will Andrews , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200105241932.f4OJWAR51539@freefall.freebsd.org> <20010525095110.E31416@sunbay.com> <20010525023459.E7406@casimir.physics.purdue.edu> <20010525103913.H31416@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010525103913.H31416@sunbay.com>; from ru@FreeBSD.org on Fri, May 25, 2001 at 10:39:13AM +0300 X-Operating-System: Linux 2.2.18 sparc64 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, May 25, 2001 at 10:39:13AM +0300, Ruslan Ermilov wrote: > > Not necessarily. Only when the previous commit that was made was made > > w/o the rcsid expanded. I've made several "+0 -0" commits before. :-) > > > If you meant checkout, that makes sense. Thanks! No. I mean commit. You are perfectly capable of editing the rcsid and changing "$FreeBSD$" to something else. Observe: src/blah/foo.c, rev 1.1: ---- #include /* $FreeBSD$ */ int main(void) { printf("Hello world!\n"); } ---- cvs add foo.c && cvs commit foo.c cd $SOMEOTHERDIR && cvs co src/blah vi src/blah/foo.c: ---- #include /* $FreeBSD: src/blah/foo.c,v 1.1 2001/05/25 02:45:07 will Exp $ */ int main(void) { printf("Hello world!\n"); return 0; } ---- cvs commit foo.c [ cvs puts the rcsid as it appears for 1.1 in rev 1.2 ] rm foo.c && cvs up foo.c ---- cd $SOMEOTHERDIR2 && cvs co -kk src/blah [ now file looks like this: ] ---- #include /* $FreeBSD: src/blah/foo.c,v 1.1 2001/05/25 02:45:07 will Exp $ */ int main(void) { printf("Hello world!\n"); return 0; } ---- vi foo.c: ---- #include /* $FreeBSD$ */ int main (void) { printf("Hello world!\n"); return 0; } ---- cvs commit cd $SOMEOTHERDIR3 && cvs co -kk src/blah [ now file looks like this: ] ---- #include /* $FreeBSD$ */ int main (void) { printf("Hello world!\n"); return 0; } ---- [ but if you'd left out -kk: ] ---- #include /* $FreeBSD: src/blah/foo.c,v 1.2 2001/05/25 02:46:17 will Exp $ */ int main (void) { printf("Hello world!\n"); return 0; } ---- HTH, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message