Date: Sun, 5 Apr 1998 22:01:27 -0500 (CDT) From: "Mark W. Krentel" <krentel@cs.rice.edu> To: freebsd-stable@FreeBSD.ORG Subject: cvs checkout Message-ID: <199804060301.WAA29398@cs.rice.edu>
next in thread | raw e-mail | index | archive | help
I'm trying to update my sources on the 2.2 branch with cvs checkout (and keeping a local copy of the CVS repository) instead of using cvsup. But it seems that the "-D date" option conflicts with "-r tag" on cvs checkout. For example, I'm running 2.2.5-RELEASE (and cvs 1.9.10) from the cdrom, and I copied CVS-Repository from disk #3 to my hard disk. As a test, I checked out two complete copies of src with: cvs co -P -r RELENG_2_2_5_RELEASE src cvs co -P -r RELENG_2_2 src and compared them with diff -r -q -x CVS. All the CVS/Tags files differ, of course, but otherwise diff reports that the two src trees are identical. So far so good. But then I checked out a third copy of src with: cvs co -P -r RELENG_2_2 -D 1997-10-30 src Remember that the 2.2.5 CD's were frozen on Oct 20, 1997, so my copy of the repository (still from the CD, not yet updated) has no changes past Oct 20. But now diff reports that this third copy is missing 177 files. Here are the first four: Only in 2.2-src/contrib/opie: config.h Only in 2.2-src/etc: protocols Only in 2.2-src/etc: shells Only in 2.2-src/games/hack: hack.version.c Looking at the rcs ,v files, it seems that the missing files all have a 0 in the version number for RELENG_2_2. For example, src/etc/shells,v specifies RELENG_2_2 as 1.1.0.10. This means that the file has not changed on this branch since the RELENG_2_2 branch was created, right? Basically, I want to keep a local copy of the repository and be able to check out the 2.2 branch on any given date. My questions: (1) Is this a bug in cvs, or did I just use the wrong options? (2) Can cvs check out an entire branch on a given (past) date? What are the options for doing this? (3) As I recall, cvsup handles this correctly, right? That is, I can ask for a given branch on a given date with cvsup? As a workaround, I could install cvsupd and then use cvsup instead of cvs. Thanks, Mark Krentel krentel@rice.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804060301.WAA29398>