Mercurial > hg
comparison tests/test-help.t @ 27324:5456374561a7
help: call filtercmd from topicmatch
update test coverage to explicitly define when help -c should
list debug/deprecated items.
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 09 Dec 2015 19:09:35 +0000 |
parents | 4dccc37b87bd |
children | eadbbd14bdc1 |
comparison
equal
deleted
inserted
replaced
27323:0fe93498ef07 | 27324:5456374561a7 |
---|---|
1039 $ echo "helphook2 = `pwd`/helphook2.py" >> $HGRCPATH | 1039 $ echo "helphook2 = `pwd`/helphook2.py" >> $HGRCPATH |
1040 $ hg help revsets | grep helphook | 1040 $ hg help revsets | grep helphook |
1041 helphook1 | 1041 helphook1 |
1042 helphook2 | 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 Test -e / -c / -k combinations | 1054 Test -e / -c / -k combinations |
1045 | 1055 |
1046 $ hg help -c schemes | 1056 $ hg help -c schemes |
1047 abort: no such help topic: schemes | 1057 abort: no such help topic: schemes |
1048 (try "hg help --keyword schemes") | 1058 (try "hg help --keyword schemes") |
1081 subrepos Subrepositories | 1091 subrepos Subrepositories |
1082 urls URL Paths | 1092 urls URL Paths |
1083 | 1093 |
1084 Commands: | 1094 Commands: |
1085 | 1095 |
1086 bookmarks create a new bookmark or list existing bookmarks | 1096 bookmarks create a new bookmark or list existing bookmarks |
1087 clone make a copy of an existing repository | 1097 clone make a copy of an existing repository |
1088 debugapplystreamclonebundle apply a stream clone bundle file | 1098 paths show aliases for remote repositories |
1089 debugcreatestreamclonebundle create a stream clone bundle file | 1099 update update working directory (or switch revisions) |
1090 paths show aliases for remote repositories | |
1091 update update working directory (or switch revisions) | |
1092 | 1100 |
1093 Extensions: | 1101 Extensions: |
1094 | 1102 |
1095 clonebundles advertise pre-generated bundles to seed clones (experimental) | 1103 clonebundles advertise pre-generated bundles to seed clones (experimental) |
1096 prefixedname matched against word "clone" | 1104 prefixedname matched against word "clone" |