# HG changeset patch # User Augie Fackler # Date 2017-08-22 18:25:06 # Node ID 2d64b2f1787bd6d6f9d1cffe25d20c03b4832a28 # Parent a0aeb096bb12f55ead9f358e503460021b1bbde7 contrib: allow symbol imports from hgclient for tests 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__', + 'hgclient', 'mercurial', 'mercurial.hgweb.common', 'mercurial.hgweb.request',