diff -r a4cac7b0ea4f -r f10cb49951e1 mercurial/subrepo.py --- a/mercurial/subrepo.py Tue Apr 17 13:46:18 2018 +0200 +++ b/mercurial/subrepo.py Wed Apr 18 19:25:35 2018 +0530 @@ -352,7 +352,7 @@ matched by the match function ''' - def forget(self, match, prefix, dryrun, confirm): + def forget(self, match, prefix, dryrun, interactive): return ([], []) def removefiles(self, matcher, prefix, after, force, subrepos, @@ -816,10 +816,10 @@ return ctx.walk(match) @annotatesubrepoerror - def forget(self, match, prefix, dryrun, confirm): + def forget(self, match, prefix, dryrun, interactive): return cmdutil.forget(self.ui, self._repo, match, self.wvfs.reljoin(prefix, self._path), - True, dryrun=dryrun, confirm=confirm) + True, dryrun=dryrun, interactive=interactive) @annotatesubrepoerror def removefiles(self, matcher, prefix, after, force, subrepos,