~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(jelmer) Add RepositoryFormat.supports_nesting_repositories. (Jelmer
 Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
511
511
            repo = self.make_repository('repo', shared=True)
512
512
        except errors.IncompatibleFormat:
513
513
            raise TestNotApplicable()
 
514
        if not repo._format.supports_nesting_repositories:
 
515
            raise TestNotApplicable()
514
516
        # Avoid make_branch, which produces standalone branches.
515
517
        bzrdir = self.make_bzrdir('repo/stack-on')
516
518
        try: