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

  • Committer: Jelmer Vernooij
  • Date: 2018-05-07 11:22:07 UTC
  • mfrom: (6951 work)
  • mto: This revision was merged to the branch mainline in revision 6953.
  • Revision ID: jelmer@jelmer.uk-20180507112207-x3kqvmjdzfvmfk2p
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        sub_tree_root_id = sub_tree.get_root_id()
53
53
        tree.lock_write()
54
54
        try:
55
 
            self.assertEqual(tree.path2id('sub-tree'), sub_tree_root_id)
 
55
            if tree.supports_setting_file_ids():
 
56
                self.assertEqual(tree.path2id('sub-tree'), sub_tree_root_id)
56
57
            self.assertEqual(tree.kind('sub-tree'), 'tree-reference')
57
58
            tree.commit('commit reference')
58
59
            basis = tree.basis_tree()