changeset 48412:602120a96072 stable

fsmonitor: fix criteria for nonnormalset computation ... oops. Differential Revision: https://phab.mercurial-scm.org/D11875
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 07 Dec 2021 15:01:30 +0100
parents 5140461ee947
children 897aa0c4da4a
files hgext/fsmonitor/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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