changeset 24132:b5898bf7119a

subrepo: annotate addremove with @annotatesubrepoerror
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 06 Feb 2015 20:39:20 -0500
parents a2d869e22b5e
children 79c2c29c71ae
files mercurial/subrepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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