[PATCH 4 of 7] convert: bzr use absolute_import

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Mar 10 10:35:28 EST 2016



On 03/09/2016 04:25 AM, timeless wrote:
> # HG changeset patch
> # User timeless <timeless at mozdev.org>
> # Date 1456936372 0
> #      Wed Mar 02 16:32:52 2016 +0000
> # Node ID 2a9a21afd35fbc2cad414078c6ec00ad0157834b
> # Parent  81f563d9b69385a37f1f45de5be67340dc87f075
> convert: bzr use absolute_import

this one make test-check-module-imports.t unhappy, I've dropped it from 
the clowncopter.

Timeless, use the following command to get a non-dead version:

   hg pull -r 5120b551e95f http://hg.netv6.net/marmoute-wip/mercurial/

--- /home/pyd/src/mercurial-dev/tests/test-check-module-imports.t
+++ /home/pyd/src/mercurial-dev/tests/test-check-module-imports.t.err
@@ -142,5 +142,8 @@
  these may expose other cycles.

    $ hg locate 'mercurial/**.py' 'hgext/**.py' | sed 's-\\-/-g' | 
python "$import_checker" -
+  hgext/convert/bzr.py:29: relative import of stdlib module
+  hgext/convert/bzr.py:34: relative import of stdlib module
+  hgext/convert/bzr.py:69: relative import of stdlib module
    Import cycle: hgext.largefiles.basestore -> 
hgext.largefiles.localstore -> hgext.largefiles.basestore
    [1]

ERROR: test-check-module-imports.t output changed


-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list