251
251
pb.update('Picking ancestor', 1, 3)
252
252
graph = revision_source.get_revision_graph_with_ghosts(
253
253
[revision_a, revision_b])
254
262
# convert to a NULL_REVISION based graph.
255
263
ancestors = graph.get_ancestors()
256
264
descendants = graph.get_descendants()
259
267
descendants[NULL_REVISION] = {}
260
268
ancestors[NULL_REVISION] = []