-
Committer:
v.ladeuil+lp at free
-
Date:
2007-01-09 15:33:36 UTC
-
mto:
(2323.7.1 redirection)
-
mto:
This revision was merged to the branch mainline in
revision
2390.
-
Revision ID:
v.ladeuil+lp@free.fr-20070109153336-8iucozbcxmpb1az6
First implementation of transport hints.
* bzrlib/tests/test_transport_hints.py:
New file.
* bzrlib/transport/__init__.py:
(TransportHints, TransportGetHints): New hints classes.
(Transport.create_get_hints): New method creating a suitable hints
object.
* bzrlib/tests/__init__.py:
(test_suite): Add test_transport_hints.
* bzrlib/errors.py:
(RedirectRequested.__init__): Fix typo.
(UnknownHint): New exception class.
* bzrlib/bzrdir.py:
(BzrDirFormat.probe_transport): Pass a hints object to
transport.get.