Mercurial > hg-stable
comparison mercurial/color.py @ 39303: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 | ddc1da134772 |
children | 3b421154d2ca |
comparison
equal
deleted
inserted
replaced
39302:b17d27ea61fb | 39303:337443f09fc8 |
---|