/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: Alexander Belchenko
  • Date: 2008-03-17 21:58:47 UTC
  • mfrom: (3290 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3293.
  • Revision ID: bialix@ukr.net-20080317215847-m36yrjhb004kgi65
merge bzr.dev

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, '/')