--- a/mercurial/sparse.py Sun Feb 10 14:35:36 2019 -0800
+++ b/mercurial/sparse.py Sat Feb 09 22:50:53 2019 -0800
@@ -277,7 +277,7 @@
"""
# If sparse isn't enabled, sparse matcher matches everything.
if not enabled:
- return matchmod.always(repo.root, '')
+ return matchmod.always()
if not revs or revs == [None]:
revs = [repo.changelog.rev(node)
@@ -305,7 +305,7 @@
pass
if not matchers:
- result = matchmod.always(repo.root, '')
+ result = matchmod.always()
elif len(matchers) == 1:
result = matchers[0]
else: