Submitter | phabricator |
---|---|
Date | March 5, 2020, 4:31 p.m. |
Message ID | <differential-rev-PHID-DREV-dzj3boxlylfj4lkmzbye-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/45505/ |
State | Superseded |
Headers | show |
Comments
martinvonz added a comment. Sorry, I accidentally queued this myself. OTOH, the patch already was accepted by two people and it seems entirely uncontroversial and it's nice to have tests passing, so I'll leave it queued and will also merge it into the default branch so tests pass there too. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8230/new/ REVISION DETAIL https://phab.mercurial-scm.org/D8230 To: martinvonz, durin42, #hg-reviewers, Alphare, pulkit Cc: mercurial-devel
Patch
diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -1860,10 +1860,7 @@ # kludge: _chistedit only works for starting an edit, not aborting # or continuing, so fall back to regular _texthistedit for those # operations. - if ( - ui.interface(b'histedit') == b'curses' - and _getgoal(opts) == goalnew - ): + if ui.interface(b'histedit') == b'curses' and _getgoal(opts) == goalnew: return _chistedit(ui, repo, freeargs, opts) return _texthistedit(ui, repo, freeargs, opts)