hgext/largefiles/lfutil.py
changeset 15226 2223ea21c98f
parent 15224 7c604d8c7e83
child 15227 a7686abf73a6
equal deleted inserted replaced
15225:b450a4d427ef 15226:2223ea21c98f
    12 import errno
    12 import errno
    13 import shutil
    13 import shutil
    14 import stat
    14 import stat
    15 import hashlib
    15 import hashlib
    16 
    16 
    17 from mercurial import dirstate, httpconnection, match as match_, util
    17 from mercurial import dirstate, httpconnection, match as match_, util, scmutil
    18 from mercurial.i18n import _
    18 from mercurial.i18n import _
    19 
       
    20 try:
       
    21     from mercurial import scmutil
       
    22 except ImportError:
       
    23     pass
       
    24 
    19 
    25 shortname = '.hglf'
    20 shortname = '.hglf'
    26 longname = 'largefiles'
    21 longname = 'largefiles'
    27 
    22 
    28 
    23