mercurial/commands.py
changeset 27423 c953e26f3734
parent 27422 67eeb7421d8d
child 27424 c2854c41f9ac
equal deleted inserted replaced
27422:67eeb7421d8d 27423:c953e26f3734
  1345 
  1345 
  1346     if opts.get('all'):
  1346     if opts.get('all'):
  1347         if dest:
  1347         if dest:
  1348             raise error.Abort(_("--all is incompatible with specifying "
  1348             raise error.Abort(_("--all is incompatible with specifying "
  1349                                 "a destination"))
  1349                                 "a destination"))
       
  1350         if opts.get('base'):
       
  1351             ui.warn(_("ignoring --base because --all was specified\n"))
  1350         base = ['null']
  1352         base = ['null']
  1351     else:
  1353     else:
  1352         base = scmutil.revrange(repo, opts.get('base'))
  1354         base = scmutil.revrange(repo, opts.get('base'))
  1353     # TODO: get desired bundlecaps from command line.
  1355     # TODO: get desired bundlecaps from command line.
  1354     bundlecaps = None
  1356     bundlecaps = None