~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/gio_transport.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:
250
250
        self._set_connection(connection, credentials)
251
251
 
252
252
    def _remote_path(self, relpath):
253
 
        relative = urlutils.unescape(relpath).encode('utf-8')
254
 
        remote_path = self._combine_paths(self._path, relative)
255
 
        return remote_path
 
253
        return self._parsed_url.clone(relpath).path
256
254
 
257
255
    def has(self, relpath):
258
256
        """Does the target location exist?"""