mercurial/changegroup.py
changeset 41676 0531dff73d0b
parent 41673 1db5ae4b0dda
child 41719 5f9d057ba28c
--- a/mercurial/changegroup.py	Sun Feb 10 14:35:36 2019 -0800
+++ b/mercurial/changegroup.py	Sat Feb 09 22:50:53 2019 -0800
@@ -1313,9 +1313,9 @@
     assert version in supportedoutgoingversions(repo)
 
     if matcher is None:
-        matcher = matchmod.always(repo.root, '')
+        matcher = matchmod.always()
     if oldmatcher is None:
-        oldmatcher = matchmod.never(repo.root, '')
+        oldmatcher = matchmod.never()
 
     if version == '01' and not matcher.always():
         raise error.ProgrammingError('version 01 changegroups do not support '