diff mercurial/subrepo.py @ 24132:b5898bf7119a

subrepo: annotate addremove with @annotatesubrepoerror
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 06 Feb 2015 20:39:20 -0500
parents 07c1a7d1ef69
children afed5d2e7985
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