/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/smart/repository.py

  • Committer: Robert Collins
  • Date: 2009-03-02 07:13:41 UTC
  • mto: This revision was merged to the branch mainline in revision 4068.
  • Revision ID: robertc@robertcollins.net-20090302071341-c7kzkzps5pxt3dgf
Verb change name requested by Andrew.

Show diffs side-by-side

added added

removed removed

Lines of Context:
333
333
        return SuccessfulSmartServerResponse(('ok', token))
334
334
 
335
335
 
336
 
class SmartServerRepositoryStreamSourceGetStream(SmartServerRepositoryRequest):
 
336
class SmartServerRepositoryGetStream(SmartServerRepositoryRequest):
337
337
 
338
338
    def do_repository_request(self, repository, to_network_name):
339
339
        """Get a stream for inserting into a to_format repository.
400
400
 
401
401
 
402
402
def _byte_stream_to_stream(byte_stream):
403
 
    """Convert a byte stream into a format and a StreamSource stream.
 
403
    """Convert a byte stream into a format and a stream.
404
404
 
405
405
    :param byte_stream: A bytes iterator, as output by _stream_to_byte_stream.
406
406
    :return: (RepositoryFormat, stream_generator)