/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/plugins/git/tests/test_branch.py

  • Committer: Jelmer Vernooij
  • Date: 2018-06-21 17:53:38 UTC
  • mfrom: (6973.5.13 python3-c)
  • Revision ID: jelmer@jelmer.uk-20180621175338-v7loaib7mh7pfosf
Merge lp:~jelmer/brz/python3-c

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
        r = GitRepo.init('.')
101
101
        self.build_tree(['a'])
102
102
        r.stage(["a"])
103
 
        return r.do_commit("a", committer="Somebody <foo@example.com>")
 
103
        return r.do_commit("a", committer=b"Somebody <foo@example.com>")
104
104
 
105
105
    def test_last_revision_is_valid(self):
106
106
        head = self.simple_commit_a()
113
113
        self.build_tree(['b'])
114
114
        r = GitRepo(".")
115
115
        r.stage("b")
116
 
        revb = r.do_commit("b", committer="Somebody <foo@example.com>")
 
116
        revb = r.do_commit("b", committer=b"Somebody <foo@example.com>")
117
117
 
118
118
        thebranch = Branch.open('.')
119
119
        self.assertEqual((2, default_mapping.revision_id_foreign_to_bzr(revb)), thebranch.last_revision_info())