Mercurial > hg-stable
changeset 15119:ac46a9cdf6e6
status: add some help examples
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 17 Sep 2011 13:20:10 -0500 |
parents | 9a1438f6af5f |
children | 8e848435673c |
files | mercurial/commands.py |
diffstat | 1 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Sat Sep 17 13:08:24 2011 -0500 +++ b/mercurial/commands.py Sat Sep 17 13:20:10 2011 -0500 @@ -4815,6 +4815,22 @@ I = ignored = origin of the previous file listed as A (added) + .. container:: verbose + + Examples: + + - show changes in the working directory relative to a changeset: + + hg status --rev 9353 + + - show all changes including copies in an existing changeset:: + + hg status --copies --change 9353 + + - get a NUL separated list of added files, suitable for xargs:: + + hg status -an0 + Returns 0 on success. """