~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/bzrdir.py

(jelmer) Various improvements to allow running bzr interface tests against
 foreign branch plugins. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
        control_format = self._bzrdir.cloning_metadir(
151
151
            require_stacking=require_stacking)
152
152
        control_name = control_format.network_name()
153
 
        # XXX: There should be a method that tells us that the format does/does
154
 
        # not have subformats.
155
 
        if isinstance(control_format, BzrDirMetaFormat1):
 
153
        if not control_format.fixed_components:
156
154
            branch_name = ('branch',
157
155
                control_format.get_branch_format().network_name())
158
156
            repository_name = control_format.repository_format.network_name()