Mercurial > hg
comparison tests/test-completion.t @ 39276:337443f09fc8
bookmark: add an --active flag to display the active bookmark
There is currently no official simple way to retrieve the current bookmark. In
particular for automation.
We add a `--active` flag to the `hg bookmarks` command. When set, the command
display the current bookmark name if any or return 1.
For now, this flag is read-only. However sensible combinations exist with
`--delete`, `--rename` and `--rev` and can be implemented later.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 16 Aug 2018 17:19:27 +0200 |
parents | f0a574dbfae9 |
children | 828a45233036 |
comparison
equal
deleted
inserted
replaced
39275:b17d27ea61fb | 39276:337443f09fc8 |
---|---|
247 update: clean, check, merge, date, rev, tool | 247 update: clean, check, merge, date, rev, tool |
248 addremove: similarity, subrepos, include, exclude, dry-run | 248 addremove: similarity, subrepos, include, exclude, dry-run |
249 archive: no-decode, prefix, rev, type, subrepos, include, exclude | 249 archive: no-decode, prefix, rev, type, subrepos, include, exclude |
250 backout: merge, commit, no-commit, parent, rev, edit, tool, include, exclude, message, logfile, date, user | 250 backout: merge, commit, no-commit, parent, rev, edit, tool, include, exclude, message, logfile, date, user |
251 bisect: reset, good, bad, skip, extend, command, noupdate | 251 bisect: reset, good, bad, skip, extend, command, noupdate |
252 bookmarks: force, rev, delete, rename, inactive, template | 252 bookmarks: force, rev, delete, rename, inactive, active, template |
253 branch: force, clean, rev | 253 branch: force, clean, rev |
254 branches: active, closed, template | 254 branches: active, closed, template |
255 bundle: force, rev, branch, base, all, type, ssh, remotecmd, insecure | 255 bundle: force, rev, branch, base, all, type, ssh, remotecmd, insecure |
256 cat: output, rev, decode, include, exclude, template | 256 cat: output, rev, decode, include, exclude, template |
257 config: untrusted, edit, local, global, template | 257 config: untrusted, edit, local, global, template |