# HG changeset patch # User Pierre-Yves David # Date 2021-09-29 12:55:29 # Node ID 5b6ffd6be480f12f6c28093c9d6e8d4f0e8d419e # Parent c87844960a3537ee0f341012cd689726c2506cad dirstate-item: use maybe_clean instead of `state` in the eol extension Differential Revision: https://phab.mercurial-scm.org/D11527 diff --git a/hgext/eol.py b/hgext/eol.py --- a/hgext/eol.py +++ b/hgext/eol.py @@ -423,7 +423,7 @@ def reposetup(ui, repo): try: wlock = self.wlock() for f in self.dirstate: - if self.dirstate[f] != b'n': + if not self.dirstate.get_entry(f).maybe_clean: continue if oldeol is not None: if not oldeol.match(f) and not neweol.match(f):