/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

(jelmer) Misc fixes for running the regular bzr tests against foreign
 branches. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        source = builder.get_branch()
125
125
        try:
126
126
            source.tags.set_tag('tag-a', 'missing-rev')
127
 
        except errors.TagsNotSupported:
 
127
        except (errors.TagsNotSupported, errors.GhostTagsNotSupported):
128
128
            raise tests.TestNotApplicable(
129
 
                'Branch format does not support tags.')
 
129
                'Branch format does not support tags or tags to ghosts.')
130
130
        # Now source has a tag pointing to an absent revision.  Sprout it.
131
131
        target_bzrdir = self.make_repository('target').bzrdir
132
132
        new_branch = source.sprout(target_bzrdir)