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

Augie Fackler raf at durin42.com
Fri Sep 20 12:19:32 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 5ab427877c1d31640f16bd8d44e60ccb4a81a022
# Parent  ea35caf324bb04cbc9ab5e2328367bc50f558cfb
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