[Updated] D11875: fsmonitor: fix criteria for nonnormalset computation

Alphare (Raphaël Gomès) phabricator at mercurial-scm.org
Tue Dec 7 16:11:45 UTC 2021


Closed by commit rHG602120a96072: fsmonitor: fix criteria for nonnormalset computation (authored by Alphare).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11875?vs=31344&id=31356

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11875/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11875

AFFECTED FILES
  hgext/fsmonitor/__init__.py

CHANGE DETAILS

diff --git a/hgext/fsmonitor/__init__.py b/hgext/fsmonitor/__init__.py
--- a/hgext/fsmonitor/__init__.py
+++ b/hgext/fsmonitor/__init__.py
@@ -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



To: Alphare, #hg-reviewers, marmoute
Cc: marmoute, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211207/2c234e53/attachment-0002.html>


More information about the Mercurial-patches mailing list