{"thread":{"id":"3529","subject":"git-cvsimport broken?","startedAt":"2006-03-02T22:47:23Z","lastAt":"2006-03-02T22:56:24Z","messageCount":3,"participants":["H. Peter Anvin","Martin Langhoff"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"17079","messageId":"440775FB.4000300@zytor.com","threadId":"3529","inReplyTo":null,"subject":"git-cvsimport broken?","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2006-03-02T22:47:23Z","receivedAt":"2006-03-02T22:47:23Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"I have started consistently getting the following error trying to do a \ngit-cvsimport into an empty directory:\n\n+ git cvsimport -C /home/hpa/local/kernel-cvs-import -k -u -m -A \n/home/hpa/local/authors -d /home/hpa/local/cvsroot \nproject/sw/kernel/linux-2.6\ncp: cannot stat `/export/hpa/kernel-cvs-import/.git/refs/heads/origin': \nNo such file or directory\nfatal: master: not a valid SHA1\nfatal: 'HEAD': No such file or directory\nusage: git-read-tree (<sha> | -m [-u | -i] <sha1> [<sha2> [<sha3>]])\ncheckout failed: 256\n\nAfter failing, the directory in question contains the output of \ngit-init-db, including a HEAD file which contains a symbolic reference \nto a nonexistent branch (which makes sense, since there has been no \ncheckins yet.)\n\nHave other people seen this problem?\n\n\t-hpa\n"},{"id":"17080","messageId":"440777B1.5030807@zytor.com","threadId":"3529","inReplyTo":"440775FB.4000300@zytor.com","subject":"Re: git-cvsimport broken?","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2006-03-02T22:54:41Z","receivedAt":"2006-03-02T22:54:41Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"H. Peter Anvin wrote:\n> I have started consistently getting the following error trying to do a \n> git-cvsimport into an empty directory:\n> \n> + git cvsimport -C /home/hpa/local/kernel-cvs-import -k -u -m -A \n> /home/hpa/local/authors -d /home/hpa/local/cvsroot \n> project/sw/kernel/linux-2.6\n> cp: cannot stat `/export/hpa/kernel-cvs-import/.git/refs/heads/origin': \n> No such file or directory\n> fatal: master: not a valid SHA1\n> fatal: 'HEAD': No such file or directory\n> usage: git-read-tree (<sha> | -m [-u | -i] <sha1> [<sha2> [<sha3>]])\n> checkout failed: 256\n> \n\nTurns out to be user error (the CVS module is \"projects\", not \n\"project\"), but that probably indicates something that could use a \nbetter error message, in particular: if there are zero changesets.\n\n\t-hpa\n"},{"id":"17081","messageId":"46a038f90603021456h153b85pb980088fae5d598@mail.gmail.com","threadId":"3529","inReplyTo":"440775FB.4000300@zytor.com","subject":"Re: git-cvsimport broken?","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2006-03-02T22:56:24Z","receivedAt":"2006-03-02T22:56:24Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"On 3/3/06, H. Peter Anvin <hpa@zytor.com> wrote:\n> Have other people seen this problem?\n\nBeen running imports recently (with a cvsimport not more that 3 days\nold). No problem.\n\n\nm\n"}]}