66
66
# commit to the child to make the last rev not-None and skew it from master.
67
child_tree.commit('foo', rev_id=b'foo', allow_pointless=True, local=True)
68
69
# commit to the master making the child tree out of date and not a prefix.
69
70
master_tree.commit('bar', rev_id=b'bar', allow_pointless=True)
70
71
self.assertEqual(b'foo', child_tree.branch.update())