mercurial/bundle2.py
changeset 43495 daade078f1f0
parent 43488 ea25b4673231
parent 43421 be384a2052aa
child 43506 9f70512ae2cf
equal deleted inserted replaced
43494:5d40317d42b7 43495:daade078f1f0
   859         have no way to know then the reply end, relying on the bundle to be
   859         have no way to know then the reply end, relying on the bundle to be
   860         interpreted to know its end. This is terrible and we are sorry, but we
   860         interpreted to know its end. This is terrible and we are sorry, but we
   861         needed to move forward to get general delta enabled.
   861         needed to move forward to get general delta enabled.
   862         """
   862         """
   863         yield self._magicstring
   863         yield self._magicstring
   864         assert b'params' not in vars(self)
   864         assert 'params' not in vars(self)
   865         paramssize = self._unpack(_fstreamparamsize)[0]
   865         paramssize = self._unpack(_fstreamparamsize)[0]
   866         if paramssize < 0:
   866         if paramssize < 0:
   867             raise error.BundleValueError(
   867             raise error.BundleValueError(
   868                 b'negative bundle param size: %i' % paramssize
   868                 b'negative bundle param size: %i' % paramssize
   869             )
   869             )