[Zope-CVS] CVS: CVSROOT - postcommit_actions:1.137
Tue, 9 Jul 2002 14:03:41 -0400
Update of /cvs-repository/CVSROOT
In directory cvs.zope.org:/tmp/cvs-serv17967
create_diff(): We were trimming too many leading lines from the diff
reports, probably a holdover from the switch to using unified diff.
Tres noticed the problem, *and* tracked it down - thanks!
=== CVSROOT/postcommit_actions 1.136 => 1.137 ===
% (CVSROOT, old, new, repo, file))
file_handle = os.popen(diff_cmd)
- lines = file_handle.readlines()[6:]
+ lines = file_handle.readlines()[5:]
header = ("=== %s/%s %s => %s ==="
% (str(repo), str(file), old, new))