--- a/hgext/fsmonitor/__init__.py Sun Oct 06 17:59:15 2019 -0400
+++ b/hgext/fsmonitor/__init__.py Sun Oct 06 19:25:18 2019 -0400
@@ -467,12 +467,14 @@
visit.update(f for f in copymap if f not in results and matchfn(f))
else:
if matchalways:
- visit.update(f for f, st in dmap.iteritems() if f not in results)
+ visit.update(
+ f for f, st in pycompat.iteritems(dmap) if f not in results
+ )
visit.update(f for f in copymap if f not in results)
else:
visit.update(
f
- for f, st in dmap.iteritems()
+ for f, st in pycompat.iteritems(dmap)
if f not in results and matchfn(f)
)
visit.update(f for f in copymap if f not in results and matchfn(f))