hg-git broken on hg2.8?

Pascal Quantin pascal.quantin at free.fr
Tue Dec 3 20:16:42 UTC 2013


Le 3 déc. 2013 à 17:54, Neal Becker <ndbecker2 at gmail.com> a écrit :

> I've tried to post this via gmane, but perhaps it stopped working?
> 
> hg clone ndarray.git ndarray.hg
> ** Unknown exception encountered with possibly-broken third-party extension hggit
> ** which supports versions 2.3.1 of Mercurial.
> ** Please disable hggit and try your action again.
> ** If that fixes the bug please report it to https://bitbucket.org/durin42/hg-git/issues
> ** Python 2.7.5 (default, Nov 12 2013, 16:18:42) [GCC 4.8.2 20131017 (Red Hat 4.8.2-1)]
> ** Mercurial Distributed SCM (version 2.8)
> ** Extensions loaded: hgk, rebase, convert, hggit
> Traceback (most recent call last):
>   File "/usr/bin/hg", line 38, in <module>
>     mercurial.dispatch.run()
>   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 28, in run
>     sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
>   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 69, in dispatch
>     ret = _runcatch(req)
>   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 133, in _runcatch
>     return _dispatch(req)
>   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 806, in _dispatch
>     cmdpats, cmdoptions)
>   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 585, in runcommand
>     ret = _runcommand(ui, options, cmd, d)
>   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 897, in _runcommand
>     return checkargs()
>   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 868, in checkargs
>     return cmdfunc()
>   File "/usr/lib64/python2.7/site-packages/mercurial/dispatch.py", line 803, in <lambda>
>     d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
>   File "/usr/lib64/python2.7/site-packages/mercurial/util.py", line 512, in check
>     return func(*args, **kwargs)
>   File "/usr/lib64/python2.7/site-packages/mercurial/commands.py", line 1282, in clone
>     branch=opts.get('branch'))
>   File "/usr/lib64/python2.7/site-packages/mercurial/hg.py", line 372, in clone
>     destpeer.local().clone(srcpeer, heads=revs, stream=stream)
>   File "/usr/lib64/python2.7/site-packages/mercurial/localrepo.py", line 2431, in clone
>     return self.pull(remote, heads)
>   File "/usr/lib/python2.7/site-packages/hggit/hgrepo.py", line 14, in pull
>     return git.fetch(remote.path, heads)
>   File "/usr/lib/python2.7/site-packages/hggit/git_handler.py", line 204, in fetch
>     refs = self.fetch_pack(remote, heads)
>   File "/usr/lib/python2.7/site-packages/hggit/git_handler.py", line 1037, in fetch_pack
>     f, commit = self.git.object_store.add_pack()
> ValueError: too many values to unpack

Hi,

I can run hg-git without any problem with hg 2.8.1. Did you try to update your hg-git version to the latest version?

Best regards,
Pascal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20131203/a9fba84c/attachment-0002.html>


More information about the Mercurial mailing list