equal
deleted
inserted
replaced
478 bundlerepo = None |
478 bundlerepo = None |
479 localrepo = other.local() |
479 localrepo = other.local() |
480 if bundlename or not localrepo: |
480 if bundlename or not localrepo: |
481 # create a bundle (uncompressed if other repo is not local) |
481 # create a bundle (uncompressed if other repo is not local) |
482 |
482 |
483 canbundle2 = (ui.configbool('experimental', 'bundle2-exp', True) |
483 # developer config: devel.legacy.exchange |
|
484 legexc = ui.configlist('devel', 'legacy.exchange') |
|
485 if not legexc: |
|
486 forcebundle1 = not ui.configbool('experimental', 'bundle2-exp', |
|
487 True) |
|
488 else: |
|
489 forcebundle1 = 'bundle2' not in legexc and 'bundle1' in legexc |
|
490 canbundle2 = (not forcebundle1 |
484 and other.capable('getbundle') |
491 and other.capable('getbundle') |
485 and other.capable('bundle2')) |
492 and other.capable('bundle2')) |
486 if canbundle2: |
493 if canbundle2: |
487 kwargs = {} |
494 kwargs = {} |
488 kwargs['common'] = common |
495 kwargs['common'] = common |