43
43
work_tree.add_reference(subtree)
44
44
tree = self._convert_tree(work_tree)
45
45
self.skip_if_no_reference(tree)
46
50
entry = tree.inventory['sub-root']
47
51
path = tree.id2path('sub-root')
48
52
self.assertEqual('sub-1', tree.get_reference_revision(entry, path))