diff -r 15d3facfa40a -r aaad36b88298 mercurial/exchange.py --- a/mercurial/exchange.py Sun Jan 13 20:13:22 2019 -0500 +++ b/mercurial/exchange.py Wed Feb 20 19:28:51 2019 -0500 @@ -2547,8 +2547,8 @@ return True # Stream clone v2 - if (bundlespec.wirecompression == 'UN' and \ - bundlespec.wireversion == '02' and \ + if (bundlespec.wirecompression == 'UN' and + bundlespec.wireversion == '02' and bundlespec.contentopts.get('streamv2')): return True