eol: use `set_possibly_dirty` instead of `normallookup`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 19 Jul 2021 05:41:02 +0200
changeset 47734 936f26b9f1cc
parent 47733 4b7eb01db10b
child 47735 20c2a15cd47a
eol: use `set_possibly_dirty` instead of `normallookup` This is the newer, more semantic API. Differential Revision: https://phab.mercurial-scm.org/D11176
hgext/eol.py
--- a/hgext/eol.py	Sun Jul 18 22:50:02 2021 +0200
+++ b/hgext/eol.py	Mon Jul 19 05:41:02 2021 +0200
@@ -442,7 +442,7 @@
                                 continue
                         # all normal files need to be looked at again since
                         # the new .hgeol file specify a different filter
-                        self.dirstate.normallookup(f)
+                        self.dirstate.set_possibly_dirty(f)
                     # Write the cache to update mtime and cache .hgeol
                     with self.vfs(b"eol.cache", b"w") as f:
                         f.write(hgeoldata)