Mercurial > hg
comparison tests/test-completion.t @ 40295:fa88170c10bb
help: adding a proper declaration for shortlist/basic commands (API)
We previously used the '^' prefix to indicate that a command
should be shown on the short list (shown for just "hg"), but
that's a horrible hack, so I'm removing it.
Differential Revision: https://phab.mercurial-scm.org/D5069
author | Rodrigo Damazio <rdamazio@google.com> |
---|---|
date | Fri, 12 Oct 2018 18:49:11 +0200 |
parents | d71e0ba34d9b |
children | 3c0d5016b2be |
comparison
equal
deleted
inserted
replaced
40294:fabbf9310025 | 40295:fa88170c10bb |
---|---|
229 [255] | 229 [255] |
230 | 230 |
231 Show all commands + options | 231 Show all commands + options |
232 $ hg debugcommands | 232 $ hg debugcommands |
233 add: include, exclude, subrepos, dry-run | 233 add: include, exclude, subrepos, dry-run |
234 addremove: similarity, subrepos, include, exclude, dry-run | |
234 annotate: rev, follow, no-follow, text, user, file, date, number, changeset, line-number, skip, ignore-all-space, ignore-space-change, ignore-blank-lines, ignore-space-at-eol, include, exclude, template | 235 annotate: rev, follow, no-follow, text, user, file, date, number, changeset, line-number, skip, ignore-all-space, ignore-space-change, ignore-blank-lines, ignore-space-at-eol, include, exclude, template |
235 clone: noupdate, updaterev, rev, branch, pull, uncompressed, stream, ssh, remotecmd, insecure | |
236 commit: addremove, close-branch, amend, secret, edit, interactive, include, exclude, message, logfile, date, user, subrepos | |
237 diff: rev, change, text, git, binary, nodates, noprefix, show-function, reverse, ignore-all-space, ignore-space-change, ignore-blank-lines, ignore-space-at-eol, unified, stat, root, include, exclude, subrepos | |
238 export: bookmark, output, switch-parent, rev, text, git, binary, nodates, template | |
239 forget: interactive, include, exclude, dry-run | |
240 init: ssh, remotecmd, insecure | |
241 log: follow, follow-first, date, copies, keyword, rev, line-range, removed, only-merges, user, only-branch, branch, prune, patch, git, limit, no-merges, stat, graph, style, template, include, exclude | |
242 merge: force, rev, preview, abort, tool | |
243 pull: update, force, rev, bookmark, branch, ssh, remotecmd, insecure | |
244 push: force, rev, bookmark, branch, new-branch, pushvars, ssh, remotecmd, insecure | |
245 remove: after, force, subrepos, include, exclude, dry-run | |
246 serve: accesslog, daemon, daemon-postexec, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, cmdserver, templates, style, ipv6, certificate, print-url, subrepos | |
247 status: all, modified, added, removed, deleted, clean, unknown, ignored, no-status, terse, copies, print0, rev, change, include, exclude, subrepos, template | |
248 summary: remote | |
249 update: clean, check, merge, date, rev, tool | |
250 addremove: similarity, subrepos, include, exclude, dry-run | |
251 archive: no-decode, prefix, rev, type, subrepos, include, exclude | 236 archive: no-decode, prefix, rev, type, subrepos, include, exclude |
252 backout: merge, commit, no-commit, parent, rev, edit, tool, include, exclude, message, logfile, date, user | 237 backout: merge, commit, no-commit, parent, rev, edit, tool, include, exclude, message, logfile, date, user |
253 bisect: reset, good, bad, skip, extend, command, noupdate | 238 bisect: reset, good, bad, skip, extend, command, noupdate |
254 bookmarks: force, rev, delete, rename, inactive, list, template | 239 bookmarks: force, rev, delete, rename, inactive, list, template |
255 branch: force, clean, rev | 240 branch: force, clean, rev |
256 branches: active, closed, template | 241 branches: active, closed, template |
257 bundle: force, rev, branch, base, all, type, ssh, remotecmd, insecure | 242 bundle: force, rev, branch, base, all, type, ssh, remotecmd, insecure |
258 cat: output, rev, decode, include, exclude, template | 243 cat: output, rev, decode, include, exclude, template |
244 clone: noupdate, updaterev, rev, branch, pull, uncompressed, stream, ssh, remotecmd, insecure | |
245 commit: addremove, close-branch, amend, secret, edit, interactive, include, exclude, message, logfile, date, user, subrepos | |
259 config: untrusted, edit, local, global, template | 246 config: untrusted, edit, local, global, template |
260 copy: after, force, include, exclude, dry-run | 247 copy: after, force, include, exclude, dry-run |
261 debugancestor: | 248 debugancestor: |
262 debugapplystreamclonebundle: | 249 debugapplystreamclonebundle: |
263 debugbuilddag: mergeable-file, overwritten-file, new-file | 250 debugbuilddag: mergeable-file, overwritten-file, new-file |
315 debugupgraderepo: optimize, run | 302 debugupgraderepo: optimize, run |
316 debugwalk: include, exclude | 303 debugwalk: include, exclude |
317 debugwhyunstable: | 304 debugwhyunstable: |
318 debugwireargs: three, four, five, ssh, remotecmd, insecure | 305 debugwireargs: three, four, five, ssh, remotecmd, insecure |
319 debugwireproto: localssh, peer, noreadstderr, nologhandshake, ssh, remotecmd, insecure | 306 debugwireproto: localssh, peer, noreadstderr, nologhandshake, ssh, remotecmd, insecure |
307 diff: rev, change, text, git, binary, nodates, noprefix, show-function, reverse, ignore-all-space, ignore-space-change, ignore-blank-lines, ignore-space-at-eol, unified, stat, root, include, exclude, subrepos | |
308 export: bookmark, output, switch-parent, rev, text, git, binary, nodates, template | |
320 files: rev, print0, include, exclude, template, subrepos | 309 files: rev, print0, include, exclude, template, subrepos |
310 forget: interactive, include, exclude, dry-run | |
321 graft: rev, continue, stop, abort, edit, log, no-commit, force, currentdate, currentuser, date, user, tool, dry-run | 311 graft: rev, continue, stop, abort, edit, log, no-commit, force, currentdate, currentuser, date, user, tool, dry-run |
322 grep: print0, all, diff, text, follow, ignore-case, files-with-matches, line-number, rev, all-files, user, date, template, include, exclude | 312 grep: print0, all, diff, text, follow, ignore-case, files-with-matches, line-number, rev, all-files, user, date, template, include, exclude |
323 heads: rev, topo, active, closed, style, template | 313 heads: rev, topo, active, closed, style, template |
324 help: extension, command, keyword, system | 314 help: extension, command, keyword, system |
325 identify: rev, num, id, branch, tags, bookmarks, ssh, remotecmd, insecure, template | 315 identify: rev, num, id, branch, tags, bookmarks, ssh, remotecmd, insecure, template |
326 import: strip, base, edit, force, no-commit, bypass, partial, exact, prefix, import-branch, message, logfile, date, user, similarity | 316 import: strip, base, edit, force, no-commit, bypass, partial, exact, prefix, import-branch, message, logfile, date, user, similarity |
327 incoming: force, newest-first, bundle, rev, bookmarks, branch, patch, git, limit, no-merges, stat, graph, style, template, ssh, remotecmd, insecure, subrepos | 317 incoming: force, newest-first, bundle, rev, bookmarks, branch, patch, git, limit, no-merges, stat, graph, style, template, ssh, remotecmd, insecure, subrepos |
318 init: ssh, remotecmd, insecure | |
328 locate: rev, print0, fullpath, include, exclude | 319 locate: rev, print0, fullpath, include, exclude |
320 log: follow, follow-first, date, copies, keyword, rev, line-range, removed, only-merges, user, only-branch, branch, prune, patch, git, limit, no-merges, stat, graph, style, template, include, exclude | |
329 manifest: rev, all, template | 321 manifest: rev, all, template |
322 merge: force, rev, preview, abort, tool | |
330 outgoing: force, rev, newest-first, bookmarks, branch, patch, git, limit, no-merges, stat, graph, style, template, ssh, remotecmd, insecure, subrepos | 323 outgoing: force, rev, newest-first, bookmarks, branch, patch, git, limit, no-merges, stat, graph, style, template, ssh, remotecmd, insecure, subrepos |
331 parents: rev, style, template | 324 parents: rev, style, template |
332 paths: template | 325 paths: template |
333 phase: public, draft, secret, force, rev | 326 phase: public, draft, secret, force, rev |
327 pull: update, force, rev, bookmark, branch, ssh, remotecmd, insecure | |
328 push: force, rev, bookmark, branch, new-branch, pushvars, ssh, remotecmd, insecure | |
334 recover: | 329 recover: |
330 remove: after, force, subrepos, include, exclude, dry-run | |
335 rename: after, force, include, exclude, dry-run | 331 rename: after, force, include, exclude, dry-run |
336 resolve: all, list, mark, unmark, no-status, re-merge, tool, include, exclude, template | 332 resolve: all, list, mark, unmark, no-status, re-merge, tool, include, exclude, template |
337 revert: all, date, rev, no-backup, interactive, include, exclude, dry-run | 333 revert: all, date, rev, no-backup, interactive, include, exclude, dry-run |
338 rollback: dry-run, force | 334 rollback: dry-run, force |
339 root: | 335 root: |
336 serve: accesslog, daemon, daemon-postexec, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, cmdserver, templates, style, ipv6, certificate, print-url, subrepos | |
337 status: all, modified, added, removed, deleted, clean, unknown, ignored, no-status, terse, copies, print0, rev, change, include, exclude, subrepos, template | |
338 summary: remote | |
340 tag: force, local, rev, remove, edit, message, date, user | 339 tag: force, local, rev, remove, edit, message, date, user |
341 tags: template | 340 tags: template |
342 tip: patch, git, style, template | 341 tip: patch, git, style, template |
343 unbundle: update | 342 unbundle: update |
343 update: clean, check, merge, date, rev, tool | |
344 verify: | 344 verify: |
345 version: template | 345 version: template |
346 | 346 |
347 $ hg init a | 347 $ hg init a |
348 $ cd a | 348 $ cd a |