Mercurial > public > mercurial-scm > hg
comparison mercurial/bundle2.py @ 50990:12c308c55e53
branching: merge stable into default
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 11 Oct 2023 02:02:46 +0200 |
parents | d718eddf01d9 704c3d0878d9 |
children | 780fc16b62e6 |
comparison
equal
deleted
inserted
replaced
50986:752c5a5b73c6 | 50990:12c308c55e53 |
---|---|
894 | 894 |
895 def _forwardchunks(self): | 895 def _forwardchunks(self): |
896 """utility to transfer a bundle2 as binary | 896 """utility to transfer a bundle2 as binary |
897 | 897 |
898 This is made necessary by the fact the 'getbundle' command over 'ssh' | 898 This is made necessary by the fact the 'getbundle' command over 'ssh' |
899 have no way to know then the reply end, relying on the bundle to be | 899 have no way to know when the reply ends, relying on the bundle to be |
900 interpreted to know its end. This is terrible and we are sorry, but we | 900 interpreted to know its end. This is terrible and we are sorry, but we |
901 needed to move forward to get general delta enabled. | 901 needed to move forward to get general delta enabled. |
902 """ | 902 """ |
903 yield self._magicstring | 903 yield self._magicstring |
904 assert 'params' not in vars(self) | 904 assert 'params' not in vars(self) |