~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Robert Collins
  • Date: 2009-02-19 01:41:43 UTC
  • mto: This revision was merged to the branch mainline in revision 4020.
  • Revision ID: robertc@robertcollins.net-20090219014143-wv42sc7z71wbhht0
Add BzrDirFormatMeta1 test for the amount of rpc calls made initializing over the network.

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
        """
189
189
        transport.ensure_base()
190
190
        require_stacking = (stacked_on is not None)
191
 
        metadir = self.cloning_metadir(require_stacking)
192
 
        result = metadir.initialize_on_transport(transport)
 
191
        format = self.cloning_metadir(require_stacking)
 
192
        result = format.initialize_on_transport(transport)
193
193
        repository_policy = None
194
194
        try:
195
195
            local_repo = self.find_repository()