Mercurial > hg-stable
changeset 39936:0d703063d0c8
formatter: remove experimental marker from -T option
I think it's good enough to stabilize the feature, at least for the core
and non-experimental commands.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 30 Sep 2018 15:53:36 +0900 |
parents | 66df1059b7c0 |
children | e743907d0932 |
files | mercurial/cmdutil.py tests/test-alias.t tests/test-dispatch.t tests/test-extension.t tests/test-help.t |
diffstat | 5 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Sun Sep 30 15:37:09 2018 +0900 +++ b/mercurial/cmdutil.py Sun Sep 30 15:53:36 2018 +0900 @@ -97,10 +97,9 @@ _('record the specified user as committer'), _('USER')), ] -# hidden for now formatteropts = [ ('T', 'template', '', - _('display with template (EXPERIMENTAL)'), _('TEMPLATE')), + _('display with template'), _('TEMPLATE')), ] templateopts = [
--- a/tests/test-alias.t Sun Sep 30 15:37:09 2018 +0900 +++ b/tests/test-alias.t Sun Sep 30 15:53:36 2018 +0900 @@ -194,6 +194,7 @@ -I --include PATTERN [+] include names matching the given patterns -X --exclude PATTERN [+] exclude names matching the given patterns -S --subrepos recurse into subrepositories + -T --template TEMPLATE display with template (some details hidden, use --verbose to show complete help)
--- a/tests/test-dispatch.t Sun Sep 30 15:37:09 2018 +0900 +++ b/tests/test-dispatch.t Sun Sep 30 15:53:36 2018 +0900 @@ -26,6 +26,7 @@ --decode apply any matching decode filter -I --include PATTERN [+] include names matching the given patterns -X --exclude PATTERN [+] exclude names matching the given patterns + -T --template TEMPLATE display with template (use 'hg cat -h' to show more help) [255]
--- a/tests/test-extension.t Sun Sep 30 15:37:09 2018 +0900 +++ b/tests/test-extension.t Sun Sep 30 15:53:36 2018 +0900 @@ -604,6 +604,8 @@ options: + -T --template TEMPLATE display with template + (some details hidden, use --verbose to show complete help) @@ -614,7 +616,7 @@ options: - -T --template TEMPLATE display with template (EXPERIMENTAL) + -T --template TEMPLATE display with template global options ([+] can be repeated): @@ -653,7 +655,7 @@ options: - -T --template TEMPLATE display with template (EXPERIMENTAL) + -T --template TEMPLATE display with template global options ([+] can be repeated):
--- a/tests/test-help.t Sun Sep 30 15:37:09 2018 +0900 +++ b/tests/test-help.t Sun Sep 30 15:53:36 2018 +0900 @@ -637,6 +637,7 @@ -I --include PATTERN [+] include names matching the given patterns -X --exclude PATTERN [+] exclude names matching the given patterns -S --subrepos recurse into subrepositories + -T --template TEMPLATE display with template (some details hidden, use --verbose to show complete help)