hg 4.6 breaks hg-git and evolve plugins?

Augie Fackler raf at durin42.com
Sun May 20 02:10:07 UTC 2018



> On May 17, 2018, at 3:01 AM, Malcolm Matalka <mmatalka at gmail.com> wrote:
> 
> I'm getting the following error on plugins.  Was FreeBSD a bit too hasty
> in upgrading ports to 4.6?

I’d argue no, as (for good or ill) hg-git and evolve are less common.

I’d expect evolve tip to work fine: https://www.mercurial-scm.org/repo/evolve/ <https://www.mercurial-scm.org/repo/evolve/> (but I haven’t tested myself)

hg-git is probably going to be more work. You’d need to ask on their hg-git at googlegroups list, I don’t know what the status there might be.

> 
> ** 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'
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20180519/b90e8b54/attachment-0002.html>


More information about the Mercurial mailing list