[PATCH 04 of 10] contrib: allow importing "symbols" from mercurial

Augie Fackler raf at durin42.com
Wed Aug 23 10:55:03 EDT 2017


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1503425541 14400
#      Tue Aug 22 14:12:21 2017 -0400
# Node ID d8042acd416ee5c0daeea12d6e4c2595a5667919
# Parent  297638dbead3ae064c05c4bdc6fe9af0b8f4479b
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',


More information about the Mercurial-devel mailing list