hg defpath needs updating
JC Beyler
jcbeyler at google.com
Tue Sep 4 20:28:07 UTC 2018
Hi John,
I had the same issue and the problem was that my mercurial being used was
of a too recent version to work. Tim opened:
https://bugs.openjdk.java.net/browse/CODETOOLS-7902292
to track it and he has a possible fix that was done for trees.py in the bug.
Thanks,
Jc
On Tue, Sep 4, 2018 at 5:52 AM John Paul Adrian Glaubitz <
glaubitz at physik.fu-berlin.de> 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
>
> --
> .''`. John Paul Adrian Glaubitz
> : :' : Debian Developer - glaubitz at debian.org
> `. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
> `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
>
--
Thanks,
Jc
More information about the hotspot-dev
mailing list