Mercurial > public > mercurial-scm > hg-stable
diff mercurial/exchange.py @ 50558:58adcabc295f
stream-clone: introduce the notion of an experimental "v3" version
We introduce a new experimental "v3" stream protocol, disabled by default. In
practice the "v3-exp" protocol introduced in this changeset is identical to v2,
but this changeset, lay the groundwork for having a new protocol:
configuration, capability exchange, test coverage, etc.
The actual protocol work will starts in the coming changesets.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 19 May 2023 14:49:50 +0200 |
parents | 4188e75af983 |
children | b361e9da3c3b |
line wrap: on
line diff
--- a/mercurial/exchange.py Sat May 20 01:39:13 2023 +0200 +++ b/mercurial/exchange.py Fri May 19 14:49:50 2023 +0200 @@ -2421,7 +2421,7 @@ return info, bundler.getchunks() -@getbundle2partsgenerator(b'stream2') +@getbundle2partsgenerator(b'stream') def _getbundlestream2(bundler, repo, *args, **kwargs): return bundle2.addpartbundlestream2(bundler, repo, **kwargs)