subrepo: annotate addremove with @annotatesubrepoerror
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 06 Feb 2015 20:39:20 -0500
changeset 24132 b5898bf7119a
parent 24131 a2d869e22b5e
child 24133 79c2c29c71ae
subrepo: annotate addremove with @annotatesubrepoerror
mercurial/subrepo.py
--- a/mercurial/subrepo.py	Tue Feb 17 19:59:26 2015 -0800
+++ b/mercurial/subrepo.py	Fri Feb 06 20:39:20 2015 -0500
@@ -626,6 +626,7 @@
                            os.path.join(prefix, self._path), explicitonly,
                            **opts)
 
+    @annotatesubrepoerror
     def addremove(self, m, prefix, opts, dry_run, similarity):
         # In the same way as sub directories are processed, once in a subrepo,
         # always entry any of its subrepos.  Don't corrupt the options that will