Mercurial > hg
comparison tests/helpers-testrepo.sh @ 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 | 152f1b47e0ad |
children | 813226b3b4ca 16574ca8b155 |
comparison
equal
deleted
inserted
replaced
39275:b17d27ea61fb | 39276:337443f09fc8 |
---|