ui: add curses interface to tweakdefaults
This was part of the original proposal, and while *I* don't like the
curses interface, most users anecdotally seem to greatly prefer it to
plain text interfaces.
Differential Revision: https://phab.mercurial-scm.org/D1609
--- a/mercurial/ui.py Wed Dec 06 23:33:01 2017 +0100
+++ b/mercurial/ui.py Wed Dec 06 16:42:24 2017 -0500
@@ -51,6 +51,8 @@
rollback = False
# Make `hg status` report copy information
statuscopies = yes
+# Prefer curses UIs when available. Revert to plain-text with `text`.
+interface = curses
[commands]
# Make `hg status` emit cwd-relative paths by default.