mercurial/commands.py
changeset 19400 61c93ef8302e
parent 19394 4da845cd854f
child 19401 49acaa2b9701
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