diff -r 89796af68b27 -r 981d2f132935 hgext/eol.py --- a/hgext/eol.py Mon Feb 13 23:49:52 2023 +0100 +++ b/hgext/eol.py Mon Feb 13 23:33:27 2023 +0100 @@ -445,6 +445,7 @@ # Write the cache to update mtime and cache .hgeol with self.vfs(b"eol.cache", b"w") as f: f.write(hgeoldata) + self.dirstate.write(self.currenttransaction()) except errormod.LockUnavailable: # If we cannot lock the repository and clear the # dirstate, then a commit might not see all files