Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 3914:283ee8971570
doc string fix: hg cat and manifest default to current parent revision.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sat, 16 Dec 2006 22:33:39 +0100 |
parents | 2b3175acb653 |
children | 3c82ab166eea |
line wrap: on
line diff
--- a/mercurial/commands.py Sat Dec 16 22:13:56 2006 +0100 +++ b/mercurial/commands.py Sat Dec 16 22:33:39 2006 +0100 @@ -339,7 +339,7 @@ changegroup.writebundle(cg, fname, "HG10BZ") def cat(ui, repo, file1, *pats, **opts): - """output the latest or given revisions of files + """output the current or given revision of files Print the specified files as they were at the given revision. If no revision is given then working dir parent is used, or tip @@ -1741,9 +1741,11 @@ count += 1 def manifest(ui, repo, rev=None): - """output the latest or given revision of the project manifest + """output the current or given revision of the project manifest Print a list of version controlled files for the given revision. + If no revision is given then working dir parent is used, or tip + if no revision is checked out. The manifest is the list of files being version controlled. If no revision is given then the first parent of the working directory is used.