hg 4.6 breaks hg-git and evolve plugins?

David Douard david.douard at logilab.fr
Tue May 22 07:38:21 UTC 2018


Le 05/20/2018 à 04:10 AM, Augie Fackler a écrit :
>
>
>> On May 17, 2018, at 3:01 AM, Malcolm Matalka <mmatalka at gmail.com
>> <mailto: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/ (but I haven’t tested
> myself)
>
evole 8.0.0 should work fine (we use it with no major problem at logilab).

https://www.mercurial-scm.org/repo/evolve/rev/8.0.0

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

-- 

David DOUARD		 LOGILAB
Directeur du département Outils & Systèmes

+33 1 45 32 03 12	 david.douard at logilab.fr
       	                 http://www.logilab.fr/id/david.douard

Formations - http://www.logilab.fr/formations
Développements - http://www.logilab.fr/services
Gestion de connaissances - http://www.cubicweb.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20180522/986d9271/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20180522/986d9271/attachment.asc>


More information about the Mercurial mailing list