# HG changeset patch # User Sean Farley # Date 1484630157 28800 # Node ID f59ab1b752bdbdc3ecad2ff409bf378aa9558ac0 # Parent 565c070360663af1acf1ec0e3e84b619b229d061 histedit: add tmpdir parameter to ui.edit call diff -r 565c07036066 -r f59ab1b752bd hgext/histedit.py --- a/hgext/histedit.py Mon Jan 16 21:15:21 2017 -0800 +++ b/hgext/histedit.py Mon Jan 16 21:15:57 2017 -0800 @@ -1334,7 +1334,8 @@ rules = '\n'.join([act.torule() for act in actions]) rules += '\n\n' rules += editcomment - rules = ui.edit(rules, ui.username(), {'prefix': 'histedit'}) + rules = ui.edit(rules, ui.username(), {'prefix': 'histedit'}, + tmpdir=repo.path) # Save edit rules in .hg/histedit-last-edit.txt in case # the user needs to ask for help after something