/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 2777.4.1 17 years ago Andrew Bennetts Move HPSS protocol description from bzrlib.smart d 4.5 KB Diff Download File
branch.py 2872.5.3 17 years ago Martin Pool Pass back LockFailed from smart server lock method 5.9 KB Diff Download File
bzrdir.py 2432.4.5 18 years ago Robert Collins Make using SuccessfulSmartServerResponse and Faile 4 KB Diff Download File
client.py 2671.1.2 17 years ago Andrew Bennetts Compare URLs in RemoteRepository.__eq__, rather th 2.8 KB Diff Download File
medium.py 3004.2.1 17 years ago Vincent Ladeuil Fix 150860 by leaving port as user specified it. 21.2 KB Diff Download File
protocol.py 2748.4.16 17 years ago Andrew Bennetts Tweaks suggested by review. 23.7 KB Diff Download File
repository.py 2592.3.214 17 years ago Robert Collins Merge bzr.dev. 9.8 KB Diff Download File
request.py 2748.4.13 17 years ago Andrew Bennetts Merge bzr.dev. 13.2 KB Diff Download File
server.py 2634.1.1 18 years ago Robert Collins (robertc) Reinstate the accidentally backed out ex 9.3 KB Diff Download File
vfs.py 2052.6.2 18 years ago Robert Collins Merge bzr.dev. 6.1 KB Diff Download File