Package: cvs
Version: 1:1.12.9-13
Severity: critical

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

The bug exists on sarge and sid, both
with local and remote repositories.

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

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (333, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.10-xen0
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages cvs depends on:
ii  debconf                     1.4.51       Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libpam-runtime              0.76-22      Runtime support for the PAM librar
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  zlib1g                      1:1.2.2-4    compression library - runtime

Versions of packages cvs recommends:
ii  emacs21 [info-browser]        21.4a-1    The GNU Emacs editor
ii  info [info-browser]           4.7-2.2    Standalone GNU Info documentation 
ii  konqueror [info-browser]      4:3.3.2-1  KDE's advanced File Manager, Web B
ii  netbase                       4.21       Basic TCP/IP networking system
ii  xemacs21-mule [info-browser]  21.4.17-2  highly customizable text editor --

-- debconf information:
  cvs/rotatekeep: 7
* cvs/badrepositories: create
  cvs/pserver_warning:
  cvs/rotatekeep_nondefault: no
  cvs/rotate_individual: true
  cvs/pserver_repos_individual: true
* cvs/pserver_setspawnlimit: false
  cvs/rotatekeep_individual: 7
* cvs/pserver_repos: all
* cvs/pserver: true
  cvs/cvs_conf_is_dead:
* cvs/pserver/_var_lib_cvs: true
* cvs/repositories: /var/lib/cvs
  cvs/pserver_spawnlimit: 400
* cvs/rotatehistory: no


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to