mercurial/bundle2.py
branchstable
changeset 43421 be384a2052aa
parent 43131 c17a63eb5d4c
child 43495 daade078f1f0
equal deleted inserted replaced
43420:93aeebc90ff9 43421:be384a2052aa
   855         have no way to know then the reply end, relying on the bundle to be
   855         have no way to know then the reply end, relying on the bundle to be
   856         interpreted to know its end. This is terrible and we are sorry, but we
   856         interpreted to know its end. This is terrible and we are sorry, but we
   857         needed to move forward to get general delta enabled.
   857         needed to move forward to get general delta enabled.
   858         """
   858         """
   859         yield self._magicstring
   859         yield self._magicstring
   860         assert b'params' not in vars(self)
   860         assert 'params' not in vars(self)
   861         paramssize = self._unpack(_fstreamparamsize)[0]
   861         paramssize = self._unpack(_fstreamparamsize)[0]
   862         if paramssize < 0:
   862         if paramssize < 0:
   863             raise error.BundleValueError(
   863             raise error.BundleValueError(
   864                 b'negative bundle param size: %i' % paramssize
   864                 b'negative bundle param size: %i' % paramssize
   865             )
   865             )