changeset 33893:c9cf69d0c3b9

contrib: allow importing "symbols" from mercurial
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 14:12:21 -0400
parents 78f644fdaa2a
children c856cb1c29be
files contrib/import-checker.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/import-checker.py	Tue Aug 22 14:12:03 2017 -0400
+++ b/contrib/import-checker.py	Tue Aug 22 14:12:21 2017 -0400
@@ -21,6 +21,7 @@
 # Whitelist of modules that symbols can be directly imported from.
 allowsymbolimports = (
     '__future__',
+    'mercurial',
     'mercurial.hgweb.common',
     'mercurial.hgweb.request',
     'mercurial.i18n',