equal
deleted
inserted
replaced
3372 except KeyError: |
3372 except KeyError: |
3373 raise util.Abort(_('unknown bundle type specified with --type')) |
3373 raise util.Abort(_('unknown bundle type specified with --type')) |
3374 |
3374 |
3375 if version is None: |
3375 if version is None: |
3376 version = '01' |
3376 version = '01' |
|
3377 if 'generaldelta' in repo.requirements: |
|
3378 version = '02' |
3377 else: |
3379 else: |
3378 try: |
3380 try: |
3379 version = _bundleversionspecs[version] |
3381 version = _bundleversionspecs[version] |
3380 except KeyError: |
3382 except KeyError: |
3381 raise util.Abort(_('unknown bundle type specified with --type')) |
3383 raise util.Abort(_('unknown bundle type specified with --type')) |