changeset 31202:2db38ef73ce8

transplant: set a blockedtag when invoking external filter
author Simon Farnsworth <simonfar@fb.com>
date Mon, 06 Mar 2017 03:27:41 -0800
parents 50d76bae15cf
children a8e4322f64c1
files hgext/transplant.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/transplant.py	Mon Mar 06 03:27:24 2017 -0800
+++ b/hgext/transplant.py	Mon Mar 06 03:27:41 2017 -0800
@@ -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)