mercurial/subrepo.py
changeset 23577 597b071a0e0d
parent 23576 70a7478c33de
child 23578 d0546e8e1def
--- a/mercurial/subrepo.py	Sat Dec 13 14:26:38 2014 -0500
+++ b/mercurial/subrepo.py	Sat Dec 13 19:23:30 2014 -0500
@@ -496,7 +496,7 @@
         '''
         pass
 
-    def forget(self, ui, match, prefix):
+    def forget(self, match, prefix):
         return ([], [])
 
     def removefiles(self, ui, matcher, prefix, after, force, subrepos):
@@ -850,8 +850,8 @@
         return ctx.walk(match)
 
     @annotatesubrepoerror
-    def forget(self, ui, match, prefix):
-        return cmdutil.forget(ui, self._repo, match,
+    def forget(self, match, prefix):
+        return cmdutil.forget(self.ui, self._repo, match,
                               os.path.join(prefix, self._path), True)
 
     @annotatesubrepoerror