/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_revision_history.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:
28
28
        with open('test/foo', 'wb') as f:
29
29
            f.write('1111\n')
30
30
        tree.add('foo')
31
 
        tree.commit('added foo', rev_id='revision_1')
 
31
        tree.commit('added foo', rev_id=b'revision_1')
32
32
        with open('test/foo', 'wb')as f:
33
33
            f.write('2222\n')
34
 
        tree.commit('updated foo', rev_id='revision_2')
 
34
        tree.commit('updated foo', rev_id=b'revision_2')
35
35
        with open('test/foo', 'wb')as f:
36
36
            f.write('3333\n')
37
 
        tree.commit('updated foo again', rev_id='revision_3')
 
37
        tree.commit('updated foo again', rev_id=b'revision_3')
38
38
        return tree
39
39
 
40
40
    def _check_revision_history(self, location='', working_dir=None):