RFR: (S) CODETOOLS-7902264 jcheck extension broken after upgrade to mercurial 4.3 (and python2.7)

Tim Bell tim.bell at oracle.com
Wed Aug 8 00:49:31 UTC 2018


Mercurial 4.3 dropped support for Python 2.6. With that an API change
moved cmdutil.command to the registrar module.


This fix first tries to load .command from the registrar module.  If
not found there, look next for cmdutil.command.  If that is not found,
the legacy command() implementation is used.


Tested with hg versions 0.9.5, 3.2.3, 4.7

I will also need a sponsor since I am not a Committer in the Code Tools 
Project. [1]

Thanks in advance-


[1] http://openjdk.java.net/census#code-tools

More information about the code-tools-dev mailing list