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

login
register
mail settings
Submitter Augie Fackler
Date Sept. 20, 2013, 5:19 p.m.
Message ID <5ab427877c1d31640f16.1379697572@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/2566/
State Accepted
Commit fe8795dee77da16dac4b05dcb96b86284bc9fda5
Headers show

Comments

Augie Fackler - Sept. 20, 2013, 5:19 p.m.
# HG changeset patch
# User Augie Fackler <raf@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

Patch

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)