~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/message.py

  • Committer: Aaron Bentley
  • Date: 2008-06-06 16:40:46 UTC
  • mfrom: (3482 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3483.
  • Revision ID: aaron@aaronbentley.com-20080606164046-ghbxplxuhtpcb9iz
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
        bytes = self._medium_request.read_bytes(next_read_size)
238
238
        if bytes == '':
239
239
            # end of file encountered reading from server
 
240
            if 'hpss' in debug.debug_flags:
 
241
                mutter(
 
242
                    'decoder state: buf[:10]=%r, state_accept=%s',
 
243
                    self._protocol_decoder._in_buffer[:10],
 
244
                    self._protocol_decoder.state_accept.__name__)
240
245
            raise errors.ConnectionReset(
241
246
                "please check connectivity and permissions",
242
247
                "(and try -Dhpss if further diagnosis is required)")