~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Parth Malwankar
  • Date: 2010-05-14 08:22:10 UTC
  • mto: This revision was merged to the branch mainline in revision 5241.
  • Revision ID: parth.malwankar@gmail.com-20100514082210-5hpm0l1s71m213yj
moved progress bar logic to SourceStream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1980
1980
        if response_tuple[0] != 'ok':
1981
1981
            raise errors.UnexpectedSmartServerResponse(response_tuple)
1982
1982
        byte_stream = response_handler.read_streamed_body()
1983
 
        src_format, stream = smart_repo._byte_stream_to_stream(byte_stream)
 
1983
        src_format, stream = smart_repo._byte_stream_to_stream(byte_stream,
 
1984
            self._record_counter)
1984
1985
        if src_format.network_name() != repo._format.network_name():
1985
1986
            raise AssertionError(
1986
1987
                "Mismatched RemoteRepository and stream src %r, %r" % (