/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/request.py

  • Committer: Andrew Bennetts
  • Date: 2008-01-14 22:45:15 UTC
  • mfrom: (3179 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3180.
  • Revision ID: andrew.bennetts@canonical.com-20080114224515-izp51fxci3hhopap
Merge from bzr.dev.

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')