def reconstruct_version(vf, revision_id): reconstructor = multiparent._Reconstructor(vf, vf._lines, vf._parents) lines = [] reconstructor.reconstruct_version(lines, revision_id) return lines
def reconstruct(vf, revision_id, start, end): reconstructor = multiparent._Reconstructor(vf, vf._lines, vf._parents) lines = [] reconstructor._reconstruct(lines, revision_id, start, end) return lines