/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: 2009-09-24 05:31:23 UTC
  • mfrom: (4712 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4713.
  • Revision ID: andrew.bennetts@canonical.com-20090924053123-ztws4evq98lfgbr2
Merge bzr.dev; fix test isolation glitch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
292
292
        # cannot read after this.
293
293
        self.finished_reading = True
294
294
 
295
 
    def dispatch_command(self, cmd, args):
296
 
        """Deprecated compatibility method.""" # XXX XXX
297
 
        try:
298
 
            command = self._commands.get(cmd)
299
 
        except LookupError:
300
 
            raise errors.UnknownSmartMethod(cmd)
301
 
        self._command = command(self._backing_transport, self._root_client_path)
302
 
        self._run_handler_code(self._command.execute, args, {})
303
 
 
304
295
    def _run_handler_code(self, callable, args, kwargs):
305
296
        """Run some handler specific code 'callable'.
306
297
 
343
334
            command = self._commands.get(cmd)
344
335
        except LookupError:
345
336
            raise errors.UnknownSmartMethod(cmd)
346
 
        self._command = command(self._backing_transport)
 
337
        self._command = command(
 
338
            self._backing_transport, self._root_client_path)
347
339
        self._run_handler_code(self._command.execute, args, {})
348
340
 
349
341
    def end_received(self):