From patchwork Wed Aug 23 14:55:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [04,of,10] contrib: allow importing "symbols" from mercurial From: Augie Fackler X-Patchwork-Id: 23233 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Wed, 23 Aug 2017 10:55:03 -0400 # HG changeset patch # User Augie Fackler # 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',