tests/test-filecache.py
changeset 14982 4c01478991a3
parent 14937 0b3e57c1b8c0
child 15057 774da7121fc9
equal deleted inserted replaced
14940:d78b92353f26 14982:4c01478991a3
     1 import sys, os, subprocess
     1 import sys, os, subprocess
     2 
     2 
     3 try:
     3 if subprocess.call(['%s/hghave' % os.environ['TESTDIR'], 'cacheable']):
     4     subprocess.check_call(['%s/hghave' % os.environ['TESTDIR'], 'cacheable'])
       
     5 except subprocess.CalledProcessError:
       
     6     sys.exit(80)
     4     sys.exit(80)
     7 
     5 
     8 from mercurial import util, scmutil, extensions
     6 from mercurial import util, scmutil, extensions
     9 
     7 
    10 filecache = scmutil.filecache
     8 filecache = scmutil.filecache