diff -r e12553cfd0a4 -r 7080652af6e6 hgext/histedit.py --- a/hgext/histedit.py Thu Jan 19 23:01:32 2017 +0900 +++ b/hgext/histedit.py Wed Jan 18 18:25:51 2017 -0800 @@ -1335,7 +1335,7 @@ rules += '\n\n' rules += editcomment rules = ui.edit(rules, ui.username(), {'prefix': 'histedit'}, - tmpdir=repo.path) + repopath=repo.path) # Save edit rules in .hg/histedit-last-edit.txt in case # the user needs to ask for help after something