~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2485.8.47.

  • Committer: Vincent Ladeuil
  • Date: 2007-06-11 07:37:43 UTC
  • mto: This revision was merged to the branch mainline in revision 2646.
  • Revision ID: v.ladeuil+lp@free.fr-20070611073743-eqmrwxje32agbzpx
Remove _initial_split_url hack.

* bzrlib/transport/__init__.py:
(ConnectedTransport.__init__): Use _split_url.
(ConnectedTransport._split_url): Really a static method.
(ConnectedTransport._unsplit_url): Really a static method.

* bzrlib/transport/remote.py:
(RemoteTCPTransport.__init__): Set default port. Doing so in
__init__ is perfectly valid and cleaner than the
_initial_split_url hack.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: