[PATCH 1 of 4] subrepo: annotate addremove with @annotatesubrepoerror

Matt Harbison mharbison72 at gmail.com
Sun Feb 15 02:12:36 UTC 2015


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1423273160 18000
#      Fri Feb 06 20:39:20 2015 -0500
# Node ID 50274348a8e4379985a22623ff631687b0455a5b
# Parent  ff5caa8dfd993680d9602ca6ebb14da9de10d5f4
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 @@
                            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


More information about the Mercurial-devel mailing list