annotate tests/test-debugcomplete.t @ 12316:4134686b83e1

tests: add exit codes to unified tests
author Matt Mackall <mpm@selenic.com>
date Thu, 16 Sep 2010 17:51:32 -0500
parents c02e1ed3d407
children 9d932e8e9546
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
1 Show all commands except debug commands
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
2 $ hg debugcomplete
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
3 add
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
4 addremove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
5 annotate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
6 archive
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
7 backout
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
8 bisect
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
9 branch
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
10 branches
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
11 bundle
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
12 cat
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
13 clone
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
14 commit
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
15 copy
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
16 diff
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
17 export
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
18 forget
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
19 grep
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
20 heads
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
21 help
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
22 identify
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
23 import
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
24 incoming
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
25 init
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
26 locate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
27 log
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
28 manifest
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
29 merge
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
30 outgoing
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
31 parents
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
32 paths
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
33 pull
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
34 push
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
35 recover
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
36 remove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
37 rename
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
38 resolve
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
39 revert
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
40 rollback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
41 root
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
42 serve
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
43 showconfig
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
44 status
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
45 summary
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
46 tag
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
47 tags
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
48 tip
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
49 unbundle
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
50 update
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
51 verify
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
52 version
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
53
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
54 Show all commands that start with "a"
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
55 $ hg debugcomplete a
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
56 add
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
57 addremove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
58 annotate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
59 archive
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
60
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
61 Do not show debug commands if there are other candidates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
62 $ hg debugcomplete d
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
63 diff
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
64
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
65 Show debug commands if there are no other candidates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
66 $ hg debugcomplete debug
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
67 debugancestor
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
68 debugbuilddag
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
69 debugcheckstate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
70 debugcommands
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
71 debugcomplete
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
72 debugconfig
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
73 debugdag
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
74 debugdata
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
75 debugdate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
76 debugfsinfo
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
77 debugindex
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
78 debugindexdot
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
79 debuginstall
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
80 debugpushkey
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
81 debugrebuildstate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
82 debugrename
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
83 debugrevspec
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
84 debugsetparents
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
85 debugstate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
86 debugsub
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
87 debugwalk
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
88
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
89 Do not show the alias of a debug command if there are other candidates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
90 (this should hide rawcommit)
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
91 $ hg debugcomplete r
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
92 recover
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
93 remove
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
94 rename
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
95 resolve
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
96 revert
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
97 rollback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
98 root
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
99 Show the alias of a debug command if there are no other candidates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
100 $ hg debugcomplete rawc
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
101
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
102
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
103 Show the global options
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
104 $ hg debugcomplete --options | sort
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
105 --config
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
106 --cwd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
107 --debug
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
108 --debugger
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
109 --encoding
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
110 --encodingmode
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
111 --help
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
112 --noninteractive
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
113 --profile
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
114 --quiet
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
115 --repository
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
116 --time
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
117 --traceback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
118 --verbose
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
119 --version
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
120 -R
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
121 -h
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
122 -q
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
123 -v
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
124 -y
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
125
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
126 Show the options for the "serve" command
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
127 $ hg debugcomplete --options serve | sort
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
128 --accesslog
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
129 --address
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
130 --certificate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
131 --config
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
132 --cwd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
133 --daemon
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
134 --daemon-pipefds
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
135 --debug
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
136 --debugger
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
137 --encoding
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
138 --encodingmode
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
139 --errorlog
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
140 --help
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
141 --ipv6
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
142 --name
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
143 --noninteractive
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
144 --pid-file
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
145 --port
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
146 --prefix
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
147 --profile
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
148 --quiet
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
149 --repository
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
150 --stdio
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
151 --style
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
152 --templates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
153 --time
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
154 --traceback
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
155 --verbose
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
156 --version
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
157 --web-conf
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
158 -6
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
159 -A
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
160 -E
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
161 -R
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
162 -a
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
163 -d
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
164 -h
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
165 -n
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
166 -p
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
167 -q
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
168 -t
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
169 -v
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
170 -y
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
171
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
172 Show an error if we use --options with an ambiguous abbreviation
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
173 $ hg debugcomplete --options s
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
174 hg: command 's' is ambiguous:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
175 serve showconfig status summary
12316
4134686b83e1 tests: add exit codes to unified tests
Matt Mackall <mpm@selenic.com>
parents: 12274
diff changeset
176 [255]
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
177
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
178 Show all commands + options
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
179 $ hg debugcommands
12270
166b9866580a add: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents: 12167
diff changeset
180 add: include, exclude, subrepos, dry-run
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
181 annotate: rev, follow, no-follow, text, user, file, date, number, changeset, line-number, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
182 clone: noupdate, updaterev, rev, branch, pull, uncompressed, ssh, remotecmd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
183 commit: addremove, close-branch, include, exclude, message, logfile, date, user
12167
d2c5b0927c28 diff: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents: 12166
diff changeset
184 diff: rev, change, text, git, nodates, show-function, reverse, ignore-all-space, ignore-space-change, ignore-blank-lines, unified, stat, include, exclude, subrepos
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
185 export: output, switch-parent, rev, text, git, nodates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
186 forget: include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
187 init: ssh, remotecmd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
188 log: follow, follow-first, date, copies, keyword, rev, removed, only-merges, user, only-branch, branch, prune, patch, git, limit, no-merges, stat, style, template, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
189 merge: force, rev, preview
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
190 pull: update, force, rev, branch, ssh, remotecmd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
191 push: force, rev, branch, new-branch, ssh, remotecmd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
192 remove: after, force, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
193 serve: accesslog, daemon, daemon-pipefds, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, templates, style, ipv6, certificate
12166
441a74b8def1 status: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents: 11924
diff changeset
194 status: all, modified, added, removed, deleted, clean, unknown, ignored, no-status, copies, print0, rev, change, include, exclude, subrepos
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
195 summary: remote
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
196 update: clean, check, date, rev
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
197 addremove: similarity, include, exclude, dry-run
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
198 archive: no-decode, prefix, rev, type, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
199 backout: merge, parent, rev, include, exclude, message, logfile, date, user
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
200 bisect: reset, good, bad, skip, command, noupdate
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
201 branch: force, clean
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
202 branches: active, closed
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
203 bundle: force, rev, branch, base, all, type, ssh, remotecmd
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
204 cat: output, rev, decode, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
205 copy: after, force, include, exclude, dry-run
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
206 debugancestor:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
207 debugbuilddag: mergeable-file, appended-file, overwritten-file, new-file
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
208 debugcheckstate:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
209 debugcommands:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
210 debugcomplete: options
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
211 debugdag: tags, branches, dots, spaces
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
212 debugdata:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
213 debugdate: extended
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
214 debugfsinfo:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
215 debugindex:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
216 debugindexdot:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
217 debuginstall:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
218 debugpushkey:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
219 debugrebuildstate: rev
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
220 debugrename: rev
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
221 debugrevspec:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
222 debugsetparents:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
223 debugstate: nodates
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
224 debugsub: rev
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
225 debugwalk: include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
226 grep: print0, all, follow, ignore-case, files-with-matches, line-number, rev, user, date, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
227 heads: rev, topo, active, closed, style, template
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
228 help:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
229 identify: rev, num, id, branch, tags
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
230 import: strip, base, force, no-commit, exact, import-branch, message, logfile, date, user, similarity
12274
c02e1ed3d407 incoming: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents: 12272
diff changeset
231 incoming: force, newest-first, bundle, rev, branch, patch, git, limit, no-merges, stat, style, template, ssh, remotecmd, subrepos
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
232 locate: rev, print0, fullpath, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
233 manifest: rev
12272
42ecd56399d7 outgoing: recurse into subrepositories with --subrepos/-S flag
Martin Geisler <mg@lazybytes.net>
parents: 12270
diff changeset
234 outgoing: force, rev, newest-first, branch, patch, git, limit, no-merges, stat, style, template, ssh, remotecmd, subrepos
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
235 parents: rev, style, template
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
236 paths:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
237 recover:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
238 rename: after, force, include, exclude, dry-run
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
239 resolve: all, list, mark, unmark, no-status, include, exclude
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
240 revert: all, date, rev, no-backup, include, exclude, dry-run
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
241 rollback: dry-run
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
242 root:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
243 showconfig: untrusted
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
244 tag: force, local, rev, remove, edit, message, date, user
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
245 tags:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
246 tip: patch, git, style, template
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
247 unbundle: update
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
248 verify:
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
249 version:
3317
399c04369a1b fix bash completion of debug commands; add test for debugcomplete
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
250
11924
487152f29db2 tests: unify test-debugcomplete
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 7880
diff changeset
251 $ exit 0