diff --git a/contrib/import-checker.py b/contrib/import-checker.py --- a/contrib/import-checker.py +++ b/contrib/import-checker.py @@ -21,6 +21,7 @@ if True: # disable lexical sorting check # Whitelist of modules that symbols can be directly imported from. allowsymbolimports = ( '__future__', + 'mercurial', 'mercurial.hgweb.common', 'mercurial.hgweb.request', 'mercurial.i18n',