public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor•com>
To: "H. Peter Anvin" <hpa@zytor•com>
Cc: git@vger•kernel.org
Subject: Re: git-cvsimport broken?
Date: Thu, 02 Mar 2006 14:54:41 -0800	[thread overview]
Message-ID: <440777B1.5030807@zytor.com> (raw)
In-Reply-To: <440775FB.4000300@zytor.com>

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

  reply	other threads:[~2006-03-02 22:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 22:47 git-cvsimport broken? H. Peter Anvin
2006-03-02 22:54 ` H. Peter Anvin [this message]
2006-03-02 22:56 ` Martin Langhoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=440777B1.5030807@zytor.com \
    --to=hpa@zytor$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox