[PATCH 6 of 9] contrib: add bzrlib to list of packages from which we import symbols

Augie Fackler raf at durin42.com
Thu Aug 24 14:33:27 UTC 2017


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1503430134 14400
#      Tue Aug 22 15:28:54 2017 -0400
# Node ID 3973af0b0ae185ab05b0ddd54867bbc23df6b701
# Parent  a2b9f131501a0c1dbb83ce425faa4acd50d5f8f8
contrib: add bzrlib to list of packages from which we import symbols

Helps some tests pass the import checker.

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__',
+    'bzrlib',
     'hgclient',
     'mercurial',
     'mercurial.hgweb.common',



More information about the Mercurial-devel mailing list