52
48
def diff3(out_file, mine_path, older_path, yours_path):
53
49
def add_label(args, label):
54
50
args.extend(("-L", label))
58
51
args = ['diff3', "-E", "--merge"]
60
53
add_label(args, "ANCESTOR")
61
54
add_label(args, "MERGE-SOURCE")
62
55
args.extend((mine_path, older_path, yours_path))
72
59
file(out_file, "wb").write(output)