Patchwork D8230: histedit: fix formatting after D8150

login
register
mail settings
Submitter phabricator
Date March 5, 2020, 5:25 p.m.
Message ID <d4fea710c6cc80d3b696b5be185ba2f9@localhost.localdomain>
Download mbox | patch
Permalink /patch/45515/
State Not Applicable
Headers show

Comments

phabricator - March 5, 2020, 5:25 p.m.
Closed by commit rHGa02418dfe7f2: histedit: fix formatting after D8150 (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8230?vs=20509&id=20519

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8230/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8230

AFFECTED FILES
  hgext/histedit.py

CHANGE DETAILS




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)