mercurial/subrepo.py
changeset 37756 e7bf5a73e4e1
parent 37578 56df2ca5c032
child 37762 7269b87f817c
--- a/mercurial/subrepo.py	Fri Apr 13 23:12:07 2018 -0400
+++ b/mercurial/subrepo.py	Thu Mar 22 16:11:42 2018 +0530
@@ -352,7 +352,7 @@
         matched by the match function
         '''
 
-    def forget(self, match, prefix, dryrun):
+    def forget(self, match, prefix, dryrun, confirm):
         return ([], [])
 
     def removefiles(self, matcher, prefix, after, force, subrepos,
@@ -815,10 +815,10 @@
         return ctx.walk(match)
 
     @annotatesubrepoerror
-    def forget(self, match, prefix, dryrun):
+    def forget(self, match, prefix, dryrun, confirm):
         return cmdutil.forget(self.ui, self._repo, match,
                               self.wvfs.reljoin(prefix, self._path),
-                              True, dryrun=dryrun)
+                              True, dryrun=dryrun, confirm=confirm)
 
     @annotatesubrepoerror
     def removefiles(self, matcher, prefix, after, force, subrepos,