[PATCH 01 of 13 V2 py3 support] perf: rearrange imports of changelong and manifest to appease check-code

Augie Fackler raf at durin42.com
Fri Sep 20 09:23:39 CDT 2013


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1379686499 14400
#      Fri Sep 20 10:14:59 2013 -0400
# Node ID 260d19aed7b60cdb8a310ff24e52c7c80c416b53
# Parent  d4ed26beae0e41c86c413c69c1e6f13c32eb3d33
perf: rearrange imports of changelong and manifest to appease check-code

diff --git a/contrib/perf.py b/contrib/perf.py
--- a/contrib/perf.py
+++ b/contrib/perf.py
@@ -87,7 +87,8 @@
 
 @command('perftags')
 def perftags(ui, repo):
-    import mercurial.changelog, mercurial.manifest
+    import mercurial.changelog
+    import mercurial.manifest
     def t():
         repo.changelog = mercurial.changelog.changelog(repo.sopener)
         repo.manifest = mercurial.manifest.manifest(repo.sopener)


More information about the Mercurial-devel mailing list