# HG changeset patch # User Matt Harbison # Date 2015-02-07 01:39:20 # Node ID b5898bf7119afba8107c7794e64ad5c647351122 # Parent a2d869e22b5e14da6ef6f0d1aaa332e4ba149ede subrepo: annotate addremove with @annotatesubrepoerror diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -626,6 +626,7 @@ class hgsubrepo(abstractsubrepo): 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