~jelmer/brz/tree-reference-fixes

« back to all changes in this revision

Viewing changes to breezy/tests/per_workingtree/test_read_working_inventory.py

  • Committer: Jelmer Vernooij
  • Date: 2018-03-25 12:47:13 UTC
  • mfrom: (6926.1.2 work)
  • Revision ID: jelmer@jelmer.uk-20180325124713-dq64vm9bhch1gjow
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        # prepare for a series of changes that will modify the
43
43
        # inventory
44
44
        with tree.lock_write():
45
 
            tree.set_root_id('new-root')
 
45
            tree.set_root_id(b'new-root')
46
46
            # having dirtied the inventory, we can now expect an
47
47
            # InventoryModified exception when doing a read_working_inventory()
48
48
            # OR, the call can be ignored and the changes preserved