largefiles: cleanup import, now that we can assume > 1.9 for bundled extension
authorNa'Tosha Bard <natosha@unity3d.com>
Tue, 11 Oct 2011 14:01:24 +0200
changeset 15226 2223ea21c98f
parent 15225 b450a4d427ef
child 15227 a7686abf73a6
largefiles: cleanup import, now that we can assume > 1.9 for bundled extension
hgext/largefiles/lfutil.py
--- a/hgext/largefiles/lfutil.py	Tue Oct 11 13:15:29 2011 +0200
+++ b/hgext/largefiles/lfutil.py	Tue Oct 11 14:01:24 2011 +0200
@@ -14,14 +14,9 @@
 import stat
 import hashlib
 
-from mercurial import dirstate, httpconnection, match as match_, util
+from mercurial import dirstate, httpconnection, match as match_, util, scmutil
 from mercurial.i18n import _
 
-try:
-    from mercurial import scmutil
-except ImportError:
-    pass
-
 shortname = '.hglf'
 longname = 'largefiles'