# HG changeset patch # User Durham Goode # Date 2017-10-09 19:47:22 # Node ID 7259f0ddfc0f18138420e7c9c7e4145a25016d7b # Parent 1b59287a1cfa3074c092837a5f8ecb63cb6e1933 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 diff --git a/hgext/fsmonitor/__init__.py b/hgext/fsmonitor/__init__.py --- a/hgext/fsmonitor/__init__.py +++ b/hgext/fsmonitor/__init__.py @@ -251,7 +251,7 @@ def overridewalk(orig, self, match, subr matchfn = match.matchfn matchalways = match.always() - dmap = self._map + dmap = self._map._map nonnormalset = getattr(self, '_nonnormalset', None) copymap = self._map.copymap