~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/bzrdir.py

  • Committer: Martin von Gagern
  • Date: 2011-06-01 12:53:56 UTC
  • mto: This revision was merged to the branch mainline in revision 6009.
  • Revision ID: martin.vgagern@gmx.net-20110601125356-lwozv2vecea6hxfz
Change from no_decorate to classify as name for the argument.

The command line switch remains as --no-classify, to keep backwards
compatibility.  Users are free to include --no-classify in an alias, and
still use --classify to change back.

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
 
        if not control_format.fixed_components:
 
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):
154
156
            branch_name = ('branch',
155
157
                control_format.get_branch_format().network_name())
156
158
            repository_name = control_format.repository_format.network_name()