mercurial/subrepo.py
changeset 24132 b5898bf7119a
parent 23991 07c1a7d1ef69
child 24134 afed5d2e7985
equal deleted inserted replaced
24131:a2d869e22b5e 24132:b5898bf7119a
   624     def add(self, ui, match, prefix, explicitonly, **opts):
   624     def add(self, ui, match, prefix, explicitonly, **opts):
   625         return cmdutil.add(ui, self._repo, match,
   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                            **opts)
   628 
   628 
       
   629     @annotatesubrepoerror
   629     def addremove(self, m, prefix, opts, dry_run, similarity):
   630     def addremove(self, m, prefix, opts, dry_run, similarity):
   630         # In the same way as sub directories are processed, once in a subrepo,
   631         # In the same way as sub directories are processed, once in a subrepo,
   631         # always entry any of its subrepos.  Don't corrupt the options that will
   632         # always entry any of its subrepos.  Don't corrupt the options that will
   632         # be used to process sibling subrepos however.
   633         # be used to process sibling subrepos however.
   633         opts = copy.copy(opts)
   634         opts = copy.copy(opts)