mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
patchbomb: add tmpdir parameter to ui.edit call
This commit is contained in:
parent
df48d2115f
commit
934f476aec
@ -271,7 +271,7 @@ def _getdescription(repo, defaultbody, sender, **opts):
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user