/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/blackbox/test_link_tree.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-03-25 11:54:30 UTC
  • mfrom: (6855.4.10 more-bees)
  • Revision ID: breezy.the.bot@gmail.com-20180325115430-75xnlbrmzjoomd83
Add more bees. In particular:

* for file ids
* for revision ids
* for file contents in build_tree_contents()

Merged from https://code.launchpad.net/~jelmer/brz/more-bees/+merge/337919

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        self.parent_tree = self.make_branch_and_tree('parent')
38
38
        self.parent_tree.lock_write()
39
39
        self.addCleanup(self.parent_tree.unlock)
40
 
        self.build_tree_contents([('parent/foo', 'bar')])
41
 
        self.parent_tree.add('foo', 'foo-id')
 
40
        self.build_tree_contents([('parent/foo', b'bar')])
 
41
        self.parent_tree.add('foo', b'foo-id')
42
42
        self.parent_tree.commit('added foo')
43
43
        child_controldir = self.parent_tree.controldir.sprout('child')
44
44
        self.child_tree = child_controldir.open_workingtree()