mercurial/commands.py
changeset 27422 67eeb7421d8d
parent 27421 930f529b0d5f
child 27423 c953e26f3734
equal deleted inserted replaced
27421:930f529b0d5f 27422:67eeb7421d8d
  1342     if cgversion == 's1':
  1342     if cgversion == 's1':
  1343         raise error.Abort(_('packed bundles cannot be produced by "hg bundle"'),
  1343         raise error.Abort(_('packed bundles cannot be produced by "hg bundle"'),
  1344                           hint=_('use "hg debugcreatestreamclonebundle"'))
  1344                           hint=_('use "hg debugcreatestreamclonebundle"'))
  1345 
  1345 
  1346     if opts.get('all'):
  1346     if opts.get('all'):
       
  1347         if dest:
       
  1348             raise error.Abort(_("--all is incompatible with specifying "
       
  1349                                 "a destination"))
  1347         base = ['null']
  1350         base = ['null']
  1348     else:
  1351     else:
  1349         base = scmutil.revrange(repo, opts.get('base'))
  1352         base = scmutil.revrange(repo, opts.get('base'))
  1350     # TODO: get desired bundlecaps from command line.
  1353     # TODO: get desired bundlecaps from command line.
  1351     bundlecaps = None
  1354     bundlecaps = None