/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_dir.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-03 03:20:44 UTC
  • mfrom: (7018.3.10 git-fixes)
  • Revision ID: breezy.the.bot@gmail.com-20180703032044-t5a5w5y0tmzrbezc
Port a few more bits of the git plugin to python 3.

Merged from https://code.launchpad.net/~jelmer/brz/git-fixes2/+merge/348803

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
    def test_git_file(self):
71
71
        gitrepo = GitRepo.init("blah", mkdir=True)
72
 
        self.build_tree_contents([('foo/', ), ('foo/.git', 'gitdir: ../blah/.git\n')])
 
72
        self.build_tree_contents([('foo/', ), ('foo/.git', b'gitdir: ../blah/.git\n')])
73
73
 
74
74
        gd = controldir.ControlDir.open('foo')
75
75
        self.assertEqual(gd.control_url.rstrip('/'),