Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2001 02:51:35 -0500
From:      Will Andrews <will@physics.purdue.edu>
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>
In-Reply-To: <20010525103913.H31416@sunbay.com>; from ru@FreeBSD.org on Fri, May 25, 2001 at 10:39:13AM %2B0300
References:  <200105241932.f4OJWAR51539@freefall.freebsd.org> <20010525095110.E31416@sunbay.com> <20010525023459.E7406@casimir.physics.purdue.edu> <20010525103913.H31416@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <stdio.h>
/* $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 <stdio.h>
/* $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 <stdio.h>
/* $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 <stdio.h>
/* $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 <stdio.h>
/* $FreeBSD$ */
int
main (void) {
	printf("Hello world!\n");
	return 0;
}
----
[ but if you'd left out -kk: ]
----
#include <stdio.h>
/* $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




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