diff -r 93620a4ba88d -r 2c549abc6b85 mercurial/subrepo.py --- a/mercurial/subrepo.py Thu Feb 07 09:46:36 2019 -0800 +++ b/mercurial/subrepo.py Thu Feb 07 09:40:37 2019 -0800 @@ -847,8 +847,7 @@ @annotatesubrepoerror def removefiles(self, matcher, prefix, after, force, subrepos, dryrun, warnings): - return cmdutil.remove(self.ui, self._repo, matcher, - self.wvfs.reljoin(prefix, self._path), + return cmdutil.remove(self.ui, self._repo, matcher, prefix, after, force, subrepos, dryrun) @annotatesubrepoerror