Show More
@@ -1860,10 +1860,7 b' def histedit(ui, repo, *freeargs, **opts' | |||||
1860 | # kludge: _chistedit only works for starting an edit, not aborting |
|
1860 | # kludge: _chistedit only works for starting an edit, not aborting | |
1861 | # or continuing, so fall back to regular _texthistedit for those |
|
1861 | # or continuing, so fall back to regular _texthistedit for those | |
1862 | # operations. |
|
1862 | # operations. | |
1863 | if ( |
|
1863 | if ui.interface(b'histedit') == b'curses' and _getgoal(opts) == goalnew: | |
1864 | ui.interface(b'histedit') == b'curses' |
|
|||
1865 | and _getgoal(opts) == goalnew |
|
|||
1866 | ): |
|
|||
1867 | return _chistedit(ui, repo, freeargs, opts) |
|
1864 | return _chistedit(ui, repo, freeargs, opts) | |
1868 | return _texthistedit(ui, repo, freeargs, opts) |
|
1865 | return _texthistedit(ui, repo, freeargs, opts) | |
1869 |
|
1866 |
General Comments 0
You need to be logged in to leave comments.
Login now