Mercurial > hg
diff hgext/eol.py @ 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 | 89a2afe31e82 |
children | 5b6ffd6be480 |
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)