histedit: fix --continue and --abort when curses is enabled
ClosedPublic

Authored by durin42 on Wed, Jan 9, 6:00 PM.

Details

Summary

I overlooked this when I did the initial import.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
durin42 created this revision.Wed, Jan 9, 6:00 PM
martinvonz added inline comments.
hgext/histedit.py
1599–1600

Maybe use ... and _getgoal(opts) == goalnew instead? In addition to being simpler, that seems like it would also correctly handle the --edit-plan option (which I didn't even know existed until just now).

durin42 updated this revision to Diff 13136.Thu, Jan 10, 10:24 AM
martinvonz accepted this revision.Thu, Jan 10, 1:45 PM
This revision is now accepted and ready to land.Thu, Jan 10, 1:45 PM
This revision was automatically updated to reflect the committed changes.