/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to bzrlib/transport/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-10-24 18:19:51 UTC
  • mfrom: (2919.2.2 netloc_protocols)
  • Revision ID: pqm@pqm.ubuntu.com-20071024181951-qqo4r5mqrhr032pf
(John Arbash Meinel) Register netloc protocols earlier. Helps reduce some race conditions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    )
37
37
from bzrlib.smart import client, medium, protocol
38
38
 
39
 
# must do this otherwise urllib can't parse the urls properly :(
40
 
for scheme in ['ssh', 'bzr', 'bzr+loopback', 'bzr+ssh', 'bzr+http', 'bzr+https']:
41
 
    transport.register_urlparse_netloc_protocol(scheme)
42
 
del scheme
43
 
 
44
39
 
45
40
# Port 4155 is the default port for bzr://, registered with IANA.
46
41
BZR_DEFAULT_INTERFACE = '0.0.0.0'