From: Jakub Narebski <jnareb@gmail.com>
To: "Ed S. Peschko" <esp5@pge.com>
Cc: git@vger.kernel.org
Subject: Re: problems with importing from cvs archive
Date: Sun, 02 Dec 2007 01:39:02 -0800 (PST) [thread overview]
Message-ID: <m3lk8dwi4x.fsf@roke.D-201> (raw)
In-Reply-To: <20071202064613.GB25351@venus>
"Ed S. Peschko" <esp5@pge.com> writes:
> I'm trying to use git-cvsimport to import from a CVS archive, using:
>
> git-cvsimport -d $CVSROOT
>
> and am getting the following error:
>
> fatal: refs/heads/origin: not a valid SHA1
> fatal: master: not a valid SHA1
> warning: You appear to be on a branch yet to be born
> warning: Forcing checkout of HEAD
> fatal: just how do you expect me to merge 0 trees?
> checkout failed: 256
[...]
> Or is this just a plain vanilla bug?
I guess that you might have been bitten by (just corrected, but not in
any released version yet) the bug in git-cvsimport (which is quite
old, and not very well maintained) when branches are packed.
You can either try last patch to cvsimport (it is in 'master'),
or unpack refs using "git reset --soft HEAD" when on given packed
branch,
--
Jakub Narebski
next prev parent reply other threads:[~2007-12-02 9:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-02 6:46 problems with importing from cvs archive Ed S. Peschko
2007-12-02 9:39 ` Jakub Narebski [this message]
2007-12-02 15:14 ` Jean-François Veillette
2007-12-02 17:07 ` Jeff King
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=m3lk8dwi4x.fsf@roke.D-201 \
--to=jnareb@gmail.com \
--cc=esp5@pge.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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