619 fp.write(''.join(lines)) |
619 fp.write(''.join(lines)) |
620 finally: |
620 finally: |
621 fp.close() |
621 fp.close() |
622 |
622 |
623 @annotatesubrepoerror |
623 @annotatesubrepoerror |
624 def add(self, ui, match, dryrun, listsubrepos, prefix, explicitonly): |
624 def add(self, ui, match, prefix, explicitonly, **opts): |
625 return cmdutil.add(ui, self._repo, match, dryrun, listsubrepos, |
625 return cmdutil.add(ui, self._repo, match, |
626 os.path.join(prefix, self._path), explicitonly) |
626 os.path.join(prefix, self._path), explicitonly, |
|
627 **opts) |
627 |
628 |
628 def addremove(self, m, prefix, opts, dry_run, similarity): |
629 def addremove(self, m, prefix, opts, dry_run, similarity): |
629 # In the same way as sub directories are processed, once in a subrepo, |
630 # In the same way as sub directories are processed, once in a subrepo, |
630 # always entry any of its subrepos. Don't corrupt the options that will |
631 # always entry any of its subrepos. Don't corrupt the options that will |
631 # be used to process sibling subrepos however. |
632 # be used to process sibling subrepos however. |