356 ''' |
356 ''' |
357 |
357 |
358 def forget(self, match, prefix, dryrun, interactive): |
358 def forget(self, match, prefix, dryrun, interactive): |
359 return ([], []) |
359 return ([], []) |
360 |
360 |
361 def removefiles(self, matcher, prefix, after, force, subrepos, |
361 def removefiles(self, matcher, prefix, uipathfn, after, force, subrepos, |
362 dryrun, warnings): |
362 dryrun, warnings): |
363 """remove the matched files from the subrepository and the filesystem, |
363 """remove the matched files from the subrepository and the filesystem, |
364 possibly by force and/or after the file has been removed from the |
364 possibly by force and/or after the file has been removed from the |
365 filesystem. Return 0 on success, 1 on any warning. |
365 filesystem. Return 0 on success, 1 on any warning. |
366 """ |
366 """ |
839 def forget(self, match, prefix, dryrun, interactive): |
839 def forget(self, match, prefix, dryrun, interactive): |
840 return cmdutil.forget(self.ui, self._repo, match, prefix, |
840 return cmdutil.forget(self.ui, self._repo, match, prefix, |
841 True, dryrun=dryrun, interactive=interactive) |
841 True, dryrun=dryrun, interactive=interactive) |
842 |
842 |
843 @annotatesubrepoerror |
843 @annotatesubrepoerror |
844 def removefiles(self, matcher, prefix, after, force, subrepos, |
844 def removefiles(self, matcher, prefix, uipathfn, after, force, subrepos, |
845 dryrun, warnings): |
845 dryrun, warnings): |
846 return cmdutil.remove(self.ui, self._repo, matcher, prefix, |
846 return cmdutil.remove(self.ui, self._repo, matcher, prefix, uipathfn, |
847 after, force, subrepos, dryrun) |
847 after, force, subrepos, dryrun) |
848 |
848 |
849 @annotatesubrepoerror |
849 @annotatesubrepoerror |
850 def revert(self, substate, *pats, **opts): |
850 def revert(self, substate, *pats, **opts): |
851 # reverting a subrepo is a 2 step process: |
851 # reverting a subrepo is a 2 step process: |