Show More
@@ -165,14 +165,14 b' def optrst(header, options, verbose):' | |||
|
165 | 165 | |
|
166 | 166 | if isinstance(default, fancyopts.customopt): |
|
167 | 167 | default = default.getdefaultvalue() |
|
168 |
if |
|
|
168 | if default and not callable(default): | |
|
169 | 169 | # default is of unknown type, and in Python 2 we abused |
|
170 | 170 | # the %s-shows-repr property to handle integers etc. To |
|
171 | 171 | # match that behavior on Python 3, we do str(default) and |
|
172 | 172 | # then convert it to bytes. |
|
173 | 173 | defaultstr = pycompat.bytestr(default) |
|
174 |
if |
|
|
175 |
defaultstr = _("on") |
|
|
174 | if default is True: | |
|
175 | defaultstr = _("on") | |
|
176 | 176 | desc += _(" (default: %s)") % defaultstr |
|
177 | 177 | |
|
178 | 178 | if isinstance(default, list): |
@@ -716,7 +716,7 b' hide outer repo' | |||
|
716 | 716 | --profile print command execution profile |
|
717 | 717 | --version output version information and exit |
|
718 | 718 | -h --help display help and exit |
|
719 |
--hidden consider hidden changesets |
|
|
719 | --hidden consider hidden changesets | |
|
720 | 720 | --pager TYPE when to paginate (boolean, always, auto, or never) |
|
721 | 721 | (default: auto) |
|
722 | 722 | |
@@ -755,7 +755,7 b' hide outer repo' | |||
|
755 | 755 | --profile print command execution profile |
|
756 | 756 | --version output version information and exit |
|
757 | 757 | -h --help display help and exit |
|
758 |
--hidden consider hidden changesets |
|
|
758 | --hidden consider hidden changesets | |
|
759 | 759 | --pager TYPE when to paginate (boolean, always, auto, or never) |
|
760 | 760 | (default: auto) |
|
761 | 761 | |
@@ -1043,7 +1043,7 b' extension help itself' | |||
|
1043 | 1043 | --profile print command execution profile |
|
1044 | 1044 | --version output version information and exit |
|
1045 | 1045 | -h --help display help and exit |
|
1046 |
--hidden consider hidden changesets |
|
|
1046 | --hidden consider hidden changesets | |
|
1047 | 1047 | --pager TYPE when to paginate (boolean, always, auto, or never) |
|
1048 | 1048 | (default: auto) |
|
1049 | 1049 | |
@@ -1080,7 +1080,7 b" Make sure that single '-v' option shows " | |||
|
1080 | 1080 | --profile print command execution profile |
|
1081 | 1081 | --version output version information and exit |
|
1082 | 1082 | -h --help display help and exit |
|
1083 |
--hidden consider hidden changesets |
|
|
1083 | --hidden consider hidden changesets | |
|
1084 | 1084 | --pager TYPE when to paginate (boolean, always, auto, or never) |
|
1085 | 1085 | (default: auto) |
|
1086 | 1086 | |
@@ -1155,7 +1155,7 b" help options '-v' and '-v -e' should be " | |||
|
1155 | 1155 | --profile print command execution profile |
|
1156 | 1156 | --version output version information and exit |
|
1157 | 1157 | -h --help display help and exit |
|
1158 |
--hidden consider hidden changesets |
|
|
1158 | --hidden consider hidden changesets | |
|
1159 | 1159 | --pager TYPE when to paginate (boolean, always, auto, or never) |
|
1160 | 1160 | (default: auto) |
|
1161 | 1161 | |
@@ -1191,7 +1191,7 b" help options '-v' and '-v -e' should be " | |||
|
1191 | 1191 | --profile print command execution profile |
|
1192 | 1192 | --version output version information and exit |
|
1193 | 1193 | -h --help display help and exit |
|
1194 |
--hidden consider hidden changesets |
|
|
1194 | --hidden consider hidden changesets | |
|
1195 | 1195 | --pager TYPE when to paginate (boolean, always, auto, or never) |
|
1196 | 1196 | (default: auto) |
|
1197 | 1197 |
@@ -104,12 +104,12 b' Help text for fix.' | |||
|
104 | 104 | |
|
105 | 105 | options ([+] can be repeated): |
|
106 | 106 | |
|
107 |
--all fix all non-public non-obsolete revisions |
|
|
107 | --all fix all non-public non-obsolete revisions | |
|
108 | 108 | --base REV [+] revisions to diff against (overrides automatic selection, |
|
109 | 109 | and applies to every revision being fixed) |
|
110 | 110 | -r --rev REV [+] revisions to fix |
|
111 |
-w --working-dir fix the working directory |
|
|
112 |
--whole always fix every line of a file |
|
|
111 | -w --working-dir fix the working directory | |
|
112 | --whole always fix every line of a file | |
|
113 | 113 | |
|
114 | 114 | (some details hidden, use --verbose to show complete help) |
|
115 | 115 |
@@ -440,7 +440,7 b' Test short command list with verbose opt' | |||
|
440 | 440 | --profile print command execution profile |
|
441 | 441 | --version output version information and exit |
|
442 | 442 | -h --help display help and exit |
|
443 |
--hidden consider hidden changesets |
|
|
443 | --hidden consider hidden changesets | |
|
444 | 444 | --pager TYPE when to paginate (boolean, always, auto, or never) |
|
445 | 445 | (default: auto) |
|
446 | 446 | |
@@ -540,7 +540,7 b' Verbose help for add' | |||
|
540 | 540 | --profile print command execution profile |
|
541 | 541 | --version output version information and exit |
|
542 | 542 | -h --help display help and exit |
|
543 |
--hidden consider hidden changesets |
|
|
543 | --hidden consider hidden changesets | |
|
544 | 544 | --pager TYPE when to paginate (boolean, always, auto, or never) |
|
545 | 545 | (default: auto) |
|
546 | 546 | |
@@ -905,7 +905,7 b' Test command with no help text' | |||
|
905 | 905 | xxxxxxxxxxxxxxxxxxxxxxx (default: 3) |
|
906 | 906 | -n -- normal desc |
|
907 | 907 | --newline VALUE line1 line2 |
|
908 |
--default-off enable X |
|
|
908 | --default-off enable X | |
|
909 | 909 | --[no-]default-on enable Y (default: on) |
|
910 | 910 | --callableopt VALUE adds foo |
|
911 | 911 | --customopt VALUE adds bar |
@@ -2890,7 +2890,7 b' Dish up an empty repo; serve it cold.' | |||
|
2890 | 2890 | <td>display help and exit</td></tr> |
|
2891 | 2891 | <tr><td></td> |
|
2892 | 2892 | <td>--hidden</td> |
|
2893 |
<td>consider hidden changesets |
|
|
2893 | <td>consider hidden changesets</td></tr> | |
|
2894 | 2894 | <tr><td></td> |
|
2895 | 2895 | <td>--pager TYPE</td> |
|
2896 | 2896 | <td>when to paginate (boolean, always, auto, or never) (default: auto)</td></tr> |
@@ -3094,7 +3094,7 b' Dish up an empty repo; serve it cold.' | |||
|
3094 | 3094 | <td>display help and exit</td></tr> |
|
3095 | 3095 | <tr><td></td> |
|
3096 | 3096 | <td>--hidden</td> |
|
3097 |
<td>consider hidden changesets |
|
|
3097 | <td>consider hidden changesets</td></tr> | |
|
3098 | 3098 | <tr><td></td> |
|
3099 | 3099 | <td>--pager TYPE</td> |
|
3100 | 3100 | <td>when to paginate (boolean, always, auto, or never) (default: auto)</td></tr> |
@@ -105,9 +105,8 b' Testing the --import-rules flag of `hg t' | |||
|
105 | 105 | --import-rules VALUE import narrowspecs from a file |
|
106 | 106 | --removeexclude VALUE [+] old paths to no longer exclude |
|
107 | 107 | --clear whether to replace the existing narrowspec |
|
108 | (default: off) | |
|
109 | 108 | --force-delete-local-changes forces deletion of local changes when |
|
110 |
narrowing |
|
|
109 | narrowing | |
|
111 | 110 | -e --ssh CMD specify ssh command to use |
|
112 | 111 | --remotecmd CMD specify hg command to run on the remote side |
|
113 | 112 | --insecure do not verify server certificate (ignoring |
@@ -75,7 +75,7 b' shelve has a help message' | |||
|
75 | 75 | --cleanup delete all shelved changes |
|
76 | 76 | --date DATE shelve with the specified commit date |
|
77 | 77 | -d --delete delete the named shelved change(s) |
|
78 |
-e --edit invoke editor on commit messages |
|
|
78 | -e --edit invoke editor on commit messages | |
|
79 | 79 | -l --list list current shelves |
|
80 | 80 | -m --message TEXT use text as shelve message |
|
81 | 81 | -n --name NAME use the given name for the shelved commit |
@@ -34,8 +34,7 b' Help for uncommit' | |||
|
34 | 34 | |
|
35 | 35 | options ([+] can be repeated): |
|
36 | 36 | |
|
37 |
--keep allow an empty commit after uncommiting |
|
|
38 | off) | |
|
37 | --keep allow an empty commit after uncommiting | |
|
39 | 38 | -I --include PATTERN [+] include names matching the given patterns |
|
40 | 39 | -X --exclude PATTERN [+] exclude names matching the given patterns |
|
41 | 40 |
General Comments 0
You need to be logged in to leave comments.
Login now