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