/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 breezy/tests/per_branch/test_sprout.py

  • Committer: Jelmer Vernooij
  • Date: 2018-06-18 02:13:57 UTC
  • mto: (6973.12.2 python3-k)
  • mto: This revision was merged to the branch mainline in revision 7004.
  • Revision ID: jelmer@jelmer.uk-20180618021357-xz802zqfmrf7zv1z
More test fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
        builder.build_commit(message="Rev 1")
127
127
        source = builder.get_branch()
128
128
        try:
129
 
            source.tags.set_tag('tag-a', 'missing-rev')
 
129
            source.tags.set_tag('tag-a', b'missing-rev')
130
130
        except (errors.TagsNotSupported, errors.GhostTagsNotSupported):
131
131
            raise tests.TestNotApplicable(
132
132
                'Branch format does not support tags or tags to ghosts.')
185
185
        if not tree.branch.repository._format.supports_ghosts:
186
186
            raise tests.TestNotApplicable(
187
187
                "repository format does not support ghosts in mainline")
188
 
        tree.set_parent_ids(["spooky"], allow_leftmost_as_ghost=True)
 
188
        tree.set_parent_ids([b"spooky"], allow_leftmost_as_ghost=True)
189
189
        tree.add('')
190
190
        rev1 = tree.commit('msg1')
191
191
        tree.commit('msg2')