Re: git-cvsimport broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



H. Peter Anvin wrote:
I have started consistently getting the following error trying to do a git-cvsimport into an empty directory:

+ git cvsimport -C /home/hpa/local/kernel-cvs-import -k -u -m -A /home/hpa/local/authors -d /home/hpa/local/cvsroot project/sw/kernel/linux-2.6 cp: cannot stat `/export/hpa/kernel-cvs-import/.git/refs/heads/origin': No such file or directory
fatal: master: not a valid SHA1
fatal: 'HEAD': No such file or directory
usage: git-read-tree (<sha> | -m [-u | -i] <sha1> [<sha2> [<sha3>]])
checkout failed: 256


Turns out to be user error (the CVS module is "projects", not "project"), but that probably indicates something that could use a better error message, in particular: if there are zero changesets.

	-hpa
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]