[darcs-users] error 'head: empty list' on importing Git repository

Benjamin Franksen benjamin.franksen at helmholtz-berlin.de
Tue Jan 22 13:50:49 UTC 2019


Am 19.01.19 um 21:56 schrieb Henning Thielemann:
> 
> I try to import a small Git repository to Darcs following to this hint:
> 
> http://darcs.net/Using/Convert#importing-from-git
> 
> $ cabal get --source-repository=head QuickCheck-GenT
> cloning 'QuickCheck-GenT' ...
> ...
> $ (cd QuickCheck-GenT; git fast-export --all --progress 500) |
> darcs-2.14.1 convert import QuickCheck-GenT-darcs
> WARNING: Ignoring out-of-order tag refs/tags/0.1.0
> Tagging branch: refs/tags/0.1.0
> Tagging branch: refs/tags/0.1.1
> Tagging branch: refs/tags/0.1.2
> Tagging branch: refs/tags/0.1.3
> Tagging branch: refs/tags/0.1.4
> Tagging branch: refs/tags/0.2.0
> darcs-2.14.1: Prelude.head: empty list
> 
> 
> It leaves a bit of a Darcs repository infrastructure but there is no
> list of changes. :-(

It would be easiest to debug this if I had access to the git repo in
question. There are a number of calls to Prelude.head in the darcs
convert code and I guess one of them is at fault here. If it is not
public, can you send me a tar ball of it privately?

Cheers
Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20190122/7b4b61cc/attachment.asc>


More information about the darcs-users mailing list