Mercurial > public > mercurial-scm > hg-stable
diff mercurial/subrepo.py @ 37778:f10cb49951e1
forget: rename --confirm to --interactive
Differential Revision: https://phab.mercurial-scm.org/D3405
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Wed, 18 Apr 2018 19:25:35 +0530 |
parents | 7269b87f817c |
children | c7eb9bce6041 |
line wrap: on
line diff
--- 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,