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

login
register
mail settings
Submitter Matt Harbison
Date Feb. 15, 2015, 2:12 a.m.
Message ID <50274348a8e4379985a2.1423966356@Envy>
Download mbox | patch
Permalink /patch/7799/
State Accepted
Headers show

Comments

Matt Harbison - Feb. 15, 2015, 2:12 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1423273160 18000
#      Fri Feb 06 20:39:20 2015 -0500
# Node ID 50274348a8e4379985a22623ff631687b0455a5b
# Parent  ff5caa8dfd993680d9602ca6ebb14da9de10d5f4
subrepo: annotate addremove with @annotatesubrepoerror

Patch

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