Re: problems with importing from cvs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Ed S. Peschko" <esp5@xxxxxxx> 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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux