/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Andrew Bennetts
  • Date: 2008-05-19 06:58:44 UTC
  • mto: This revision was merged to the branch mainline in revision 3439.
  • Revision ID: andrew.bennetts@canonical.com-20080519065844-i9euu4oebe5796d0
First rough cut of a fix for bug #230550, by adding .base to SmartClientMedia rather than relying on other objects to track this accurately while reusing client media.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
 
63
63
        if _client is None:
64
64
            medium = transport.get_smart_medium()
 
65
#            if transport.base != 'bzr+' + medium.base:
 
66
#                import pdb; pdb.set_trace()
65
67
            self._client = client._SmartClient(medium, transport.base)
66
68
        else:
67
69
            self._client = _client
150
152
            return format.open(self, _found=True, location=reference_url)
151
153
                
152
154
    def open_repository(self):
 
155
        #import pdb; pdb.set_trace()
153
156
        path = self._path_for_remote_call(self._client)
154
157
        verb = 'BzrDir.find_repositoryV2'
155
158
        try: