changeset 15226:2223ea21c98f

largefiles: cleanup import, now that we can assume > 1.9 for bundled extension
author Na'Tosha Bard <natosha@unity3d.com>
date Tue, 11 Oct 2011 14:01:24 +0200
parents b450a4d427ef
children a7686abf73a6
files hgext/largefiles/lfutil.py
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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'