Page MenuHomePhabricator

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

Authored by durin42 on Jan 9 2019, 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.

Event Timeline

durin42 created this revision.Jan 9 2019, 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.Jan 10 2019, 10:24 AM
martinvonz accepted this revision.Jan 10 2019, 1:45 PM
This revision is now accepted and ready to land.Jan 10 2019, 1:45 PM
This revision was automatically updated to reflect the committed changes.