~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

(jelmer) Several more fixes to allow running bzr.dev against bzr-svn (Jelmer
 Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
 
180
180
    def test_sprout_with_ghost_in_mainline(self):
181
181
        tree = self.make_branch_and_tree('tree1')
 
182
        if not tree.branch.repository._format.supports_ghosts:
 
183
            raise tests.TestNotApplicable(
 
184
                "repository format does not support ghosts in mainline")
182
185
        tree.set_parent_ids(["spooky"], allow_leftmost_as_ghost=True)
183
186
        tree.add('')
184
187
        tree.commit('msg1', rev_id='rev1')