Mercurial > public > mercurial-scm > hg-stable
diff mercurial/subrepo.py @ 41664:16a49c778bde
forget: pass around uipathfn and use instead of m.rel() (API)
Differential Revision: https://phab.mercurial-scm.org/D5911
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 08 Feb 2019 13:08:01 -0800 |
parents | 6a447a3d1bd0 |
children | 1db5ae4b0dda |
line wrap: on
line diff
--- a/mercurial/subrepo.py Thu Feb 07 23:25:39 2019 -0800 +++ b/mercurial/subrepo.py Fri Feb 08 13:08:01 2019 -0800 @@ -355,7 +355,7 @@ matched by the match function ''' - def forget(self, match, prefix, dryrun, interactive): + def forget(self, match, prefix, uipathfn, dryrun, interactive): return ([], []) def removefiles(self, matcher, prefix, uipathfn, after, force, subrepos, @@ -836,8 +836,8 @@ return ctx.walk(match) @annotatesubrepoerror - def forget(self, match, prefix, dryrun, interactive): - return cmdutil.forget(self.ui, self._repo, match, prefix, + def forget(self, match, prefix, uipathfn, dryrun, interactive): + return cmdutil.forget(self.ui, self._repo, match, prefix, uipathfn, True, dryrun=dryrun, interactive=interactive) @annotatesubrepoerror