hg clone of i3status repo fails
Created originally on Bitbucket by carun (Arun Chandrasekaran)
hg clone git+http://code.stapelberg.de/git/i3status
Results in the below error
destination directory: i3status
** Unknown exception encountered with possibly-broken third-party extension hggit
** which supports versions 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.8 (default, Oct 20 2014, 15:05:19) [GCC 4.9.1]
** Mercurial Distributed SCM (version 3.1.1)
** Extensions loaded: extdiff, hgk, hggit, color, graphlog, churn, purge, strip, mq, rebase, pager, convert, histedit, shelve
Traceback (most recent call last):
File "/usr/bin/hg", line 43, in <module>
mercurial.dispatch.run()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 28, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 69, in dispatch
ret = _runcatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 138, in _runcatch
return _dispatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 820, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 600, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 196, in wrap
return wrapper(origfn, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/hgext/pager.py", line 158, in pagecmd
return orig(ui, options, cmd, cmdfunc)
File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 196, in wrap
return wrapper(origfn, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/hgext/color.py", line 433, in colorcmd
return orig(ui_, opts, cmd, cmdfunc)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 911, in _runcommand
return checkargs()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 882, in checkargs
return cmdfunc()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 817, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 550, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 1331, in clone
branch=opts.get('branch'))
File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 402, in clone
destpeer.local().clone(srcpeer, heads=revs, stream=stream)
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 1731, in clone
return self.pull(remote, heads)
File "/home/arun/HgExtensions/hg-git/hggit/util.py", line 41, in inner
return f(*args, **kwargs)
File "/home/arun/HgExtensions/hg-git/hggit/hgrepo.py", line 18, in pull
return self.githandler.fetch(remote.path, heads)
File "/home/arun/HgExtensions/hg-git/hggit/git_handler.py", line 230, in fetch
refs = self.fetch_pack(remote, heads)
File "/home/arun/HgExtensions/hg-git/hggit/git_handler.py", line 1029, in fetch_pack
ret = client.fetch_pack(path, determine_wants, graphwalker, f.write, progress.progress)
File "/usr/local/lib/python2.7/dist-packages/dulwich/client.py", line 1047, in fetch_pack
raise NotImplementedError(self.send_pack)
NotImplementedError: <bound method HttpGitClient.send_pack of <dulwich.client.HttpGitClient object at 0x7f250d1ea590>>
After cloning the above repo with git, the following succeeds.
$ hg clone i3status i3status-hg
importing git objects into hg
updating to branch default
35 files updated, 0 files merged, 0 files removed, 0 files unresolved
$