[Python-apps-team] Bug#785581: mercurial-git: Cloning fails with "NotImplementedError"
Nikolaus Rath
Nikolaus at rath.org
Sun May 17 23:37:37 UTC 2015
Package: mercurial-git
Version: 0.6.1-2
Severity: normal
Using the jessie package, I don't seem to be able to interact with git
repositories. Example:
$ hg clone git+http://git.gnus.org/cgit/gnus.git/
destination directory: gnus.git
** Unknown exception encountered with possibly-broken third-party extension git
** which supports versions 3.0.1 of Mercurial.
** Please disable git and try your action again.
** If that fixes the bug please report it to https://bitbucket.org/durin42/hg-git/issues
** Python 2.7.9 (default, Mar 1 2015, 12:57:24) [GCC 4.9.2]
** Mercurial Distributed SCM (version 3.1.2)
** Extensions loaded: rebase, color, git, purge, strip, mq, histedit
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 839, 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/color.py", line 433, in colorcmd
return orig(ui_, opts, cmd, cmdfunc)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 930, in _runcommand
return checkargs()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 901, in checkargs
return cmdfunc()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 836, 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 1730, in clone
return self.pull(remote, heads)
File "/usr/lib/python2.7/dist-packages/hgext/git/hgrepo.py", line 14, in pull
return self.githandler.fetch(remote.path, heads)
File "/usr/lib/python2.7/dist-packages/hgext/git/git_handler.py", line 199, in fetch
refs = self.fetch_pack(remote, heads)
File "/usr/lib/python2.7/dist-packages/hgext/git/git_handler.py", line 1034, in fetch_pack
ret = client.fetch_pack(path, determine_wants, graphwalker, f.write, progress.progress)
File "/usr/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 0x7f7dd276b190>>
-- System Information:
Debian Release: 8.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mercurial-git depends on:
ii mercurial 3.1.2-2+deb8u1
ii python 2.7.9-1
ii python-dulwich 0.9.7-3
mercurial-git recommends no packages.
mercurial-git suggests no packages.
-- no debconf information
More information about the Python-apps-team
mailing list