comparison mercurial/commands.py @ 3913: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
comparison
equal deleted inserted replaced
3912:dbd828167384 3913:283ee8971570
337 else: 337 else:
338 cg = repo.changegroup(o, 'bundle') 338 cg = repo.changegroup(o, 'bundle')
339 changegroup.writebundle(cg, fname, "HG10BZ") 339 changegroup.writebundle(cg, fname, "HG10BZ")
340 340
341 def cat(ui, repo, file1, *pats, **opts): 341 def cat(ui, repo, file1, *pats, **opts):
342 """output the latest or given revisions of files 342 """output the current or given revision of files
343 343
344 Print the specified files as they were at the given revision. 344 Print the specified files as they were at the given revision.
345 If no revision is given then working dir parent is used, or tip 345 If no revision is given then working dir parent is used, or tip
346 if no revision is checked out. 346 if no revision is checked out.
347 347
1739 if count == limit: break 1739 if count == limit: break
1740 if displayer.flush(rev): 1740 if displayer.flush(rev):
1741 count += 1 1741 count += 1
1742 1742
1743 def manifest(ui, repo, rev=None): 1743 def manifest(ui, repo, rev=None):
1744 """output the latest or given revision of the project manifest 1744 """output the current or given revision of the project manifest
1745 1745
1746 Print a list of version controlled files for the given revision. 1746 Print a list of version controlled files for the given revision.
1747 If no revision is given then working dir parent is used, or tip
1748 if no revision is checked out.
1747 1749
1748 The manifest is the list of files being version controlled. If no revision 1750 The manifest is the list of files being version controlled. If no revision
1749 is given then the first parent of the working directory is used. 1751 is given then the first parent of the working directory is used.
1750 1752
1751 With -v flag, print file permissions. With --debug flag, print 1753 With -v flag, print file permissions. With --debug flag, print