av6 created this revision.
Herald added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5444
AFFECTED FILES
mercurial/help.py
tests/test-extension.t
tests/test-fix.t
tests/test-help.t
tests/test-narrow-trackedcmd.t
tests/test-shelve.t
tests/test-uncommit.t
CHANGE DETAILS
diff --git a/tests/test-uncommit.t b/tests/test-uncommit.t
--- a/tests/test-uncommit.t
+++ b/tests/test-uncommit.t
@@ -35,7 +35,7 @@
options ([+] can be repeated):
--[no-]keep allow an empty commit after uncommiting (default:
-off)
+no)
-I --include PATTERN [+] include names matching the given patterns
-X --exclude PATTERN [+] exclude names matching the given patterns
diff --git a/tests/test-shelve.t b/tests/test-shelve.t
--- a/tests/test-shelve.t
+++ b/tests/test-shelve.t
@@ -75,7 +75,7 @@
--cleanup delete all shelved changes
--date DATE shelve with the specified commit date
-d --delete delete the named shelved change(s)
- -e --[no-]edit invoke editor on commit messages (default: off)
+ -e --[no-]edit invoke editor on commit messages (default: no)
-l --listlist current shelves
-m --message TEXTuse text as shelve message
-n --name NAME use the given name for the shelved commit
diff --git a/tests/test-narrow-trackedcmd.t b/tests/test-narrow-trackedcmd.t
--- a/tests/test-narrow-trackedcmd.t
+++ b/tests/test-narrow-trackedcmd.t
@@ -105,9 +105,9 @@
--import-rules VALUE import narrowspecs from a file
--removeexclude VALUE [+] old paths to no longer exclude
--[no-]clear whether to replace the existing
-narrowspec (default: off)
+narrowspec (default: no)
--[no-]force-delete-local-changes forces deletion of local changes when
-narrowing (default: off)
+narrowing (default: no)
-e --ssh CMD specify ssh command to use
--remotecmd CMD specify hg command to run on the remote
side
diff --git a/tests/test-help.t b/tests/test-help.t
--- a/tests/test-help.t
+++ b/tests/test-help.t
@@ -440,7 +440,7 @@
--profile print command execution profile
--version output version information and exit
-h --help display help and exit
- --[no-]hidden consider hidden changesets (default: off)
+ --[no-]hidden consider hidden changesets (default: no)
--pager TYPEwhen to paginate (boolean, always, auto, or never)
(default: auto)
@@ -540,7 +540,7 @@
--profile print command execution profile
--version output version information and exit
-h --help display help and exit
- --[no-]hidden consider hidden changesets (default: off)
+ --[no-]hidden consider hidden changesets (default: no)
--pager TYPEwhen to paginate (boolean, always, auto, or never)
(default: auto)
@@ -809,8 +809,8 @@
> [(b'', b'longdesc', 3, b'x'*67),
> (b'n', b'', None, b'normal desc'),
> (b'', b'newline', b'', b'line1\nline2'),
- > (b'', b'default-off', False, b'enable X'),
- > (b'', b'default-on', True, b'enable Y'),
+ > (b'', b'default-no', False, b'enable X'),
+ > (b'', b'default-yes', True, b'enable Y'),
> (b'', b'callableopt', func, b'adds foo'),
> (b'', b'customopt', customopt(''), b'adds bar'),
> (b'', b'customopt-withdefault', customopt('foo'), b'adds bar')],
@@ -905,8 +905,8 @@
xxx (default: 3)
-n --normal desc
--newline VALUE line1 line2
- --[no-]default-offenable X (default: off)
- --[no-]default-on enable Y (default: on)
+ --[no-]default-no enable X (default: no)
+ --[no-]default-yesenable Y (default: yes)
--callableopt VALUE adds foo
--customopt VALUE adds bar
--customopt-withdefault VALUE adds bar (default: foo)
@@ -2890,7 +2890,7 @@
display help and exit
--[no-]hidden
- consider hidden changesets (default: off)
+ consider hidden changesets (default: no)
--pager TYPE
when to paginate (boolean, always, auto, or never) (default:
auto)
@@ -3094,7 +3094,7 @@
display help and exit
--[no-]hidden
- consider hidden changesets (default: off)
+ consider hidden changesets (default: no)