Subject: git cvsimport omits some CVS patches (reproducible test case)

From: "Richard W.M. Jones" <[email-masked]>
Date: Sat, 17 Feb 2007 13:45:59 +0000

$ cvs -d :pserver:[email-masked]:2401/data/cvs login
Logging in to :pserver:[email-masked]:2401/data/cvs
CVS password: <--- type 'anoncvs' here w/o the quotes
$ cvs -d :pserver:[email-masked]:2401/data/cvs co libvirt
U libvirt/.cvsignore
U libvirt/AUTHORS
[snip long list of files]

$ cd libvirt
$ git cvsimport
connect error: Network is unreachable <--- I always get this message, 
it's not clear why
cvs rlog: Logging libvirt
[snip directories]
cvs rlog: Logging libvirt/tests/xml2sexprdata
Committing initial tree 1a42de1f86b37e565f701b257c9c3c8f654e9d32
Generating pack...
Done counting 4461 objects.
Deltifying 4461 objects.
  100% (4461/4461) done
Writing 4461 objects.
  100% (4461/4461) done
Total 4461, written 4461 (delta 3514), reused 0 (delta 0)
Pack pack-d708c2953b399a0538292855574f00181e660b48 created.
$ ls
AUTHORS       configure.in  include          Makefile.am  python   src
autobuild.sh  COPYING.LIB   libvirt.pc.in    NEWS         qemud    tests
autogen.sh    CVS           libvirt.spec.in  po           README   TODO
ChangeLog     docs          m4               proxy        scripts  virsh.1
$ git status
# Changed but not updated:
#   (use git-update-index to mark for commit)
#
#       modified:   src/hash.c
#       modified:   src/internal.h
# Untracked files:
#   (use "git add" to add to commit)
#
#       CVS/
#       docs/CVS/
[...]
nothing to commit

Subsequent examination with git-diff of the two "modified" files 
(src/hash.c and src/internal.h) shows that they contain patches from CVS 
which for some reason haven't been imported by the cvsimport step.

Rich.

cvsps version 2.1
git version 1.4.4.2
(Both compiled in FC6 on x86-64).

-- 
Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421
  "[Negative numbers] darken the very whole doctrines of the equations
  and make dark of the things which are in their nature excessively
  obvious and simple" (Francis Maseres FRS, mathematician, 1759)