changeset 41675 | ddbebce94665 |
parent 41673 | 1db5ae4b0dda |
child 41676 | 0531dff73d0b |
--- a/mercurial/subrepo.py Sun Feb 10 21:33:21 2019 -0800 +++ b/mercurial/subrepo.py Sun Feb 10 14:35:36 2019 -0800 @@ -821,8 +821,7 @@ try: sm = sub.matchfileset(expr, badfn=badfn) - pm = matchmod.prefixdirmatcher(repo.root, repo.getcwd(), - subpath, sm, badfn=badfn) + pm = matchmod.prefixdirmatcher(subpath, sm, badfn=badfn) matchers.append(pm) except error.LookupError: self.ui.status(_("skipping missing subrepository: %s\n")