Patchwork D1001: ui: recommend tweakdefaults in the default hgrc template

login
register
mail settings
Submitter phabricator
Date Oct. 10, 2017, 6:15 p.m.
Message ID <differential-rev-PHID-DREV-q4l4iwylrzgmulac2xqj-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/24710/
State Superseded
Headers show

Comments

phabricator - Oct. 10, 2017, 6:15 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Were I only slightly bolder, I'd make it on by default in the
  suggested user hgrc.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/ui.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel
phabricator - Oct. 10, 2017, 6:52 p.m.
quark accepted this revision.
quark added a comment.


  Sounds good!

REPOSITORY
  rHG Mercurial

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

To: durin42, #hg-reviewers, quark
Cc: quark, mercurial-devel
phabricator - Oct. 11, 2017, 8:53 a.m.
ryanmce accepted this revision.
ryanmce added a comment.
This revision is now accepted and ready to land.


  yay!

REPOSITORY
  rHG Mercurial

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

To: durin42, #hg-reviewers, quark, pulkit, ryanmce
Cc: ryanmce, quark, mercurial-devel
phabricator - Oct. 11, 2017, 8:57 a.m.
ryanmce added a comment.


  queued

REPOSITORY
  rHG Mercurial

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

To: durin42, #hg-reviewers, quark, pulkit, ryanmce
Cc: ryanmce, quark, mercurial-devel

Patch

diff --git a/mercurial/ui.py b/mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -66,6 +66,11 @@ 
 # username = Jane Doe <jdoe@example.com>
 username =
 
+# We recommend enabling tweakdefaults to get slight improvements to
+# the UI over time. Make sure to set HGPLAIN in the environment when
+# writing scripts!
+# tweakdefaults = True
+
 # uncomment to disable color in command output
 # (see 'hg help color' for details)
 # color = never