Mercurial > hg-stable
changeset 44197:24a3a9f7ea77 stable
histedit: fix formatting after D8150
Differential Revision: https://phab.mercurial-scm.org/D8230
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 05 Mar 2020 08:30:11 -0800 |
parents | 927137fc3035 |
children | 4bd35d25903f |
files | hgext/histedit.py |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/histedit.py Thu Mar 05 17:17:02 2020 +0100 +++ b/hgext/histedit.py Thu Mar 05 08:30:11 2020 -0800 @@ -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)