~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-27 06:47:50 UTC
  • mfrom: (4294.2.12 push.roundtrips)
  • Revision ID: pqm@pqm.ubuntu.com-20090427064750-e9obd6h83omt86ps
(robertc) Reduce roundtrips needed to push a new branch by coalescing
        many steps of the initialisation process. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
491
491
        # 1) get the network name to use.
492
492
        if self._custom_format:
493
493
            network_name = self._custom_format.network_name()
 
494
        elif self._network_name:
 
495
            network_name = self._network_name
494
496
        else:
495
497
            # Select the current bzrlib default and ask for that.
496
498
            reference_bzrdir_format = bzrdir.format_registry.get('default')()