tweakdefaults: turn on ui.statuscopies
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 16 Nov 2017 17:11:14 -0800
changeset 35067 929858db4d22
parent 35066 57d56f603f70
child 35068 57c79542bebb
tweakdefaults: turn on ui.statuscopies Seems obviously useful and probably off by default for historical reasons. Differential Revision: https://phab.mercurial-scm.org/D1444
mercurial/ui.py
tests/test-status.t
--- a/mercurial/ui.py	Wed Nov 15 17:54:27 2017 -0800
+++ b/mercurial/ui.py	Thu Nov 16 17:11:14 2017 -0800
@@ -49,6 +49,8 @@
 [ui]
 # The rollback command is dangerous. As a rule, don't use it.
 rollback = False
+# Make `hg status` report copy information
+statuscopies = yes
 
 [commands]
 # Make `hg status` emit cwd-relative paths by default.
--- a/tests/test-status.t	Wed Nov 15 17:54:27 2017 -0800
+++ b/tests/test-status.t	Thu Nov 16 17:11:14 2017 -0800
@@ -572,6 +572,10 @@
   $ hg st --config ui.statuscopies=false
   M a
   R b
+  $ hg st --config ui.tweakdefaults=yes
+  M a
+    b
+  R b
 
 using log status template (issue5155)
   $ hg log -Tstatus -r 'wdir()' -C