Patchwork [6,of,7] transplant: set a blockedtag when invoking external filter

login
register
mail settings
Submitter Simon Farnsworth
Date March 6, 2017, 11:28 a.m.
Message ID <5b8f7a33145a182a4d49.1488799687@devvm022.lla2.facebook.com>
Download mbox | patch
Permalink /patch/18938/
State Accepted
Headers show

Comments

Simon Farnsworth - March 6, 2017, 11:28 a.m.
# HG changeset patch
# User Simon Farnsworth <simonfar@fb.com>
# Date 1488799661 28800
#      Mon Mar 06 03:27:41 2017 -0800
# Node ID 5b8f7a33145a182a4d4985972a8e4425eb20908f
# Parent  fe95476c568b895441a14bfb2c83c6848705cd5e
transplant: set a blockedtag when invoking external filter

Patch

diff --git a/hgext/transplant.py b/hgext/transplant.py
--- a/hgext/transplant.py
+++ b/hgext/transplant.py
@@ -260,7 +260,8 @@ 
                            environ={'HGUSER': changelog[1],
                                     'HGREVISION': nodemod.hex(node),
                                     },
-                           onerr=error.Abort, errprefix=_('filter failed'))
+                           onerr=error.Abort, errprefix=_('filter failed'),
+                           blockedtag='transplant_filter')
             user, date, msg = self.parselog(file(headerfile))[1:4]
         finally:
             os.unlink(headerfile)