unexpected keyword argument 'createopts' (hg 4.8rc0, hg-git 0.8.12)
Created originally on Bitbucket by muxator
Since hg 4.8rc0 an hg pull
against a git repository gives the following error:
muxator@server:<somepath>$ hg pull
pulling from git+ssh://git@github.com:user/repo.git
** Unknown exception encountered with possibly-broken third-party extension hggit
** which supports versions 4.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.15+ (default, Oct 2 2018, 22:12:08) [GCC 8.2.0]
** Mercurial Distributed SCM (version 4.8rc0+2-7b48c616431d+20181022)
** Extensions loaded: convert, extdiff, hggit, strip, mq, patchbomb, rebase, shelve, uncommit, show
Traceback (most recent call last):
File "/usr/bin/hg", line 43, in <module>
dispatch.run()
[... long stack trace ...]
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 1003, in _runcommand
return cmdfunc()
File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 991, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1644, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1644, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/hgext/mq.py", line 3631, in mqcommand
return orig(ui, repo, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1644, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1644, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/hgext/rebase.py", line 1857, in pullrebase
ret = orig(ui, repo, *args, **opts)
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1644, in check
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/mercurial/commands.py", line 4361, in pull
other = hg.peer(repo, opts, source)
File "/opt/mercurial/hg-git/hggit/__init__.py", line 344, in peer
newpeer = orig(uiorrepo, *args, **opts)
File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 200, in peer
createopts=createopts).peer()
File "/usr/lib/python2.7/dist-packages/mercurial/hg.py", line 161, in _peerorrepo
createopts=createopts)
TypeError: __init__() got an unexpected keyword argument 'createopts'
Is it possible that this is an incompatibility introduced in hg
4.8, that hg-git
is not able to cope with?
- hg-git: 0.8.12
- hg: 4.8rc0
- dulwich: 0.19.6
- python: 2.7.15+