~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/message.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-30 01:02:36 UTC
  • mfrom: (3449.2.8 uncommit_perf)
  • Revision ID: pqm@pqm.ubuntu.com-20080530010236-e3x7ckdc25s57pgc
(jam) Speed up 'bzr uncommit' by avoiding loading the whole revision
        history (bug #172649)

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__)
245
240
            raise errors.ConnectionReset(
246
241
                "please check connectivity and permissions",
247
242
                "(and try -Dhpss if further diagnosis is required)")