Add documentation for the {tags} keyword.
fixes issue 6
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 10 Sep 2009 18:31:57 -0400 |
parents |
15afa852bf78
|
children |
5339b74840b1
|
branches/tags |
(none) |
files |
README prompt.py |
Changes
--- 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.
--- 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