At http://people.ubuntu.com/~robertc/baz2.0/integration
------------------------------------------------------------ revno: 4065 revision-id: [email protected] parent: [email protected] committer: Robert Collins <[email protected]> branch nick: integration timestamp: Mon 2009-03-02 18:13:41 +1100 message: Verb change name requested by Andrew. === modified file 'bzrlib/remote.py' --- a/bzrlib/remote.py 2009-03-02 03:38:07 +0000 +++ b/bzrlib/remote.py 2009-03-02 07:13:41 +0000 @@ -1482,7 +1482,7 @@ try: recipe = repo._serialise_search_recipe(search._recipe) response = repo._call_with_body_bytes_expecting_body( - 'Repository.StreamSource.get_stream', + 'Repository.get_stream', (path, self.to_format.network_name()), recipe) response_tuple, response_handler = response except errors.UnknownSmartMethod: === modified file 'bzrlib/smart/repository.py' --- a/bzrlib/smart/repository.py 2009-03-02 03:38:07 +0000 +++ b/bzrlib/smart/repository.py 2009-03-02 07:13:41 +0000 @@ -333,7 +333,7 @@ return SuccessfulSmartServerResponse(('ok', token)) -class SmartServerRepositoryStreamSourceGetStream(SmartServerRepositoryRequest): +class SmartServerRepositoryGetStream(SmartServerRepositoryRequest): def do_repository_request(self, repository, to_network_name): """Get a stream for inserting into a to_format repository. @@ -400,7 +400,7 @@ def _byte_stream_to_stream(byte_stream): - """Convert a byte stream into a format and a StreamSource stream. + """Convert a byte stream into a format and a stream. :param byte_stream: A bytes iterator, as output by _stream_to_byte_stream. :return: (RepositoryFormat, stream_generator) === modified file 'bzrlib/smart/request.py' --- a/bzrlib/smart/request.py 2009-03-02 03:38:07 +0000 +++ b/bzrlib/smart/request.py 2009-03-02 07:13:41 +0000 @@ -465,8 +465,8 @@ request_handlers.register_lazy( 'Repository.unlock', 'bzrlib.smart.repository', 'SmartServerRepositoryUnlock') request_handlers.register_lazy( - 'Repository.StreamSource.get_stream', 'bzrlib.smart.repository', - 'SmartServerRepositoryStreamSourceGetStream') + 'Repository.get_stream', 'bzrlib.smart.repository', + 'SmartServerRepositoryGetStream') request_handlers.register_lazy( 'Repository.tarball', 'bzrlib.smart.repository', 'SmartServerRepositoryTarball') === modified file 'bzrlib/tests/test_smart.py' --- a/bzrlib/tests/test_smart.py 2009-03-02 03:38:07 +0000 +++ b/bzrlib/tests/test_smart.py 2009-03-02 07:13:41 +0000 @@ -1201,8 +1201,8 @@ smart.request.request_handlers.get('Repository.lock_write'), smart.repository.SmartServerRepositoryLockWrite) self.assertEqual( - smart.request.request_handlers.get('Repository.StreamSource.get_stream'), - smart.repository.SmartServerRepositoryStreamSourceGetStream) + smart.request.request_handlers.get('Repository.get_stream'), + smart.repository.SmartServerRepositoryGetStream) self.assertEqual( smart.request.request_handlers.get('Repository.tarball'), smart.repository.SmartServerRepositoryTarball) -- bazaar-commits mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/bazaar-commits
