equal
deleted
inserted
replaced
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')) |