mercurial/commands.py
changeset 26759 c0f475ac997e
parent 26758 bde7ef23340d
child 26764 7ce6fd705495
equal deleted inserted replaced
26758:bde7ef23340d 26759:c0f475ac997e
  1242     if 'rev' in opts:
  1242     if 'rev' in opts:
  1243         revs = scmutil.revrange(repo, opts['rev'])
  1243         revs = scmutil.revrange(repo, opts['rev'])
  1244 
  1244 
  1245     bundletype = opts.get('type', 'bzip2').lower()
  1245     bundletype = opts.get('type', 'bzip2').lower()
  1246     try:
  1246     try:
  1247         bcompression, cgversion = exchange.parsebundlespec(
  1247         bcompression, cgversion, params = exchange.parsebundlespec(
  1248                 repo, bundletype, strict=False)
  1248                 repo, bundletype, strict=False)
  1249     except error.UnsupportedBundleSpecification as e:
  1249     except error.UnsupportedBundleSpecification as e:
  1250         raise error.Abort(str(e),
  1250         raise error.Abort(str(e),
  1251                           hint=_('see "hg help bundle" for supported '
  1251                           hint=_('see "hg help bundle" for supported '
  1252                                  'values for --type'))
  1252                                  'values for --type'))