Mercurial > public > mercurial-scm > hg-stable
diff mercurial/subrepo.py @ 41662:b2df5dc3ebfb
remove: pass around uipathfn and use instead of m.rel() (API)
Same as previous commit, but now for remove.
Differential Revision: https://phab.mercurial-scm.org/D5902
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 07 Feb 2019 23:19:33 -0800 |
parents | f8b18583049f |
children | 6a447a3d1bd0 |
line wrap: on
line diff
--- a/mercurial/subrepo.py Thu Feb 07 11:15:30 2019 -0800 +++ b/mercurial/subrepo.py Thu Feb 07 23:19:33 2019 -0800 @@ -358,7 +358,7 @@ def forget(self, match, prefix, dryrun, interactive): return ([], []) - def removefiles(self, matcher, prefix, after, force, subrepos, + def removefiles(self, matcher, prefix, uipathfn, after, force, subrepos, dryrun, warnings): """remove the matched files from the subrepository and the filesystem, possibly by force and/or after the file has been removed from the @@ -841,9 +841,9 @@ True, dryrun=dryrun, interactive=interactive) @annotatesubrepoerror - def removefiles(self, matcher, prefix, after, force, subrepos, + def removefiles(self, matcher, prefix, uipathfn, after, force, subrepos, dryrun, warnings): - return cmdutil.remove(self.ui, self._repo, matcher, prefix, + return cmdutil.remove(self.ui, self._repo, matcher, prefix, uipathfn, after, force, subrepos, dryrun) @annotatesubrepoerror