~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-11 15:13:57 UTC
  • mto: (5268.7.8 transport-segments)
  • mto: This revision was merged to the branch mainline in revision 6067.
  • Revision ID: jelmer@samba.org-20110811151357-kpapw19jy8v6hp5o
Use clone.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1449
1449
 
1450
1450
        :return: the absolute Unicode path on the server,
1451
1451
        """
1452
 
        relative = urlutils.unescape(relpath).encode('utf-8')
1453
 
        remote_path = urlutils.URL._combine_paths(self._path, relative)
1454
 
        return remote_path
 
1452
        return self._parsed_url.clone(relpath).path
1455
1453
 
1456
1454
    def _get_shared_connection(self):
1457
1455
        """Get the object shared amongst cloned transports.