hg 4.6 breaks hg-git and evolve plugins?

Malcolm Matalka mmatalka at gmail.com
Thu May 17 07:01:25 UTC 2018


I'm getting the following error on plugins.  Was FreeBSD a bit too hasty
in upgrading ports to 4.6?

** Unknown exception encountered with possibly-broken third-party extension hggit
** which supports versions 4.5 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, May 12 2018, 01:27:55) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.0 (tags/RELEASE_600/final 326565)]
** Mercurial Distributed SCM (version 4.6)
** Extensions loaded: convert, hggit, strip
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 41, in <module>
    dispatch.run()
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 90, in run
    status = (dispatch(req) or 0)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 210, in dispatch
    ret = _runcatch(req)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 351, in _runcatch
    return _callcatch(ui, _runcatchfunc)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 359, in _callcatch
    return scmutil.callcatch(ui, func)
  File "/usr/local/lib/python2.7/site-packages/mercurial/scmutil.py", line 160, in callcatch
    return func()
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 341, in _runcatchfunc
    return _dispatch(req)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 971, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 727, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 979, in _runcommand
    return cmdfunc()
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 968, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
  File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 1553, in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/mercurial/commands.py", line 1467, in clone
    shareopts=opts.get('shareopts'))
  File "/usr/local/lib/python2.7/site-packages/mercurial/hg.py", line 544, in clone
    srcpeer = peer(ui, peeropts, source)
  File "/usr/home/orbitz/.local/lib/python2.7/site-packages/hggit/__init__.py", line 325, in peer
    newpeer = orig(uiorrepo, *args, **opts)
  File "/usr/local/lib/python2.7/site-packages/mercurial/hg.py", line 189, in peer
    return _peerorrepo(rui, path, create, intents=intents).peer()
  File "/usr/local/lib/python2.7/site-packages/mercurial/hg.py", line 163, in _peerorrepo
    obj = _peerlookup(path).instance(ui, path, create, intents=intents)
TypeError: __init__() got an unexpected keyword argument 'intents'


More information about the Mercurial mailing list