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

  • Committer: Vincent Ladeuil
  • Date: 2008-12-04 16:02:51 UTC
  • mto: (3902.1.1 bzr.integration)
  • mto: This revision was merged to the branch mainline in revision 3903.
  • Revision ID: v.ladeuil+lp@free.fr-20081204160251-37f920alwn9t0i4p
Don't use the exception as a parameter for _redirected_to.

* bzrlib/transport/http/__init__.py:
(HttpTransportBase._redirected_to): Update prototype.

* bzrlib/transport/decorator.py:
(TransportDecorator._redirected_to): Update prototype.

* bzrlib/tests/blackbox/test_push.py:
(RedirectingMemoryTransport): Update prototype.

Show diffs side-by-side

added added

removed removed

Lines of Context:
781
781
                transport, _server_formats=_server_formats)
782
782
 
783
783
        def redirected(transport, e, redirection_notice):
784
 
            redirected_transport = transport._redirected_to(e)
 
784
            redirected_transport = transport._redirected_to(e.source, e.target)
785
785
            if redirected_transport is None:
786
786
                raise errors.NotBranchError(base)
787
787
            note('%s is%s redirected to %s',