Fails on debian-testing?
Created originally on Bitbucket by CAAPP (CAAPP Admin)
I tried installing the python3 version first, but couldn't get that working at all.
input:
#!bash
hg push https://CAAPP@bitbucket.org/CAAPP/vimba-gige-controller.git
output:
#!bash
** Unknown exception encountered with possibly-broken third-party extension hggit
** which supports versions 3.7 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.13 (default, Dec 18 2016, 20:19:42) [GCC 6.2.1 20161215]
** Mercurial Distributed SCM (version 3.9.2)
** Extensions loaded: hggit
Traceback (most recent call last):
File "/usr/bin/hg", line 45, in <module>
mercurial.dispatch.run()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 59, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 125, in dispatch
ret = _runcatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 204, in _runcatch
return _dispatch(req)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 880, in _dispatch
cmdpats, cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 637, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1010, in _runcommand
return checkargs()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 971, in checkargs
return cmdfunc()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 877, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1038, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 5975, in push
opargs=opts.get('opargs'))
File "/usr/lib/python2.7/dist-packages/mercurial/extensions.py", line 210, in closure
return func(*(args + a), **kw)
File "/usr/local/lib/python2.7/dist-packages/hg_git-0.8.5-py2.7.egg/hggit/util.py", line 52, in inner
return f(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/hg_git-0.8.5-py2.7.egg/hggit/__init__.py", line 361, in exchangepush
pushop.cgresult = repo.githandler.push(remote.path, revs, force)
File "/usr/local/lib/python2.7/dist-packages/hg_git-0.8.5-py2.7.egg/hggit/git_handler.py", line 343, in push
old_refs, new_refs = self.upload_pack(remote, revs, force)
File "/usr/local/lib/python2.7/dist-packages/hg_git-0.8.5-py2.7.egg/hggit/git_handler.py", line 969, in upload_pack
client, path = self.get_transport_and_path(remote)
File "/usr/local/lib/python2.7/dist-packages/hg_git-0.8.5-py2.7.egg/hggit/git_handler.py", line 1617, in get_transport_and_path
auth = urllib2.HTTPBasicAuthHandler(url.passwordmgr(self.ui))
TypeError: __init__() takes exactly 3 arguments (2 given)