fsmonitor: fix criteria for nonnormalset computation stable
authorRaphaël Gomès <rgomes@octobus.net>
Tue, 07 Dec 2021 15:01:30 +0100
branchstable
changeset 48334 602120a96072
parent 48333 5140461ee947
child 48335 897aa0c4da4a
fsmonitor: fix criteria for nonnormalset computation ... oops. Differential Revision: https://phab.mercurial-scm.org/D11875
hgext/fsmonitor/__init__.py
--- a/hgext/fsmonitor/__init__.py	Mon Dec 06 11:10:59 2021 +0100
+++ b/hgext/fsmonitor/__init__.py	Tue Dec 07 15:01:30 2021 +0100
@@ -336,7 +336,7 @@
     nonnormalset = {
         f
         for f, e in self._map.items()
-        if e.v1_state() != "n" or e.v1_mtime() == -1
+        if e.v1_state() != b"n" or e.v1_mtime() == -1
     }
 
     copymap = self._map.copymap