largefiles: tidy imports stable
authorGreg Ward <greg@gerg.ca>
Sun, 16 Oct 2011 10:29:51 -0400
branchstable
changeset 15305 683f417fa538
parent 15304 9aa9d4bb3d88
child 15306 94527d67f3da
largefiles: tidy imports - no need to defensively import scmutil - remove duplicate - unwrap non-long line
hgext/largefiles/overrides.py
hgext/largefiles/reposetup.py
--- a/hgext/largefiles/overrides.py	Tue Oct 18 20:06:23 2011 -0400
+++ b/hgext/largefiles/overrides.py	Sun Oct 16 10:29:51 2011 -0400
@@ -11,17 +11,11 @@
 import os
 import copy
 
-from mercurial import hg, commands, util, cmdutil, match as match_, node, \
-        archival, error, merge
+from mercurial import hg, commands, util, cmdutil, scmutil, match as match_, \
+    node, archival, error, merge
 from mercurial.i18n import _
 from mercurial.node import hex
 from hgext import rebase
-import lfutil
-
-try:
-    from mercurial import scmutil
-except ImportError:
-    pass
 
 import lfutil
 import lfcommands
--- a/hgext/largefiles/reposetup.py	Tue Oct 18 20:06:23 2011 -0400
+++ b/hgext/largefiles/reposetup.py	Sun Oct 16 10:29:51 2011 -0400
@@ -12,8 +12,7 @@
 import os
 import re
 
-from mercurial import context, error, manifest, match as match_, \
-        node, util
+from mercurial import context, error, manifest, match as match_, node, util
 from mercurial.i18n import _
 
 import lfcommands