* git-cvsimport broken?
@ 2006-03-02 22:47 H. Peter Anvin
2006-03-02 22:54 ` H. Peter Anvin
2006-03-02 22:56 ` Martin Langhoff
0 siblings, 2 replies; 3+ messages in thread
From: H. Peter Anvin @ 2006-03-02 22:47 UTC (permalink / raw)
To: git
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
After failing, the directory in question contains the output of
git-init-db, including a HEAD file which contains a symbolic reference
to a nonexistent branch (which makes sense, since there has been no
checkins yet.)
Have other people seen this problem?
-hpa
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-cvsimport broken?
2006-03-02 22:47 git-cvsimport broken? H. Peter Anvin
@ 2006-03-02 22:54 ` H. Peter Anvin
2006-03-02 22:56 ` Martin Langhoff
1 sibling, 0 replies; 3+ messages in thread
From: H. Peter Anvin @ 2006-03-02 22:54 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-cvsimport broken?
2006-03-02 22:47 git-cvsimport broken? H. Peter Anvin
2006-03-02 22:54 ` H. Peter Anvin
@ 2006-03-02 22:56 ` Martin Langhoff
1 sibling, 0 replies; 3+ messages in thread
From: Martin Langhoff @ 2006-03-02 22:56 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: git
On 3/3/06, H. Peter Anvin <hpa@zytor.com> wrote:
> Have other people seen this problem?
Been running imports recently (with a cvsimport not more that 3 days
old). No problem.
m
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-02 22:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-02 22:47 git-cvsimport broken? H. Peter Anvin
2006-03-02 22:54 ` H. Peter Anvin
2006-03-02 22:56 ` Martin Langhoff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).