/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-02-06 13:43:53 UTC
  • mfrom: (3211 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3231.
  • Revision ID: bialix@ukr.net-20080206134353-hmkib323nxgq3tw6
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
 
17
import urllib
17
18
from urlparse import urlparse
18
19
 
19
20
from bzrlib.smart import protocol
91
92
        else:
92
93
            medium_base = urlutils.join(self._shared_connection.base, '/')
93
94
            
94
 
        return urlutils.relative_url(medium_base, transport.base).encode('utf8')
 
95
        rel_url = urlutils.relative_url(medium_base, transport.base)
 
96
        return urllib.unquote(rel_url)