comparison mercurial/commands.py @ 19400:61c93ef8302e

cat: remove incorrect reference to tip
author Matt Mackall <mpm@selenic.com>
date Thu, 11 Jul 2013 19:28:01 -0500
parents 4da845cd854f
children 49acaa2b9701
comparison
equal deleted inserted replaced
19399:02465cafb0a9 19400:61c93ef8302e
1133 _('[OPTION]... FILE...')) 1133 _('[OPTION]... FILE...'))
1134 def cat(ui, repo, file1, *pats, **opts): 1134 def cat(ui, repo, file1, *pats, **opts):
1135 """output the current or given revision of files 1135 """output the current or given revision of files
1136 1136
1137 Print the specified files as they were at the given revision. If 1137 Print the specified files as they were at the given revision. If
1138 no revision is given, the parent of the working directory is used, 1138 no revision is given, the parent of the working directory is used.
1139 or tip if no revision is checked out.
1140 1139
1141 Output may be to a file, in which case the name of the file is 1140 Output may be to a file, in which case the name of the file is
1142 given using a format string. The formatting rules are the same as 1141 given using a format string. The formatting rules are the same as
1143 for the export command, with the following additions: 1142 for the export command, with the following additions:
1144 1143