mercurial/commands.py
changeset 31029 d6a703af975b
parent 31028 3c22ad83868b
child 31030 ed0023e47412
equal deleted inserted replaced
31028:3c22ad83868b 31029:d6a703af975b
  1415     Returns 0 on success.
  1415     Returns 0 on success.
  1416     """
  1416     """
  1417     ctx = scmutil.revsingle(repo, opts.get('rev'))
  1417     ctx = scmutil.revsingle(repo, opts.get('rev'))
  1418     m = scmutil.match(ctx, (file1,) + pats, opts)
  1418     m = scmutil.match(ctx, (file1,) + pats, opts)
  1419 
  1419 
       
  1420     ui.pager('cat')
  1420     return cmdutil.cat(ui, repo, ctx, m, '', **opts)
  1421     return cmdutil.cat(ui, repo, ctx, m, '', **opts)
  1421 
  1422 
  1422 @command('^clone',
  1423 @command('^clone',
  1423     [('U', 'noupdate', None, _('the clone will include an empty working '
  1424     [('U', 'noupdate', None, _('the clone will include an empty working '
  1424                                'directory (only a repository)')),
  1425                                'directory (only a repository)')),