1558
1558
result = _mod_graph.PendingAncestryResult(['rev-2'], repo)
1559
1559
self.assertEqual(set(['rev-1', 'rev-2']), set(result.get_keys()))
1565
('add', ('', 'root-id', 'directory', ''))])
1566
builder.build_snapshot('rev-2', ['rev-1', 'ghost'], [])
1561
1574
def test_get_keys_excludes_null(self):
1562
1575
# Make a 'graph' with an iter_ancestry that returns NULL_REVISION
1563
1576
# somewhere other than the last element, which can happen in real