( )⚙ D5540 histedit: fix --continue and --abort when curses is enabled

This is an archive of the discontinued Mercurial Phabricator instance.

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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durin42 created this revision.Jan 9 2019, 6:00 PM
martinvonz added inline comments.
hgext/histedit.py
1605–1606

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.