changeset 30838:eb78ec9e97b7

patchbomb: add tmpdir parameter to ui.edit call
author Sean Farley <sean@farley.io>
date Mon, 16 Jan 2017 21:17:39 -0800
parents f59ab1b752bd
children d7f5a35ac6cd abf029200e19
files hgext/patchbomb.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/patchbomb.py	Mon Jan 16 21:15:57 2017 -0800
+++ b/hgext/patchbomb.py	Mon Jan 16 21:17:39 2017 -0800
@@ -271,7 +271,7 @@
     else:
         ui.write(_('\nWrite the introductory message for the '
                    'patch series.\n\n'))
-        body = ui.edit(defaultbody, sender)
+        body = ui.edit(defaultbody, sender, tmpdir=repo.path)
         # Save series description in case sendmail fails
         msgfile = repo.vfs('last-email.txt', 'wb')
         msgfile.write(body)