diff -r 853001c84114 -r 670eb4fa1b86 hgext/highlight/highlight.py --- a/hgext/highlight/highlight.py Thu Apr 19 20:33:43 2018 +0900 +++ b/hgext/highlight/highlight.py Sat May 05 18:41:51 2018 -0700 @@ -11,7 +11,7 @@ from __future__ import absolute_import from mercurial import demandimport -demandimport.ignore.extend(['pkgutil', 'pkg_resources', '__main__']) +demandimport.IGNORES.update(['pkgutil', 'pkg_resources', '__main__']) from mercurial import ( encoding,