equal
deleted
inserted
replaced
57 # atomic replace file, size doesn't change |
57 # atomic replace file, size doesn't change |
58 # hopefully st_mtime doesn't change as well so this doesn't use the cache |
58 # hopefully st_mtime doesn't change as well so this doesn't use the cache |
59 # because of inode change |
59 # because of inode change |
60 f = scmutil.opener('.')('x', 'w', atomictemp=True) |
60 f = scmutil.opener('.')('x', 'w', atomictemp=True) |
61 f.write('b') |
61 f.write('b') |
62 f.rename() |
62 f.close() |
63 |
63 |
64 repo.invalidate() |
64 repo.invalidate() |
65 repo.cached |
65 repo.cached |
66 |
66 |
67 def fakeuncacheable(): |
67 def fakeuncacheable(): |