--- a/mercurial/changegroup.py Wed Apr 24 09:32:29 2019 -0700
+++ b/mercurial/changegroup.py Mon May 15 00:12:19 2017 -0700
@@ -1061,7 +1061,7 @@
while tmfnodes:
tree, nodes = tmfnodes.popitem()
- should_visit = self._matcher.visitdir(tree[:-1] or '.')
+ should_visit = self._matcher.visitdir(tree[:-1])
if tree and not should_visit:
continue
@@ -1093,7 +1093,7 @@
fullclnodes=self._fullclnodes,
precomputedellipsis=self._precomputedellipsis)
- if not self._oldmatcher.visitdir(store.tree[:-1] or '.'):
+ if not self._oldmatcher.visitdir(store.tree[:-1]):
yield tree, deltas
else:
# 'deltas' is a generator and we need to consume it even if