~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/transport_util.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-08 17:52:59 UTC
  • mto: (5268.7.8 transport-segments)
  • mto: This revision was merged to the branch mainline in revision 6062.
  • Revision ID: jelmer@samba.org-20110808175259-putdqc0lnztp367v
Add UnparsedUrl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
            fake_base, _from_transport=_from_transport)
78
78
        # The following is needed to minimize the effects of our trick above
79
79
        # while retaining the best compatibility.
80
 
        self._scheme = _hooked_scheme
81
 
        base = self._unsplit_url(self._scheme,
82
 
                                 self._user, self._password,
83
 
                                 self._host, self._port,
84
 
                                 self._path)
 
80
        self._parsed_url.scheme = _hooked_scheme
 
81
        base = self._unsplit_url(self._parsed_url.scheme,
 
82
                                 self._parsed_url.user,
 
83
                                 self._parsed_url.password,
 
84
                                 self._parsed_url.host, self._parsed_url.port,
 
85
                                 self._parsed_url.path)
85
86
        super(ConnectedTransport, self).__init__(base)
86
87
 
87
88