/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/smart/client.py

  • Committer: Andrew Bennetts
  • Date: 2008-03-28 09:07:01 UTC
  • mto: This revision was merged to the branch mainline in revision 3329.
  • Revision ID: andrew.bennetts@canonical.com-20080328090701-p210ycxz2inhj5zg
Treat http:// and https:// URLs correctly in _SmartClient.remote_path_for_transport.

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
        the medium from the matching transport.
88
88
        """
89
89
        base = self._base
90
 
        if base.startswith('bzr+http://') or base.startswith('bzr+https://'):
 
90
        if (base.startswith('bzr+http://') or base.startswith('bzr+https://')
 
91
            or base.startswith('http://') or base.startswith('https://')):
91
92
            medium_base = self._base
92
93
        else:
93
94
            medium_base = urlutils.join(self._base, '/')