# HG changeset patch # User Augie Fackler # Date 2017-08-22 18:12:21 # Node ID c9cf69d0c3b9a6f8578f7e33f8cb3f0c7949d608 # Parent 78f644fdaa2a9cc781d5f7116c024108590bd6fe contrib: allow importing "symbols" from mercurial 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',