mercurial/scmutil.py
changeset 41676 0531dff73d0b
parent 41666 a950b65cbe1b
child 41684 a8d3a4be066e
--- a/mercurial/scmutil.py	Sun Feb 10 14:35:36 2019 -0800
+++ b/mercurial/scmutil.py	Sat Feb 09 22:50:53 2019 -0800
@@ -821,11 +821,11 @@
 
 def matchall(repo):
     '''Return a matcher that will efficiently match everything.'''
-    return matchmod.always(repo.root, repo.getcwd())
+    return matchmod.always()
 
 def matchfiles(repo, files, badfn=None):
     '''Return a matcher that will efficiently match exactly these files.'''
-    return matchmod.exact(repo.root, repo.getcwd(), files, badfn=badfn)
+    return matchmod.exact(files, badfn=badfn)
 
 def parsefollowlinespattern(repo, rev, pat, msg):
     """Return a file name from `pat` pattern suitable for usage in followlines