##// END OF EJS Templates
debugrebuildstate: rename to debugrebuilddirstate...
Mads Kiilerich -
r18963:c31b8dc9 default
parent child Browse files
Show More

The requested changes are too big and content was truncated. Show full diff

1 NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
@@ -1,338 +1,338 b''
1 1 Show all commands except debug commands
2 2 $ hg debugcomplete
3 3 add
4 4 addremove
5 5 annotate
6 6 archive
7 7 backout
8 8 bisect
9 9 bookmarks
10 10 branch
11 11 branches
12 12 bundle
13 13 cat
14 14 clone
15 15 commit
16 16 copy
17 17 diff
18 18 export
19 19 forget
20 20 graft
21 21 grep
22 22 heads
23 23 help
24 24 identify
25 25 import
26 26 incoming
27 27 init
28 28 locate
29 29 log
30 30 manifest
31 31 merge
32 32 outgoing
33 33 parents
34 34 paths
35 35 phase
36 36 pull
37 37 push
38 38 recover
39 39 remove
40 40 rename
41 41 resolve
42 42 revert
43 43 rollback
44 44 root
45 45 serve
46 46 showconfig
47 47 status
48 48 summary
49 49 tag
50 50 tags
51 51 tip
52 52 unbundle
53 53 update
54 54 verify
55 55 version
56 56
57 57 Show all commands that start with "a"
58 58 $ hg debugcomplete a
59 59 add
60 60 addremove
61 61 annotate
62 62 archive
63 63
64 64 Do not show debug commands if there are other candidates
65 65 $ hg debugcomplete d
66 66 diff
67 67
68 68 Show debug commands if there are no other candidates
69 69 $ hg debugcomplete debug
70 70 debugancestor
71 71 debugbuilddag
72 72 debugbundle
73 73 debugcheckstate
74 74 debugcommands
75 75 debugcomplete
76 76 debugconfig
77 77 debugdag
78 78 debugdata
79 79 debugdate
80 80 debugdirstate
81 81 debugdiscovery
82 82 debugfileset
83 83 debugfsinfo
84 84 debuggetbundle
85 85 debugignore
86 86 debugindex
87 87 debugindexdot
88 88 debuginstall
89 89 debugknown
90 90 debuglabelcomplete
91 91 debugobsolete
92 92 debugpathcomplete
93 93 debugpushkey
94 94 debugpvec
95 debugrebuildstate
95 debugrebuilddirstate
96 96 debugrename
97 97 debugrevlog
98 98 debugrevspec
99 99 debugsetparents
100 100 debugsub
101 101 debugsuccessorssets
102 102 debugwalk
103 103 debugwireargs
104 104
105 105 Do not show the alias of a debug command if there are other candidates
106 106 (this should hide rawcommit)
107 107 $ hg debugcomplete r
108 108 recover
109 109 remove
110 110 rename
111 111 resolve
112 112 revert
113 113 rollback
114 114 root
115 115 Show the alias of a debug command if there are no other candidates
116 116 $ hg debugcomplete rawc
117 117
118 118
119 119 Show the global options
120 120 $ hg debugcomplete --options | sort
121 121 --config
122 122 --cwd
123 123 --debug
124 124 --debugger
125 125 --encoding
126 126 --encodingmode
127 127 --help
128 128 --hidden
129 129 --noninteractive
130 130 --profile
131 131 --quiet
132 132 --repository
133 133 --time
134 134 --traceback
135 135 --verbose
136 136 --version
137 137 -R
138 138 -h
139 139 -q
140 140 -v
141 141 -y
142 142
143 143 Show the options for the "serve" command
144 144 $ hg debugcomplete --options serve | sort
145 145 --accesslog
146 146 --address
147 147 --certificate
148 148 --cmdserver
149 149 --config
150 150 --cwd
151 151 --daemon
152 152 --daemon-pipefds
153 153 --debug
154 154 --debugger
155 155 --encoding
156 156 --encodingmode
157 157 --errorlog
158 158 --help
159 159 --hidden
160 160 --ipv6
161 161 --name
162 162 --noninteractive
163 163 --pid-file
164 164 --port
165 165 --prefix
166 166 --profile
167 167 --quiet
168 168 --repository
169 169 --stdio
170 170 --style
171 171 --templates
172 172 --time
173 173 --traceback
174 174 --verbose
175 175 --version
176 176 --web-conf
177 177 -6
178 178 -A
179 179 -E
180 180 -R
181 181 -a
182 182 -d
183 183 -h
184 184 -n
185 185 -p
186 186 -q
187 187 -t
188 188 -v
189 189 -y
190 190
191 191 Show an error if we use --options with an ambiguous abbreviation
192 192 $ hg debugcomplete --options s
193 193 hg: command 's' is ambiguous:
194 194 serve showconfig status summary
195 195 [255]
196 196
197 197 Show all commands + options
198 198 $ hg debugcommands
199 199 add: include, exclude, subrepos, dry-run
200 200 annotate: rev, follow, no-follow, text, user, file, date, number, changeset, line-number, ignore-all-space, ignore-space-change, ignore-blank-lines, include, exclude
201 201 clone: noupdate, updaterev, rev, branch, pull, uncompressed, ssh, remotecmd, insecure
202 202 commit: addremove, close-branch, amend, include, exclude, message, logfile, date, user, subrepos
203 203 diff: rev, change, text, git, nodates, show-function, reverse, ignore-all-space, ignore-space-change, ignore-blank-lines, unified, stat, include, exclude, subrepos
204 204 export: output, switch-parent, rev, text, git, nodates
205 205 forget: include, exclude
206 206 init: ssh, remotecmd, insecure
207 207 log: follow, follow-first, date, copies, keyword, rev, removed, only-merges, user, only-branch, branch, prune, patch, git, limit, no-merges, stat, graph, style, template, include, exclude
208 208 merge: force, rev, preview, tool
209 209 pull: update, force, rev, bookmark, branch, ssh, remotecmd, insecure
210 210 push: force, rev, bookmark, branch, new-branch, ssh, remotecmd, insecure
211 211 remove: after, force, include, exclude
212 212 serve: accesslog, daemon, daemon-pipefds, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, cmdserver, templates, style, ipv6, certificate
213 213 status: all, modified, added, removed, deleted, clean, unknown, ignored, no-status, copies, print0, rev, change, include, exclude, subrepos
214 214 summary: remote
215 215 update: clean, check, date, rev
216 216 addremove: similarity, include, exclude, dry-run
217 217 archive: no-decode, prefix, rev, type, subrepos, include, exclude
218 218 backout: merge, parent, rev, tool, include, exclude, message, logfile, date, user
219 219 bisect: reset, good, bad, skip, extend, command, noupdate
220 220 bookmarks: force, rev, delete, rename, inactive
221 221 branch: force, clean
222 222 branches: active, closed
223 223 bundle: force, rev, branch, base, all, type, ssh, remotecmd, insecure
224 224 cat: output, rev, decode, include, exclude
225 225 copy: after, force, include, exclude, dry-run
226 226 debugancestor:
227 227 debugbuilddag: mergeable-file, overwritten-file, new-file
228 228 debugbundle: all
229 229 debugcheckstate:
230 230 debugcommands:
231 231 debugcomplete: options
232 232 debugdag: tags, branches, dots, spaces
233 233 debugdata: changelog, manifest
234 234 debugdate: extended
235 235 debugdirstate: nodates, datesort
236 236 debugdiscovery: old, nonheads, ssh, remotecmd, insecure
237 237 debugfileset: rev
238 238 debugfsinfo:
239 239 debuggetbundle: head, common, type
240 240 debugignore:
241 241 debugindex: changelog, manifest, format
242 242 debugindexdot:
243 243 debuginstall:
244 244 debugknown:
245 245 debuglabelcomplete:
246 246 debugobsolete: flags, date, user
247 247 debugpathcomplete: full, normal, added, removed
248 248 debugpushkey:
249 249 debugpvec:
250 debugrebuildstate: rev
250 debugrebuilddirstate: rev
251 251 debugrename: rev
252 252 debugrevlog: changelog, manifest, dump
253 253 debugrevspec:
254 254 debugsetparents:
255 255 debugsub: rev
256 256 debugsuccessorssets:
257 257 debugwalk: include, exclude
258 258 debugwireargs: three, four, five, ssh, remotecmd, insecure
259 259 graft: rev, continue, edit, log, currentdate, currentuser, date, user, tool, dry-run
260 260 grep: print0, all, text, follow, ignore-case, files-with-matches, line-number, rev, user, date, include, exclude
261 261 heads: rev, topo, active, closed, style, template
262 262 help: extension, command, keyword
263 263 identify: rev, num, id, branch, tags, bookmarks, ssh, remotecmd, insecure
264 264 import: strip, base, edit, force, no-commit, bypass, exact, import-branch, message, logfile, date, user, similarity
265 265 incoming: force, newest-first, bundle, rev, bookmarks, branch, patch, git, limit, no-merges, stat, graph, style, template, ssh, remotecmd, insecure, subrepos
266 266 locate: rev, print0, fullpath, include, exclude
267 267 manifest: rev, all
268 268 outgoing: force, rev, newest-first, bookmarks, branch, patch, git, limit, no-merges, stat, graph, style, template, ssh, remotecmd, insecure, subrepos
269 269 parents: rev, style, template
270 270 paths:
271 271 phase: public, draft, secret, force, rev
272 272 recover:
273 273 rename: after, force, include, exclude, dry-run
274 274 resolve: all, list, mark, unmark, no-status, tool, include, exclude
275 275 revert: all, date, rev, no-backup, include, exclude, dry-run
276 276 rollback: dry-run, force
277 277 root:
278 278 showconfig: untrusted
279 279 tag: force, local, rev, remove, edit, message, date, user
280 280 tags:
281 281 tip: patch, git, style, template
282 282 unbundle: update
283 283 verify:
284 284 version:
285 285
286 286 $ hg init a
287 287 $ cd a
288 288 $ echo fee > fee
289 289 $ hg ci -q -Amfee
290 290 $ hg tag fee
291 291 $ mkdir fie
292 292 $ echo dead > fie/dead
293 293 $ echo live > fie/live
294 294 $ hg bookmark fo
295 295 $ hg branch -q fie
296 296 $ hg ci -q -Amfie
297 297 $ echo fo > fo
298 298 $ hg branch -qf default
299 299 $ hg ci -q -Amfo
300 300 $ echo Fum > Fum
301 301 $ hg ci -q -AmFum
302 302 $ hg bookmark Fum
303 303
304 304 Test debugpathcomplete
305 305
306 306 $ hg debugpathcomplete f
307 307 fee
308 308 fie/
309 309 fo
310 310 $ hg debugpathcomplete -f f
311 311 fee
312 312 fie/dead
313 313 fie/live
314 314 fo
315 315
316 316 $ hg rm Fum
317 317 $ hg debugpathcomplete -r F
318 318 Fum
319 319
320 320 If one directory and no files match, give an ambiguous answer
321 321
322 322 $ hg debugpathcomplete fi
323 323 fie/
324 324 fie/.
325 325
326 326 Test debuglabelcomplete
327 327
328 328 $ hg debuglabelcomplete
329 329 Fum
330 330 default
331 331 fee
332 332 fie
333 333 fo
334 334 tip
335 335 $ hg debuglabelcomplete f
336 336 fee
337 337 fie
338 338 fo
General Comments 0
You need to be logged in to leave comments. Login now