mercurial/commands.py
changeset 21041 a2cc3c08c3ac
parent 21040 bdf5ed5246d2
child 21045 7f875ed19475
equal deleted inserted replaced
21040:bdf5ed5246d2 21041:a2cc3c08c3ac
  1172     Returns 0 on success.
  1172     Returns 0 on success.
  1173     """
  1173     """
  1174     ctx = scmutil.revsingle(repo, opts.get('rev'))
  1174     ctx = scmutil.revsingle(repo, opts.get('rev'))
  1175     m = scmutil.match(ctx, (file1,) + pats, opts)
  1175     m = scmutil.match(ctx, (file1,) + pats, opts)
  1176 
  1176 
  1177     return cmdutil.cat(ui, repo, ctx, m, **opts)
  1177     return cmdutil.cat(ui, repo, ctx, m, '', **opts)
  1178 
  1178 
  1179 @command('^clone',
  1179 @command('^clone',
  1180     [('U', 'noupdate', None,
  1180     [('U', 'noupdate', None,
  1181      _('the clone will include an empty working copy (only a repository)')),
  1181      _('the clone will include an empty working copy (only a repository)')),
  1182     ('u', 'updaterev', '', _('revision, tag or branch to check out'), _('REV')),
  1182     ('u', 'updaterev', '', _('revision, tag or branch to check out'), _('REV')),