~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-12 03:44:12 UTC
  • mfrom: (4436.1.1 rename-init_ex-verb)
  • Revision ID: pqm@pqm.ubuntu.com-20090612034412-oi5ll5wrbarb2w7s
(andrew) Rename BzrDirFormat.initialize_ex verb to
        BzrDirFormat.initialize_ex_1.16.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3175
3175
        if not do_vfs:
3176
3176
            client = _SmartClient(client_medium)
3177
3177
            path = client.remote_path_from_transport(transport)
3178
 
            if client_medium._is_remote_before((1, 15)):
 
3178
            if client_medium._is_remote_before((1, 16)):
3179
3179
                do_vfs = True
3180
3180
        if do_vfs:
3181
3181
            # TODO: lookup the local format from a server hint.
3215
3215
            self._network_name = \
3216
3216
            BzrDirFormat.get_default_format().network_name()
3217
3217
        try:
3218
 
            response = client.call('BzrDirFormat.initialize_ex',
 
3218
            response = client.call('BzrDirFormat.initialize_ex_1.16',
3219
3219
                self.network_name(), path, *args)
3220
3220
        except errors.UnknownSmartMethod:
 
3221
            client._medium._remember_remote_is_before((1,16))
3221
3222
            local_dir_format = BzrDirMetaFormat1()
3222
3223
            self._supply_sub_formats_to(local_dir_format)
3223
3224
            return local_dir_format.initialize_on_transport_ex(transport,