equal
deleted
inserted
replaced
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)) |