Show More
@@ -124,6 +124,8 b' def topicmatch(ui, kw):' | |||
|
124 | 124 | if doclines: |
|
125 | 125 | summary = doclines[0] |
|
126 | 126 | cmdname = cmd.partition('|')[0].lstrip('^') |
|
127 | if filtercmd(ui, cmdname, kw, docs): | |
|
128 | continue | |
|
127 | 129 | results['commands'].append((cmdname, summary)) |
|
128 | 130 | for name, docs in itertools.chain( |
|
129 | 131 | extensions.enabled(False).iteritems(), |
@@ -1041,6 +1041,16 b' Test help hooks' | |||
|
1041 | 1041 | helphook1 |
|
1042 | 1042 | helphook2 |
|
1043 | 1043 | |
|
1044 | help -c should only show debug --debug | |
|
1045 | ||
|
1046 | $ hg help -c --debug|grep debug|wc -l|grep '^\s*0\s*$' | |
|
1047 | [1] | |
|
1048 | ||
|
1049 | help -c should only show deprecated for -v | |
|
1050 | ||
|
1051 | $ hg help -c -v|grep DEPRECATED|wc -l|grep '^\s*0\s*$' | |
|
1052 | [1] | |
|
1053 | ||
|
1044 | 1054 | Test -e / -c / -k combinations |
|
1045 | 1055 | |
|
1046 | 1056 | $ hg help -c schemes |
@@ -1083,12 +1093,10 b' Test keyword search help' | |||
|
1083 | 1093 | |
|
1084 | 1094 | Commands: |
|
1085 | 1095 | |
|
1086 |
bookmarks |
|
|
1087 |
clone |
|
|
1088 | debugapplystreamclonebundle apply a stream clone bundle file | |
|
1089 | debugcreatestreamclonebundle create a stream clone bundle file | |
|
1090 | paths show aliases for remote repositories | |
|
1091 | update update working directory (or switch revisions) | |
|
1096 | bookmarks create a new bookmark or list existing bookmarks | |
|
1097 | clone make a copy of an existing repository | |
|
1098 | paths show aliases for remote repositories | |
|
1099 | update update working directory (or switch revisions) | |
|
1092 | 1100 | |
|
1093 | 1101 | Extensions: |
|
1094 | 1102 |
General Comments 0
You need to be logged in to leave comments.
Login now