transplant: set a blockedtag when invoking external filter
authorSimon Farnsworth <simonfar@fb.com>
Mon, 06 Mar 2017 03:27:41 -0800
changeset 31202 2db38ef73ce8
parent 31201 50d76bae15cf
child 31203 a8e4322f64c1
transplant: set a blockedtag when invoking external filter
hgext/transplant.py
--- 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)