08dbee2124ee
Minor formatting issues.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Tue, 14 Jul 2009 20:28:50 -0400 |
parents | 894fbbeb6e6d |
children | d7e61ff5eced |
branches/tags | (none) |
files | README prompt.py |
Changes
--- a/README Tue Jul 14 20:27:23 2009 -0400 +++ b/README Tue Jul 14 20:28:50 2009 -0400 @@ -56,7 +56,7 @@ * **branch:** the current branch * **incoming:** this keyword prints nothing on its own. If the default path contains incoming changesets the extra text will be expanded. For example: `{incoming changes{incoming}}` will expand to `incoming changes` if there are changes, or nothing otherwise. * **incoming|count:** the number of incoming changesets if greater than 0 -* **outgoing:** this keyword prints nothing on its own. If the current repository contains outgoing changesets (to default) the extra text will be expanded. For example: `{outgoing changes{outgoing}}` will expand to `outgoing changes` if there are changes, or nothing otherwise. +* **outgoing:** this keyword prints nothing on its own. If the current repository contains outgoing changesets (to default) the extra text will be expanded. For example: `{outgoing changes{outgoing}}` will expand to `outgoing changes` if there are changes, or nothing otherwise. * **outgoing|count:** the number of outgoing changesets if greater than 0 * **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`.
--- a/prompt.py Tue Jul 14 20:27:23 2009 -0400 +++ b/prompt.py Tue Jul 14 20:28:50 2009 -0400 @@ -49,13 +49,13 @@ - branch: the current branch - incoming: this keyword prints nothing on its own. If the default path contains incoming changesets the extra text will be expanded. - For example: + For example: '{incoming changes{incoming}}' will expand to 'incoming changes' if there are changes, '' otherwise. - incoming|count: the number of incoming changesets if greater than 0 - outgoing: this keyword prints nothing on its own. If the current repository contains outgoing changesets (to default) the extra text - will be expanded. For example: + will be expanded. For example: '{outgoing changes{outgoing}}' will expand to 'outgoing changes' if there are changes, '' otherwise. - outgoing|count: the number of outgoing changesets if greater than 0