* problems with importing from cvs archive
@ 2007-12-02 6:46 Ed S. Peschko
2007-12-02 9:39 ` Jakub Narebski
2007-12-02 15:14 ` Jean-François Veillette
0 siblings, 2 replies; 4+ messages in thread
From: Ed S. Peschko @ 2007-12-02 6:46 UTC (permalink / raw)
To: git
All,
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
Is git-cvsimport meant to be universal - ie: work on any given CVS worktree - or do
you need to prep the CVS worktree in any way in order for it to be used?
Or is this just a plain vanilla bug?
Thanks,
Ed
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: problems with importing from cvs archive
2007-12-02 6:46 problems with importing from cvs archive Ed S. Peschko
@ 2007-12-02 9:39 ` Jakub Narebski
2007-12-02 15:14 ` Jean-François Veillette
1 sibling, 0 replies; 4+ messages in thread
From: Jakub Narebski @ 2007-12-02 9:39 UTC (permalink / raw)
To: Ed S. Peschko; +Cc: git
"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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: problems with importing from cvs archive
2007-12-02 6:46 problems with importing from cvs archive Ed S. Peschko
2007-12-02 9:39 ` Jakub Narebski
@ 2007-12-02 15:14 ` Jean-François Veillette
2007-12-02 17:07 ` Jeff King
1 sibling, 1 reply; 4+ messages in thread
From: Jean-François Veillette @ 2007-12-02 15:14 UTC (permalink / raw)
To: Ed S. Peschko; +Cc: git
Le 07-12-02 à 01:46, Ed S. Peschko a écrit :
> All,
>
> I'm trying to use git-cvsimport to import from a CVS archive, using:
>
> git-cvsimport -d $CVSROOT
I was able to go further just by adding the verbose mode ( -v ) :
git cvsimport -v -d ...
give it a try,
- jfv
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: problems with importing from cvs archive
2007-12-02 15:14 ` Jean-François Veillette
@ 2007-12-02 17:07 ` Jeff King
0 siblings, 0 replies; 4+ messages in thread
From: Jeff King @ 2007-12-02 17:07 UTC (permalink / raw)
To: Jean-François Veillette; +Cc: Ed S. Peschko, git
On Sun, Dec 02, 2007 at 10:14:07AM -0500, Jean-François Veillette wrote:
> Le 07-12-02 à 01:46, Ed S. Peschko a écrit :
>
>> All,
>>
>> I'm trying to use git-cvsimport to import from a CVS archive, using:
>>
>> git-cvsimport -d $CVSROOT
>
> I was able to go further just by adding the verbose mode ( -v ) :
> git cvsimport -v -d ...
There were some serious problems with the argument parsing of
git-cvsimport with respect to finding the correct module from the git
config or from your CVS working directory. This should all be fixed in
v1.5.3.7; please let me know if you still have a problem with that
version.
-Peff
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-12-02 17:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-02 6:46 problems with importing from cvs archive Ed S. Peschko
2007-12-02 9:39 ` Jakub Narebski
2007-12-02 15:14 ` Jean-François Veillette
2007-12-02 17:07 ` Jeff King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox