Mercurial > hg
changeset 21256:750c7c14a637
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.
author | Durham Goode <durham@fb.com> |
---|---|
date | Wed, 07 May 2014 17:20:38 -0700 |
parents | 62a2749895e4 |
children | 0055b5b3eb9c |
files | mercurial/exchange.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/exchange.py Wed May 07 17:58:13 2014 -0500 +++ b/mercurial/exchange.py Wed May 07 17:20:38 2014 -0700 @@ -537,7 +537,7 @@ 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: