D8101: help: when possible, indicate flags implied by tweakdefaults
valentin.gatienbaron (Valentin Gatien-Baron)
phabricator at mercurial-scm.org
Mon Feb 10 00:12:56 UTC 2020
valentin.gatienbaron created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D8101
AFFECTED FILES
mercurial/cmdutil.py
mercurial/commands.py
CHANGE DETAILS
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -6646,7 +6646,7 @@
(b'i', b'ignored', None, _(b'show only ignored files')),
(b'n', b'no-status', None, _(b'hide status prefix')),
(b't', b'terse', _NOTTERSE, _(b'show the terse output (EXPERIMENTAL)')),
- (b'C', b'copies', None, _(b'show source of copied files')),
+ (b'C', b'copies', None, _(b'show source of copied files (DEFAULT: ui.statuscopies)')),
(
b'0',
b'print0',
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -209,7 +209,7 @@
b'p',
b'show-function',
None,
- _(b'show which function each change is in'),
+ _(b'show which function each change is in (DEFAULT: diff.showfunc)'),
),
(b'', b'reverse', None, _(b'produce a diff that undoes the changes')),
]
To: valentin.gatienbaron, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list