[Zope-CVS] CVS: CVSROOT - postcommit_actions:1.137
Ken Manheimer
klm@zope.com
Tue, 9 Jul 2002 14:03:41 -0400
Update of /cvs-repository/CVSROOT
In directory cvs.zope.org:/tmp/cvs-serv17967
Modified Files:
postcommit_actions
Log Message:
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:]
file_handle.close()
header = ("=== %s/%s %s => %s ==="
% (str(repo), str(file), old, new))