Mercurial > hg
changeset 47734:936f26b9f1cc
eol: use `set_possibly_dirty` instead of `normallookup`
This is the newer, more semantic API.
Differential Revision: https://phab.mercurial-scm.org/D11176
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 19 Jul 2021 05:41:02 +0200 |
parents | 4b7eb01db10b |
children | 20c2a15cd47a |
files | hgext/eol.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)