~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/protocol.py

  • Committer: Robert Collins
  • Date: 2010-06-28 02:41:22 UTC
  • mto: This revision was merged to the branch mainline in revision 5324.
  • Revision ID: robertc@robertcollins.net-20100628024122-g951fzp74f3u6wst
Sanity check that new_trace_file in pop_log_file is valid, and also fix a test that monkey patched get_terminal_encoding.

Show diffs side-by-side

added added

removed removed

Lines of Context:
654
654
        """Make a remote call with a readv array.
655
655
 
656
656
        The body is encoded with one line per readv offset pair. The numbers in
657
 
        each pair are separated by a comma, and no trailing \\n is emitted.
 
657
        each pair are separated by a comma, and no trailing \n is emitted.
658
658
        """
659
659
        if 'hpss' in debug.debug_flags:
660
660
            mutter('hpss call w/readv: %s', repr(args)[1:-1])
1231
1231
                    if first_chunk is None:
1232
1232
                        first_chunk = chunk
1233
1233
                    self._write_prefixed_body(chunk)
1234
 
                    self.flush()
1235
1234
                    if 'hpssdetail' in debug.debug_flags:
1236
1235
                        # Not worth timing separately, as _write_func is
1237
1236
                        # actually buffered
1332
1331
        """Make a remote call with a readv array.
1333
1332
 
1334
1333
        The body is encoded with one line per readv offset pair. The numbers in
1335
 
        each pair are separated by a comma, and no trailing \\n is emitted.
 
1334
        each pair are separated by a comma, and no trailing \n is emitted.
1336
1335
        """
1337
1336
        if 'hpss' in debug.debug_flags:
1338
1337
            mutter('hpss call w/readv: %s', repr(args)[1:-1])