678
680
redirected_transport = transport._redirected_to(e.source, e.target)
679
681
if redirected_transport is None:
680
682
raise errors.NotBranchError(base)
682
684
transport.base, e.permanently, redirected_transport.base))
683
685
return redirected_transport