equal
deleted
inserted
replaced
443 # the new .hgeol file specify a different filter |
443 # the new .hgeol file specify a different filter |
444 self.dirstate.set_possibly_dirty(f) |
444 self.dirstate.set_possibly_dirty(f) |
445 # Write the cache to update mtime and cache .hgeol |
445 # Write the cache to update mtime and cache .hgeol |
446 with self.vfs(b"eol.cache", b"w") as f: |
446 with self.vfs(b"eol.cache", b"w") as f: |
447 f.write(hgeoldata) |
447 f.write(hgeoldata) |
|
448 self.dirstate.write(self.currenttransaction()) |
448 except errormod.LockUnavailable: |
449 except errormod.LockUnavailable: |
449 # If we cannot lock the repository and clear the |
450 # If we cannot lock the repository and clear the |
450 # dirstate, then a commit might not see all files |
451 # dirstate, then a commit might not see all files |
451 # as modified. But if we cannot lock the |
452 # as modified. But if we cannot lock the |
452 # repository, then we can also not make a commit, |
453 # repository, then we can also not make a commit, |