211
204
assert root not in ancestors[root]
212
205
return root, ancestors, descendants
214
208
def combined_graph(revision_a, revision_b, revision_source):
215
209
"""Produce a combined ancestry graph.
216
210
Return graph root, ancestors map, descendants map, set of common nodes"""