changeset 34462:8337f7772aa2

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 01 Oct 2017 23:47:16 +0100
parents c67db5dc131d
children 718f7acd6d5e
files hgext/fsmonitor/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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