Patchwork D11176: eol: use `set_possibly_dirty` instead of `normallookup`

login
register
mail settings
Submitter phabricator
Date July 19, 2021, 2:10 p.m.
Message ID <differential-rev-PHID-DREV-wtlzqico4udwhrxtljtq-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49487/
State Superseded
Headers show

Comments

phabricator - July 19, 2021, 2:10 p.m.
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




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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)