D1444: tweakdefaults: turn on ui.statuscopies
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Nov 17 09:12:20 EST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG58fea953e130: tweakdefaults: turn on ui.statuscopies (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1444?vs=3588&id=3591
REVISION DETAIL
https://phab.mercurial-scm.org/D1444
AFFECTED FILES
mercurial/ui.py
tests/test-status.t
CHANGE DETAILS
diff --git a/tests/test-status.t b/tests/test-status.t
--- a/tests/test-status.t
+++ b/tests/test-status.t
@@ -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
diff --git a/mercurial/ui.py b/mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -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.
To: martinvonz, #hg-reviewers, dlax, yuja
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list