예제 #1
0
 def reconstruct_version(vf, revision_id):
     reconstructor = multiparent._Reconstructor(vf, vf._lines,
                                                vf._parents)
     lines = []
     reconstructor.reconstruct_version(lines, revision_id)
     return lines
예제 #2
0
 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