~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-12 18:48:36 UTC
  • mfrom: (6055.2.19 unparsedurl-b)
  • Revision ID: pqm@pqm.ubuntu.com-20110812184836-5jv1u3ns0s74zsg0
(jelmer) Add URL.clone,
 URL.__str__ and use them in various places. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
 
149
149
        user and passwords are not embedded in the path provided to the server.
150
150
        """
151
 
        relative = urlutils.unescape(relpath).encode('utf-8')
152
 
        path = self._combine_paths(self._parsed_url.path, relative)
 
151
        path = self._parsed_url.clone(relpath).path
153
152
        return self._unsplit_url(self._unqualified_scheme,
154
153
                                 None, None, self._parsed_url.host,
155
154
                                 self._parsed_url.port, path)