45
45
tree = self.make_branch_and_memory_tree('source')
48
49
tree.commit('empty commit', rev_id='foo')
51
52
Branch.hooks.install_hook('set_rh', self.capture_set_rh_hook)
52
55
branch.set_revision_history(['f\xc2\xb5'])
53
56
self.assertEqual(self.hook_calls,
54
57
[('set_rh', branch, ['f\xc2\xb5'], True)])