~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/memory.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:
81
81
 
82
82
    def clone(self, offset=None):
83
83
        """See Transport.clone()."""
84
 
        path = self._combine_paths(self._cwd, offset)
 
84
        path = urlutils.URL._combine_paths(self._cwd, offset)
85
85
        if len(path) == 0 or path[-1] != '/':
86
86
            path += '/'
87
87
        url = self._scheme + path