diff -r a86d21e70b2b -r 9c2c77c73f23 mercurial/exchange.py --- a/mercurial/exchange.py Wed Sep 12 09:58:23 2018 -0700 +++ b/mercurial/exchange.py Wed Sep 12 10:01:16 2018 -0700 @@ -1508,7 +1508,7 @@ pullop.trmanager = transactionmanager(repo, 'pull', remote.url()) with repo.wlock(), repo.lock(), pullop.trmanager: # Use the modern wire protocol, if available. - if remote.capable('exchangev2'): + if remote.capable('command-changesetdata'): exchangev2.pull(pullop) else: # This should ideally be in _pullbundle2(). However, it needs to run