[Bug 6079] New: histedit uses curses by default (against doc)

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sun Feb 17 07:34:10 UTC 2019


https://bz.mercurial-scm.org/show_bug.cgi?id=6079

            Bug ID: 6079
           Summary: histedit uses curses by default (against doc)
           Product: Mercurial
           Version: 4.9
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: histedit
          Assignee: bugzilla at mercurial-scm.org
          Reporter: from_hg at squelart.com
                CC: mercurial-devel at mercurial-scm.org

After encountering the issue reported in bug 6078, I installed windows-curses,
and then saw that indeed histedit now wants to use curses.

I personally preferred the old way, using the editor I'd chosen in $EDITOR. But
I guess it's a good way to make people notice! :-)

Now, reading the release notes:
"'hg histedit' will now present a curses UI if curses is available and
'ui.interface' or 'ui.interface.histedit' is set to 'curses'."

I had not set any of these, but was still presented with curses.

Setting 'ui.interface.histedit' to "text" (which `hg help config` says should
be the default) reverted to using my preferred $EDITOR, but that was not
obvious to find out!

So I think the default should stay "text" as before.
Otherwise the documentation should be updated to reflect the new default, and
more helpfully describe how to change it back.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list