Comments
Patch
@@ -2028,7 +2028,7 @@
sub = wctx.sub(subpath)
try:
submatch = matchmod.narrowmatcher(subpath, match)
- subbad, subforgot = sub.forget(ui, submatch, prefix)
+ subbad, subforgot = sub.forget(submatch, prefix)
bad.extend([subpath + '/' + f for f in subbad])
forgot.extend([subpath + '/' + f for f in subforgot])
except error.LookupError:
@@ -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