Version Control
March 26, 2009
Python script for producing svn diffs
import os my_file = open('changed_files.txt','r') lines = my_file.readlines() for line in lines: plode = line.strip() els = plode.split('/') os.popen("svn diff -r 455 " + line.strip() + " > " + "_".join(els) + ".diff") print "svn diff -r 455 " + line.strip() + " > " + els[-1] + ".diff"
Posted by pj at 09:31 PM | Comments (0)