/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: Vincent Ladeuil
  • Date: 2007-11-19 13:44:25 UTC
  • mto: (3018.1.1 trunk)
  • Revision ID: v.ladeuil+lp@free.fr-20071119134425-y74t0vh9ctpo8j9f
Fix 150860 by leaving port as user specified it.

* transport/remote.py:
(BZR_DEFAULT_INTERFACE, BZR_DEFAULT_PORT): Moved to
smart/medium.py.

* transport/__init__.py:
(TransportListRegistry.register_transport): Delete default_port.
(TransportListRegistry.get_default_port): Deleted.
(ConnectedTransport._split_url, ConnectedTransport._unsplit_url):
Leave port untouched.

* tests/test_transport.py: 
Transports kept port as user specified it.
(TestRemoteTCPTransport, SSHPortTestMixin, SFTPTransportPortTest,
BzrSSHTransportPortTest): Deleted. Default port is set just before
connection.

* smart/medium.py:
(SmartTCPClientMedium._ensure_connection): Set port to default
*just* before connection.

* builtins.py:
(cmd_serve.run): Get interface and port default values from medium.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 2980 18 years ago Canonical.com Patch Queue Manager (robertc) Improved lp:/// URL support for the Laun 7.1 KB Diff Download File
account.py 2980 18 years ago Canonical.com Patch Queue Manager (robertc) Improved lp:/// URL support for the Laun 2.1 KB Diff Download File
lp_indirect.py 2898.4.15 18 years ago James Henstridge Use get_transport() to decide whether Bazaar suppo 4.5 KB Diff Download File
lp_registration.py 2978.5.2 18 years ago John Arbash Meinel merge bzr.dev 2991 8.4 KB Diff Download File
test_account.py 2898.3.10 18 years ago James Henstridge Make LaunchpadAccountTests a TestCaseInTempDir so 3.4 KB Diff Download File
test_lp_indirect.py 2898.4.17 18 years ago James Henstridge Add a test that the redirect actually occurs when 7.2 KB Diff Download File
test_register.py 2978.5.2 18 years ago John Arbash Meinel merge bzr.dev 2991 12.8 KB Diff Download File