/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_controldir/test_controldir.py

  • Committer: Jelmer Vernooij
  • Date: 2018-05-22 02:05:12 UTC
  • mto: (6973.12.2 python3-k)
  • mto: This revision was merged to the branch mainline in revision 6992.
  • Revision ID: jelmer@jelmer.uk-20180522020512-btpj2jchdlehi3en
Add more bees.

Show diffs side-by-side

added added

removed removed

Lines of Context:
870
870
        self.assertEqual('missing-rev', new_branch.tags.lookup_tag('tag-a'))
871
871
 
872
872
    def test_sprout_bzrdir_passing_rev_not_source_branch_copies_tags(self):
873
 
        # dir.sprout(..., revision_id='rev1') copies rev1, and all the tags of
 
873
        # dir.sprout(..., revision_id=b'rev1') copies rev1, and all the tags of
874
874
        # the branch at that bzrdir, the ancestry of all of those, but no other
875
875
        # revs (not even the tip of the source branch).
876
876
        builder = self.make_branch_builder('source')
1293
1293
        made_control = self.bzrdir_format.initialize(t.base)
1294
1294
        made_repo = made_control.create_repository()
1295
1295
        # Check that we have a repository object.
1296
 
        made_repo.has_revision('foo')
 
1296
        made_repo.has_revision(b'foo')
1297
1297
        self.assertEqual(made_control, made_repo.controldir)
1298
1298
 
1299
1299
    def test_create_repository_shared(self):