Mercurial > hg-stable
changeset 24267:365fdbc54f1f
histedit: remove extra histedit constructor call
In a previous commit we removed the extra histedit object instance being
constructed in --continue and --abort. The new --edit-todo missed this fix
though (which means the state object it produces doesn't have the locks on it).
It's not breaking anything now, but let's go ahead and clean that up before we
forget.
author | Durham Goode <durham@fb.com> |
---|---|
date | Wed, 11 Mar 2015 07:19:55 -0700 |
parents | c14b1d349af3 |
children | cf7d252d8c30 |
files | hgext/histedit.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/histedit.py Wed Mar 11 09:34:22 2015 -0400 +++ b/hgext/histedit.py Wed Mar 11 07:19:55 2015 -0700 @@ -616,7 +616,6 @@ state.read() state = bootstrapcontinue(ui, state, opts) elif goal == 'edit-plan': - state = histeditstate(repo) state.read() if not rules: comment = editcomment % (state.parentctx, node.short(state.topmost))