Comment 12 for bug 1025886

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 1025886] Re: KeyError when using git+https in hg-git

Am Monday, den 24.09.2012, 13:22 +0000 schrieb dom:
> since you can reproduce this with pure dulwich I don't think this is a
> hg-git problem
>
> $ dulwich clone https://github.com/mozilla/django-csp.git
> $ cd django-csp.git/
> $ dulwich fetch https://github.com/fmarier/django-csp.git
> ...
> raise KeyError([sha_to_hex(s) for s in self._pending_ref])
> KeyError: ['f69f776453ccec1a9f9bdc5bfaa49fd0e375f9b3', 'a8c54dd23c7d444774aec140
> 4bbaa326638aff1d']
Actually, the example dulwich script doesn't handle thin packs correctly
either (and doesn't disable them). It just assumes it only receives full
packs.

Cheers,

Jelmer