##// END OF EJS Templates
test-help: improve test coverage...
Henri Wiechers -
r10141:827b7d6f default
parent child Browse files
Show More
@@ -27,4 +27,25 b' hg -q help status'
27 27 hg help foo
28 28 hg skjdfks
29 29
30 cat > helpext.py <<EOF
31 import os
32 from mercurial import commands
33
34 def nohelp(ui, *args, **kwargs):
35 pass
36
37 cmdtable = {
38 "nohelp": (nohelp, [], "hg nohelp"),
39 }
40
41 commands.norepo += ' nohelp'
42 EOF
43 abspath=`pwd`/helpext.py
44
45 echo '[extensions]' >> $HGRCPATH
46 echo "helpext = $abspath" >> $HGRCPATH
47
48 echo %% test command with no help text
49 hg help nohelp
50
30 51 exit 0
@@ -462,3 +462,9 b' basic commands:'
462 462 update update working directory
463 463
464 464 use "hg help" for the full list of commands or "hg -v" for details
465 %% test command with no help text
466 hg nohelp
467
468 (no help text available)
469
470 use "hg -v help nohelp" to show global options
General Comments 0
You need to be logged in to leave comments. Login now