Mercurial > hg
comparison tests/test-completion.t @ 33548:4cd4344a53c4
status: add a flag to terse the output (issue4119)
This adds an experimental flag -t/--terse which will terse the output. The terse flag
will respect other flags which filters the output. The flag takes a string
whose value can be a subsequence of "marduic" (the order does not matter here.)
Ignored files are not considered while tersing unless -i flag is passed or 'i'
is there is the terse flag value.
The flag is experimental for testing as there may be cases which will produce
strange results with the flag. We can set the terse on by default by simply
passing 'u' to the cmdutil.tersestatus().
This patch also adds a test file with tests covering the new feature.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 17 Jun 2017 20:10:22 +0530 |
parents | 9a9f95214f46 |
children | db3dc11356ed |
comparison
equal
deleted
inserted
replaced
33547:a6af8560494e | 33548:4cd4344a53c4 |
---|---|
229 merge: force, rev, preview, tool | 229 merge: force, rev, preview, tool |
230 pull: update, force, rev, bookmark, branch, ssh, remotecmd, insecure | 230 pull: update, force, rev, bookmark, branch, ssh, remotecmd, insecure |
231 push: force, rev, bookmark, branch, new-branch, ssh, remotecmd, insecure | 231 push: force, rev, bookmark, branch, new-branch, ssh, remotecmd, insecure |
232 remove: after, force, subrepos, include, exclude | 232 remove: after, force, subrepos, include, exclude |
233 serve: accesslog, daemon, daemon-postexec, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, cmdserver, templates, style, ipv6, certificate, subrepos | 233 serve: accesslog, daemon, daemon-postexec, errorlog, port, address, prefix, name, web-conf, webdir-conf, pid-file, stdio, cmdserver, templates, style, ipv6, certificate, subrepos |
234 status: all, modified, added, removed, deleted, clean, unknown, ignored, no-status, copies, print0, rev, change, include, exclude, subrepos, template | 234 status: all, modified, added, removed, deleted, clean, unknown, ignored, no-status, terse, copies, print0, rev, change, include, exclude, subrepos, template |
235 summary: remote | 235 summary: remote |
236 update: clean, check, merge, date, rev, tool | 236 update: clean, check, merge, date, rev, tool |
237 addremove: similarity, subrepos, include, exclude, dry-run | 237 addremove: similarity, subrepos, include, exclude, dry-run |
238 archive: no-decode, prefix, rev, type, subrepos, include, exclude | 238 archive: no-decode, prefix, rev, type, subrepos, include, exclude |
239 backout: merge, commit, no-commit, parent, rev, edit, tool, include, exclude, message, logfile, date, user | 239 backout: merge, commit, no-commit, parent, rev, edit, tool, include, exclude, message, logfile, date, user |