236
204
assert root not in ancestors[root]
237
205
return root, ancestors, descendants
239
208
def combined_graph(revision_a, revision_b, revision_source):
240
209
"""Produce a combined ancestry graph.
241
210
Return graph root, ancestors map, descendants map, set of common nodes"""