229
204
assert root not in ancestors[root]
230
205
return root, ancestors, descendants
232
208
def combined_graph(revision_a, revision_b, revision_source):
233
209
"""Produce a combined ancestry graph.
234
210
Return graph root, ancestors map, descendants map, set of common nodes"""