# HG changeset patch # User Martin von Zweigbergk # Date 2020-03-05 16:30:11 # Node ID 24a3a9f7ea7713692a0a7d64884ab4d6f1cea666 # Parent 927137fc3035932683b36a9732cff339b8b05802 histedit: fix formatting after D8150 Differential Revision: https://phab.mercurial-scm.org/D8230 diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -1860,10 +1860,7 @@ def histedit(ui, repo, *freeargs, **opts # 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)