fsmonitor: access copymap in new location
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 01 Oct 2017 23:47:16 +0100
changeset 34462 8337f7772aa2
parent 34461 c67db5dc131d
child 34463 718f7acd6d5e
fsmonitor: access copymap in new location fsmonitor has been busted since 0865d25e8a8a due to moving self._copymap. Fix it. Differential Revision: https://phab.mercurial-scm.org/D892
hgext/fsmonitor/__init__.py
--- a/hgext/fsmonitor/__init__.py	Sun Oct 01 12:12:56 2017 +0100
+++ b/hgext/fsmonitor/__init__.py	Sun Oct 01 23:47:16 2017 +0100
@@ -231,7 +231,7 @@
     dmap = self._map
     nonnormalset = getattr(self, '_nonnormalset', None)
 
-    copymap = self._copymap
+    copymap = self._map.copymap
     getkind = stat.S_IFMT
     dirkind = stat.S_IFDIR
     regkind = stat.S_IFREG