##// END OF EJS Templates
patch: set a blockedtag when running an external filter
Simon Farnsworth -
r31198:71a6723c default
parent child Browse files
Show More
@@ -1064,7 +1064,8 b' the hunk is left unchanged.'
1064 # Start the editor and wait for it to complete
1064 # Start the editor and wait for it to complete
1065 editor = ui.geteditor()
1065 editor = ui.geteditor()
1066 ret = ui.system("%s \"%s\"" % (editor, patchfn),
1066 ret = ui.system("%s \"%s\"" % (editor, patchfn),
1067 environ={'HGUSER': ui.username()})
1067 environ={'HGUSER': ui.username()},
1068 blockedtag='filterpatch')
1068 if ret != 0:
1069 if ret != 0:
1069 ui.warn(_("editor exited with exit code %d\n") % ret)
1070 ui.warn(_("editor exited with exit code %d\n") % ret)
1070 continue
1071 continue
General Comments 0
You need to be logged in to leave comments. Login now