fsmonitor: update to match new dirstate refactor
authorDurham Goode <durham@fb.com>
Mon, 09 Oct 2017 12:47:22 -0700
changeset 34580 7259f0ddfc0f
parent 34579 1b59287a1cfa
child 34581 ee0d74083a22
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
hgext/fsmonitor/__init__.py
--- a/hgext/fsmonitor/__init__.py	Tue Sep 26 08:37:17 2017 +0200
+++ b/hgext/fsmonitor/__init__.py	Mon Oct 09 12:47:22 2017 -0700
@@ -251,7 +251,7 @@
 
     matchfn = match.matchfn
     matchalways = match.always()
-    dmap = self._map
+    dmap = self._map._map
     nonnormalset = getattr(self, '_nonnormalset', None)
 
     copymap = self._map.copymap