equal
deleted
inserted
replaced
25 hg help status |
25 hg help status |
26 hg -q help status |
26 hg -q help status |
27 hg help foo |
27 hg help foo |
28 hg skjdfks |
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 exit 0 |
51 exit 0 |