diff -r 2b8d5c55ae67 -r c654eac03452 mercurial/subrepo.py --- a/mercurial/subrepo.py Tue Jan 17 19:10:54 2012 -0500 +++ b/mercurial/subrepo.py Tue Jan 17 19:10:58 2012 -0500 @@ -310,7 +310,7 @@ """ raise NotImplementedError - def add(self, ui, match, dryrun, prefix): + def add(self, ui, match, dryrun, listsubrepos, prefix, explicitonly): return [] def status(self, rev2, **opts): @@ -396,9 +396,9 @@ addpathconfig('default-push', defpushpath) fp.close() - def add(self, ui, match, dryrun, prefix): - return cmdutil.add(ui, self._repo, match, dryrun, True, - os.path.join(prefix, self._path)) + def add(self, ui, match, dryrun, listsubrepos, prefix, explicitonly): + return cmdutil.add(ui, self._repo, match, dryrun, listsubrepos, + os.path.join(prefix, self._path), explicitonly) def status(self, rev2, **opts): try: