about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-01-24 06:41:42 +0000
committerFrank Terbeck <ft@bewatermyfriend.org>2015-01-25 01:42:05 +0100
commit9d25fd72553caff0008d35670544c0ab909c0224 (patch)
tree890c11ae30f980049e74d1124c83d6b8e845016f /Doc
parent083351898017cc881ef5c6f908f2747303dc36be (diff)
downloadzsh-9d25fd72553caff0008d35670544c0ab909c0224.tar.gz
zsh-9d25fd72553caff0008d35670544c0ab909c0224.tar.xz
zsh-9d25fd72553caff0008d35670544c0ab909c0224.zip
vcs_info hg: Support inactive bookmarks
(Similar to git detached heads)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/contrib.yo7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 00ede52aa..80a799766 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -927,6 +927,10 @@ kindex(get-bookmarks)
 item(tt(get-bookmarks))(
 If set to true, the tt(hg) backend will try to get a list of current
 bookmarks. They will be available via the `tt(%m)' replacement.
+
+The default is to generate a comma-separated list of all bookmark names
+that refer to the currently checked out revision.  If a bookmark is active,
+its name is suffixed an asterisk and placed first in the list.
 )
 kindex(use-prompt-escapes)
 item(tt(use-prompt-escapes))(
@@ -1290,6 +1294,9 @@ tt(get-revision) and tt(get-bookmarks) styles must be true.
 This hook gets the names of the Mercurial bookmarks that
 tt(vcs_info) collected from `hg'.
 
+If a bookmark is active, the key tt(${hook_com[hg-active-bookmark]}) is
+set to its name.  The key is otherwise unset.
+
 When setting tt(ret) to non-zero, the string in
 tt(${hook_com[hg-bookmark-string]}) will be used in the tt(%m) escape in
 tt(formats) and tt(actionformats) and will be available in the global