D11176: eol: use `set_possibly_dirty` instead of `normallookup`
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Mon Jul 19 14:10:51 UTC 2021
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This is the newer, more semantic API.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D11176
AFFECTED FILES
hgext/eol.py
CHANGE DETAILS
diff --git a/hgext/eol.py b/hgext/eol.py
--- a/hgext/eol.py
+++ b/hgext/eol.py
@@ -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)
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list