diff hgext/patchbomb.py @ 30848:7080652af6e6 stable

ui: rename tmpdir parameter to more specific repopath This was requested by Augie and I agree that repopath is more descriptive.
author Sean Farley <sean@farley.io>
date Wed, 18 Jan 2017 18:25:51 -0800
parents eb78ec9e97b7
children 8018b90f8307
line wrap: on
line diff
--- a/hgext/patchbomb.py	Thu Jan 19 23:01:32 2017 +0900
+++ b/hgext/patchbomb.py	Wed Jan 18 18:25:51 2017 -0800
@@ -271,7 +271,7 @@
     else:
         ui.write(_('\nWrite the introductory message for the '
                    'patch series.\n\n'))
-        body = ui.edit(defaultbody, sender, tmpdir=repo.path)
+        body = ui.edit(defaultbody, sender, repopath=repo.path)
         # Save series description in case sendmail fails
         msgfile = repo.vfs('last-email.txt', 'wb')
         msgfile.write(body)