# HG changeset patch # User Pierre-Yves David # Date 1632920129 -7200 # 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 -r c87844960a35 -r 5b6ffd6be480 hgext/eol.py --- a/hgext/eol.py Thu Sep 30 12:00:15 2021 +0200 +++ b/hgext/eol.py Wed Sep 29 14:55:29 2021 +0200 @@ -423,7 +423,7 @@ 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):