~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/request.py

Merge next_with_ghosts support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
                other.body_stream is self.body_stream)
107
107
 
108
108
    def __repr__(self):
109
 
        return "<SmartServerResponse %r args=%r body=%r>" % (
110
 
            self.is_successful(), self.args, self.body)
 
109
        return ("<SmartServerResponse successful=%s args=%r body=%r>"
 
110
                % (self.is_successful(), self.args, self.body))
111
111
 
112
112
 
113
113
class FailedSmartServerResponse(SmartServerResponse):
319
319
                               'bzrlib.smart.repository',
320
320
                               'SmartServerRepositoryGatherStats')
321
321
request_handlers.register_lazy(
322
 
    'Repository.stream_knit_data_for_revisions', 'bzrlib.smart.repository',
 
322
    'Repository.stream_knit_data_for_revisions',
 
323
    'bzrlib.smart.repository',
 
324
    'SmartServerRepositoryStreamKnitDataForRevisions')
 
325
request_handlers.register_lazy(
 
326
    'Repository.stream_revisions_chunked',
 
327
    'bzrlib.smart.repository',
 
328
    'SmartServerRepositoryStreamRevisionsChunked')
 
329
request_handlers.register_lazy(
 
330
    'Repository.chunked_stream_knit_data_for_revisions',
 
331
    'bzrlib.smart.repository',
323
332
    'SmartServerRepositoryStreamKnitDataForRevisions')
324
333
request_handlers.register_lazy(
325
334
    'Repository.get_revision_graph', 'bzrlib.smart.repository', 'SmartServerRepositoryGetRevisionGraph')