hgext/patchbomb.py
changeset 30838 eb78ec9e97b7
parent 30640 a150173da1c1
child 30848 7080652af6e6
--- 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)