diff -r ddbebce94665 -r 0531dff73d0b mercurial/scmutil.py --- 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