changeset 25404 | ff955e7b1085 |
parent 25402 | 0c2ded041d10 |
child 25423 | 525fbf24b51b |
--- a/mercurial/exchange.py Mon Jun 01 10:28:40 2015 -0700 +++ b/mercurial/exchange.py Fri Feb 06 17:41:24 2015 +0000 @@ -59,7 +59,7 @@ """return true if a pull/push can use bundle2 Feel free to nuke this function when we drop the experimental option""" - return (op.repo.ui.configbool('experimental', 'bundle2-exp', False) + return (op.repo.ui.configbool('experimental', 'bundle2-exp', True) and op.remote.capable('bundle2'))