# HG changeset patch # User Steve Losh # Date 1247617730 14400 # Node ID 08dbee2124eeb46f40d3844b3706ae1c7e388ad7 # Parent 894fbbeb6e6d2801360e5a7d03a794f81afcb155 Minor formatting issues. diff -r 894fbbeb6e6d -r 08dbee2124ee README --- 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`. diff -r 894fbbeb6e6d -r 08dbee2124ee prompt.py --- 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