# HG changeset patch # User Steve Losh # Date 1252621917 14400 # Node ID ab242e2d02a2b55995014884915d75378a7fed0b # Parent 15afa852bf78ae77b1fe07d2a75539a0f56889b5 Add documentation for the {tags} keyword. fixes issue 6 diff -r 15afa852bf78 -r ab242e2d02a2 README --- a/README Thu Sep 10 18:29:09 2009 -0400 +++ b/README Thu Sep 10 18:31:57 2009 -0400 @@ -68,6 +68,8 @@ * **root:** the full path to the root of the current repository, without a trailing slash * **root|basename:** the directory name of the root of the current repository. For example, if the repository is in `/home/u/myrepo` then this keyword would expand to `myrepo`. * **status:** `!` if the repository has any changed/added/removed files, otherwise `?` if it has any untracked (but not ignored) files, otherwise nothing. +* **tags:** the tags of the current parent, separated by a space +* **tags|SEP:** the tags of the current parent, separated by SEP * **task:** the current task (requires the [tasks][] extension) * **update:** `^` if the current parent is not the tip of the current branch, otherwise nothing. In effect, this lets you see if running `hg update` would do something. diff -r 15afa852bf78 -r ab242e2d02a2 prompt.py --- a/prompt.py Thu Sep 10 18:29:09 2009 -0400 +++ b/prompt.py Thu Sep 10 18:31:57 2009 -0400 @@ -84,6 +84,8 @@ - status: "!" if the current repository contains files that have been modified, added, removed, or deleted, otherwise "?" if it contains untracked (and not ignored) files, otherwise nothing. + - tags: the tags of the current parent, separated by a space + - tags|SEP: the tags of the current parent, separated by SEP - task: the current task (requires the tasks extension) - update: "^" if the current parent is not the tip of the current branch, otherwise nothing. In effect, this lets you see if running