# HG changeset patch # User Durham Goode # Date 2014-05-08 00:20:38 # Node ID 750c7c14a6372b73d02e0dde3a868ac7313c0c75 # Parent 62a2749895e4151f766a4243fa870b1ddd7386d0 bundle2: fix configuration name mismatch During pulls bundle2 was checking server.bundle2, but during pushes it was checking experimental.bundle2. This makes them both experimental.bundle2. diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -537,7 +537,7 @@ def pull(repo, remote, heads=None, force lock = pullop.repo.lock() try: _pulldiscovery(pullop) - if (pullop.repo.ui.configbool('server', 'bundle2', False) + if (pullop.repo.ui.configbool('experimental', 'bundle2-exp', False) and pullop.remote.capable('bundle2-exp')): _pullbundle2(pullop) if 'changegroup' in pullop.todosteps: