mercurial/subrepo.py
changeset 41653 16a49c778bde
parent 41652 6a447a3d1bd0
child 41673 1db5ae4b0dda
--- a/mercurial/subrepo.py	Thu Feb 07 23:25:39 2019 -0800
+++ b/mercurial/subrepo.py	Fri Feb 08 13:08:01 2019 -0800
@@ -355,7 +355,7 @@
         matched by the match function
         '''
 
-    def forget(self, match, prefix, dryrun, interactive):
+    def forget(self, match, prefix, uipathfn, dryrun, interactive):
         return ([], [])
 
     def removefiles(self, matcher, prefix, uipathfn, after, force, subrepos,
@@ -836,8 +836,8 @@
         return ctx.walk(match)
 
     @annotatesubrepoerror
-    def forget(self, match, prefix, dryrun, interactive):
-        return cmdutil.forget(self.ui, self._repo, match, prefix,
+    def forget(self, match, prefix, uipathfn, dryrun, interactive):
+        return cmdutil.forget(self.ui, self._repo, match, prefix, uipathfn,
                               True, dryrun=dryrun, interactive=interactive)
 
     @annotatesubrepoerror