/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: John Arbash Meinel
  • Date: 2008-03-15 13:51:09 UTC
  • mfrom: (3280 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3281.
  • Revision ID: john@arbash-meinel.com-20080315135109-7v9gimdidd1s7llr
[merge] bzr.dev 3280

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
        anything but path, so it is only safe to use it in requests sent over
88
88
        the medium from the matching transport.
89
89
        """
90
 
        if self._shared_connection.base.startswith('bzr+http://'):
 
90
        base = self._shared_connection.base
 
91
        if base.startswith('bzr+http://') or base.startswith('bzr+https://'):
91
92
            medium_base = self._shared_connection.base
92
93
        else:
93
94
            medium_base = urlutils.join(self._shared_connection.base, '/')