mercurial/tags.py
branchstable
changeset 50778 f02b62b7b056
parent 50092 bb6eaa65d12a
child 50779 e4c4adb694f5
equal deleted inserted replaced
50777:04bfcb416745 50778:f02b62b7b056
   908                 b"couldn't write cache/%s: %s\n"
   908                 b"couldn't write cache/%s: %s\n"
   909                 % (_fnodescachefile, stringutil.forcebytestr(inst)),
   909                 % (_fnodescachefile, stringutil.forcebytestr(inst)),
   910             )
   910             )
   911         finally:
   911         finally:
   912             lock.release()
   912             lock.release()
       
   913 
       
   914 
       
   915 def clear_cache_on_disk(repo):
       
   916     """function used by the perf extension to "tags" cache"""
       
   917     repo.cachevfs.tryunlink(_filename(repo))
       
   918 
       
   919 
       
   920 def clear_cache_fnodes(repo):
       
   921     """function used by the perf extension to clear "file node cache"""
       
   922     repo.cachevfs.tryunlink(_filename(repo))