comparison hgext/fsmonitor/__init__.py @ 34580:7259f0ddfc0f

fsmonitor: update to match new dirstate refactor The dirstate was refactored so dirstate._map is now at dirstate._map._map. Same for _copymap, is not _map.copymap. It seems none of the mercurial tests cover this stuff, but it was caught by our Facebook extension tests. Differential Revision: https://phab.mercurial-scm.org/D945
author Durham Goode <durham@fb.com>
date Mon, 09 Oct 2017 12:47:22 -0700
parents 4aa57627692a
children dacfcdd8b94e
comparison
equal deleted inserted replaced
34579:1b59287a1cfa 34580:7259f0ddfc0f
249 ignore = util.always 249 ignore = util.always
250 dirignore = util.always 250 dirignore = util.always
251 251
252 matchfn = match.matchfn 252 matchfn = match.matchfn
253 matchalways = match.always() 253 matchalways = match.always()
254 dmap = self._map 254 dmap = self._map._map
255 nonnormalset = getattr(self, '_nonnormalset', None) 255 nonnormalset = getattr(self, '_nonnormalset', None)
256 256
257 copymap = self._map.copymap 257 copymap = self._map.copymap
258 getkind = stat.S_IFMT 258 getkind = stat.S_IFMT
259 dirkind = stat.S_IFDIR 259 dirkind = stat.S_IFDIR