/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_workingtree/test_move.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:
45
45
        self.build_tree(['a1', 'b1'])
46
46
        tree = self.make_branch_and_tree('.')
47
47
        if tree.supports_setting_file_ids():
48
 
            tree.add(['a1'], ids=['a1-id'])
 
48
            tree.add(['a1'], ids=[b'a1-id'])
49
49
        else:
50
50
            tree.add(['a1'])
51
51
        tree.commit('initial commit')
52
52
        tree.remove('a1', force=True, keep_files=False)
53
53
        if tree.supports_setting_file_ids():
54
 
            tree.add(['b1'], ids=['a1-id'])
 
54
            tree.add(['b1'], ids=[b'a1-id'])
55
55
        else:
56
56
            tree.add(['b1'])
57
57
        tree._validate()