Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
37777:a4cac7b0ea4f | 37778:f10cb49951e1 |
---|---|
350 ''' | 350 ''' |
351 walk recursively through the directory tree, finding all files | 351 walk recursively through the directory tree, finding all files |
352 matched by the match function | 352 matched by the match function |
353 ''' | 353 ''' |
354 | 354 |
355 def forget(self, match, prefix, dryrun, confirm): | 355 def forget(self, match, prefix, dryrun, interactive): |
356 return ([], []) | 356 return ([], []) |
357 | 357 |
358 def removefiles(self, matcher, prefix, after, force, subrepos, | 358 def removefiles(self, matcher, prefix, after, force, subrepos, |
359 dryrun, warnings): | 359 dryrun, warnings): |
360 """remove the matched files from the subrepository and the filesystem, | 360 """remove the matched files from the subrepository and the filesystem, |
814 def walk(self, match): | 814 def walk(self, match): |
815 ctx = self._repo[None] | 815 ctx = self._repo[None] |
816 return ctx.walk(match) | 816 return ctx.walk(match) |
817 | 817 |
818 @annotatesubrepoerror | 818 @annotatesubrepoerror |
819 def forget(self, match, prefix, dryrun, confirm): | 819 def forget(self, match, prefix, dryrun, interactive): |
820 return cmdutil.forget(self.ui, self._repo, match, | 820 return cmdutil.forget(self.ui, self._repo, match, |
821 self.wvfs.reljoin(prefix, self._path), | 821 self.wvfs.reljoin(prefix, self._path), |
822 True, dryrun=dryrun, confirm=confirm) | 822 True, dryrun=dryrun, interactive=interactive) |
823 | 823 |
824 @annotatesubrepoerror | 824 @annotatesubrepoerror |
825 def removefiles(self, matcher, prefix, after, force, subrepos, | 825 def removefiles(self, matcher, prefix, after, force, subrepos, |
826 dryrun, warnings): | 826 dryrun, warnings): |
827 return cmdutil.remove(self.ui, self._repo, matcher, | 827 return cmdutil.remove(self.ui, self._repo, matcher, |