changeset 35090:929858db4d22

tweakdefaults: turn on ui.statuscopies Seems obviously useful and probably off by default for historical reasons. Differential Revision: https://phab.mercurial-scm.org/D1444
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 16 Nov 2017 17:11:14 -0800
parents 57d56f603f70
children 57c79542bebb
files mercurial/ui.py tests/test-status.t
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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