~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2476.3.5.

  • Committer: Vincent Ladeuil
  • Date: 2007-05-03 09:59:47 UTC
  • mto: (2485.8.14 reuse.transports)
  • mto: This revision was merged to the branch mainline in revision 2646.
  • Revision ID: v.ladeuil+lp@free.fr-20070503095947-k2o8rnp5ug6uriu1
Naive implementation of transport reuse by Transport.get_transport().

* transport/__init__.py:
(get_transport): Accept a list of reusable transports as a
parameter.

* tests/test_transport.py:
(TestReusedTransports): Some basic tests.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: