Submitter | Sean Farley |
---|---|
Date | Jan. 17, 2017, 5:41 a.m. |
Message ID | <5b2cff25354c9ad573be.1484631674@1.0.0.127.in-addr.arpa> |
Download | mbox | patch |
Permalink | /patch/18233/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py index de6ff1e..f7763eb 100644 --- a/hgext/patchbomb.py +++ b/hgext/patchbomb.py @@ -269,11 +269,11 @@ def _getdescription(repo, defaultbody, s if opts.get('desc'): body = open(opts.get('desc')).read() 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) msgfile.close() return body