~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_push.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-02-23 15:43:26 UTC
  • mfrom: (5673.1.3 flexible-components)
  • Revision ID: pqm@pqm.ubuntu.com-20110223154326-clehiyp17ffzo5o9
(jelmer) Add BzrDirFormat.fixed_components. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
        default for the branch), and will be stacked when the repo format
210
210
        allows (which means that the branch format isn't necessarly preserved).
211
211
        """
212
 
        if isinstance(self.branch_format, branch.BzrBranchFormat4):
 
212
        if self.bzrdir_format.fixed_components:
213
213
            raise tests.TestNotApplicable('Not a metadir format.')
214
214
        if isinstance(self.branch_format, branch.BranchReferenceFormat):
215
215
            # This test could in principle apply to BranchReferenceFormat, but