hgext/histedit.py
changeset 44441 8cdd0b9629e3
parent 44440 d543ef183eb8
parent 44429 24a3a9f7ea77
child 44452 9d2b2df2c2ba
--- a/hgext/histedit.py	Thu Mar 05 10:52:51 2020 -0500
+++ b/hgext/histedit.py	Thu Mar 05 10:46:31 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)