comparison mercurial/bundlerepo.py @ 29689:39537bc64442

bundle2: remove 'experimental.bundle2-exp' boolean config (BC) All users are migrated to 'devel.legacy.exchange', we can clean up the experimental namespace. Marking as (BC) because I know some large installation have bundle2 off and I want to make sure they notice the change.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 03 Aug 2016 16:23:26 +0200
parents ff5d5751fc1b
children 0839c8d34d78
comparison
equal deleted inserted replaced
29688:30c59bdd4f41 29689:39537bc64442
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 # developer config: devel.legacy.exchange 483 # developer config: devel.legacy.exchange
484 legexc = ui.configlist('devel', 'legacy.exchange') 484 legexc = ui.configlist('devel', 'legacy.exchange')
485 if not legexc: 485 forcebundle1 = 'bundle2' not in legexc and 'bundle1' in 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 486 canbundle2 = (not forcebundle1
491 and other.capable('getbundle') 487 and other.capable('getbundle')
492 and other.capable('bundle2')) 488 and other.capable('bundle2'))
493 if canbundle2: 489 if canbundle2:
494 kwargs = {} 490 kwargs = {}