largefiles: tidy imports
- no need to defensively import scmutil
- remove duplicate
- unwrap non-long line
--- 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