mercurial/commands.py
changeset 32221 9dc36df78403
parent 32220 e17b8466857e
child 32245 3a755652ce3a
equal deleted inserted replaced
32220:e17b8466857e 32221:9dc36df78403
  1391     compopts = {}
  1391     compopts = {}
  1392     complevel = ui.configint('experimental', 'bundlecomplevel')
  1392     complevel = ui.configint('experimental', 'bundlecomplevel')
  1393     if complevel is not None:
  1393     if complevel is not None:
  1394         compopts['level'] = complevel
  1394         compopts['level'] = complevel
  1395 
  1395 
  1396     cg = changegroup.getchangegroup(repo, 'bundle', outgoing, version=cgversion)
  1396 
  1397 
  1397     contentopts = {'cg.version': cgversion}
  1398     bundle2.writebundle(ui, cg, fname, bversion, compression=bcompression,
  1398     bundle2.writenewbundle(ui, repo, 'bundle', fname, bversion, outgoing,
  1399                         compopts=compopts)
  1399                            contentopts, compression=bcompression,
       
  1400                            compopts=compopts)
  1400 
  1401 
  1401 @command('cat',
  1402 @command('cat',
  1402     [('o', 'output', '',
  1403     [('o', 'output', '',
  1403      _('print output to file with formatted name'), _('FORMAT')),
  1404      _('print output to file with formatted name'), _('FORMAT')),
  1404     ('r', 'rev', '', _('print the given revision'), _('REV')),
  1405     ('r', 'rev', '', _('print the given revision'), _('REV')),