/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: Martin Pool
  • Date: 2008-09-15 06:28:27 UTC
  • mto: (3697.2.6 261315-into-1.7)
  • mto: This revision was merged to the branch mainline in revision 3710.
  • Revision ID: mbp@sourcefrog.net-20080915062827-idpp07pfwchedixn
Add Branch.get_stacked_on_url rpc and tests for same

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
                other.body_stream is self.body_stream)
180
180
 
181
181
    def __repr__(self):
182
 
        status = {True: 'OK', False: 'ERR'}[self.is_successful()]
183
 
        return "<SmartServerResponse status=%s args=%r body=%r>" % (status,
 
182
        return "<%r args=%r body=%r>" % (self.__class__.__name__,
184
183
            self.args, self.body)
185
184
 
186
185
 
375
374
request_handlers.register_lazy(
376
375
    'Branch.get_config_file', 'bzrlib.smart.branch', 'SmartServerBranchGetConfigFile')
377
376
request_handlers.register_lazy(
 
377
    'Branch.get_stacked_on_url', 'bzrlib.smart.branch', 'SmartServerBranchRequestGetStackedOnURL')
 
378
request_handlers.register_lazy(
378
379
    'Branch.last_revision_info', 'bzrlib.smart.branch', 'SmartServerBranchRequestLastRevisionInfo')
379
380
request_handlers.register_lazy(
380
381
    'Branch.lock_write', 'bzrlib.smart.branch', 'SmartServerBranchRequestLockWrite')