comparison hgext/fsmonitor/__init__.py @ 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 1421c75b20de
children 6000f5b25c9b
comparison
equal deleted inserted replaced
48411:5140461ee947 48412:602120a96072
334 # standard dirstate implementation is in use. 334 # standard dirstate implementation is in use.
335 dmap = dmap._map 335 dmap = dmap._map
336 nonnormalset = { 336 nonnormalset = {
337 f 337 f
338 for f, e in self._map.items() 338 for f, e in self._map.items()
339 if e.v1_state() != "n" or e.v1_mtime() == -1 339 if e.v1_state() != b"n" or e.v1_mtime() == -1
340 } 340 }
341 341
342 copymap = self._map.copymap 342 copymap = self._map.copymap
343 getkind = stat.S_IFMT 343 getkind = stat.S_IFMT
344 dirkind = stat.S_IFDIR 344 dirkind = stat.S_IFDIR