~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/remote.py

Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
import urlparse
28
28
 
29
29
from bzrlib import (
 
30
    debug,
30
31
    errors,
 
32
    trace,
31
33
    transport,
32
34
    urlutils,
33
35
    )
105
107
            credentials = None
106
108
            if medium is None:
107
109
                medium, credentials = self._build_medium()
108
 
            self._shared_connection= transport._SharedConnection(medium,
109
 
                                                                 credentials)
 
110
                if 'hpss' in debug.debug_flags:
 
111
                    trace.mutter('hpss: Built a new medium: %s',
 
112
                                 medium.__class__.__name__)
 
113
            self._shared_connection = transport._SharedConnection(medium,
 
114
                                                                  credentials)
110
115
 
111
116
        if _client is None:
112
117
            self._client = client._SmartClient(self.get_shared_medium())