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