Hello, I found that a cvs import does not import all files it should. The only testcase if have is the mozilla source code.
I have a test script that creates a fresh local repo (see below). The following files are missing in the export (to be precise, there is no sign of these files in the cvs repo at all) diff filelist filelist-cvs 5391d5390 < ./extensions/tasks/resources/content/contents.rdf 5395d5393 < ./extensions/tasks/resources/locale/en-US/contents.rdf 18245d18242 < ./security/manager/.nss.checkout 19028d19024 < ./security/nss/lib/ckfw/builtins/certdata.c 19071,19073d19066 < ./security/nss/lib/ckfw/nssck.api < ./security/nss/lib/ckfw/nssckepv.h < ./security/nss/lib/ckfw/nssckft.h 19077d19069 < ./security/nss/lib/ckfw/nssckg.h 19496,19497d19487 < ./security/nss/lib/pki1/oiddata.c < ./security/nss/lib/pki1/oiddata.h 23798d23787 < ./xpinstall/packager/windows/.cvsignore 24281d24269 < ./xpinstall/wizard/windows/setuprsc/.cvsignore So far the bug has hit me on Debian (stable and unstable), can anyone reproduce this on other systems. Here is my script: <--- snip ---> ## ## cvstriggerimportbug ## show file loss during cvs import ## ## Lars Brueckner [EMAIL PROTECTED] ## set -v SRCARCH=mozilla-1.7.10-source.tar.gz URL=ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.10/source TESTDIR=/tmp/cvsimport CVSROOT=$TESTDIR/cvsroot test ! -d $TESTDIR && mkdir $TESTDIR cd $TESTDIR # download moz source test ! -e $SRCARCH && wget $URL/$SRCARCH # Remove files from previous run rm -fr $CVSROOT mozillacvs # Extracts moz source to mozilla/ test ! -d mozilla && tar -xzf $SRCARCH ## Mozilla source ships with CVS directorys ## wipe them find mozilla -type d -name CVS | xargs rm -rf {} # init cvs mkdir $CVSROOT cvs -d $CVSROOT init # import moz cd mozilla cvs -d $CVSROOT import -I ! -m "" mozillacvs ibranch starttag cd .. # export moz cvs -d $CVSROOT export -r HEAD mozillacvs # report files that are in mozilla but not mozillacvs cd mozilla find . -type f | sort > ../filelist cd .. cd mozillacvs find . -type f | sort > ../filelist-cvs cd .. diff filelist filelist-cvs <--- snap ---> I hope someone can track this down. Regards, Lars -- Lars Brückner [EMAIL PROTECTED] IT Transfer Office, Darmstadt University of Technology http://www.ito.tu-darmstadt.de _______________________________________________ Bug-cvs mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/bug-cvs
