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

login
register
mail settings
Submitter Augie Fackler
Date Sept. 20, 2013, 2:23 p.m.
Message ID <260d19aed7b60cdb8a31.1379687019@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/2548/
State Superseded
Headers show

Comments

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

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)