hg defpath needs updating

David Holmes david.holmes at oracle.com
Tue Sep 4 21:13:39 UTC 2018


Not a hotspot issue in any case. Please direct such issues to 
ops at openjdk.java.net

Cheers,
David

On 4/09/2018 10:51 PM, John Paul Adrian Glaubitz wrote:
> Hi!
> 
> I just tried to submit a change to the submit repository but defpath
> is failing on me. I did actually just update my local defpath copy,
> but I am still getting:
> 
> glaubitz at z6:..incoming/submit> hg defpath -du glaubitz
> ** Unknown exception encountered with possibly-broken third-party extension jcheck
> ** which supports versions unknown of Mercurial.
> ** Please disable jcheck and try your action again.
> ** If that fixes the bug please report it to the extension author.
> ** Python 2.7.15+ (default, Aug 31 2018, 11:56:52) [GCC 8.2.0]
> ** Mercurial Distributed SCM (version 4.7)
> ** Extensions loaded: strip, mq, histedit, purge, jcheck, defpath
> Traceback (most recent call last):
>    File "/usr/bin/hg", line 41, in <module>
>      dispatch.run()
>    File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 90, in run
>      status = dispatch(req)
>    File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 213, in dispatch
>      ret = _runcatch(req) or 0
>    File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 354, in _runcatch
>      return _callcatch(ui, _runcatchfunc)
>    File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 362, in _callcatch
>      return scmutil.callcatch(ui, func)
>    File "/usr/lib/python2.7/dist-packages/mercurial/scmutil.py", line 161, in callcatch
>      return func()
>    File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 344, in _runcatchfunc
>      return _dispatch(req)
>    File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 984, in _dispatch
>      cmdpats, cmdoptions)
>    File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 730, in runcommand
>      ret = _runcommand(ui, options, cmd, d)
>    File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 992, in _runcommand
>      return cmdfunc()
>    File "/usr/lib/python2.7/dist-packages/mercurial/dispatch.py", line 981, in <lambda>
>      d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
>    File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1530, in check
>      return func(*args, **kwargs)
>    File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1530, in check
>      return func(*args, **kwargs)
>    File "/usr/lib/python2.7/dist-packages/hgext/mq.py", line 3600, in mqcommand
>      return orig(ui, repo, *args, **kwargs)
>    File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 1530, in check
>      return func(*args, **kwargs)
>    File "/home/glaubitz/upstream/defpath/defpath.py", line 359, in cmd_defpath
>      return defpath(ui, repo, peer, peer_push, walk_self, opts)
>    File "/home/glaubitz/upstream/defpath/defpath.py", line 292, in defpath
>      except util.Abort, x:
> AttributeError: 'module' object has no attribute 'Abort'
> 
> I assume that some classes and functions were moved around in the imported
> Python libraries again.
> 
> Adrian
> 


More information about the hotspot-dev mailing list