[Zope-CVS] CVS: CVSROOT - postcommit_actions:1.139
Ken Manheimer
klm@zope.com
Wed, 7 Aug 2002 15:20:42 -0400
Update of /cvs-repository/CVSROOT
In directory cvs.zope.org:/tmp/cvs-serv8913
Modified Files:
postcommit_actions
Log Message:
Cut fewer lines from the top to avoid clipping substance - 6 was ok
for context diffs, but unified diffs need to be at most 4 cut, and i'd
like to see how it looks leaving in the fileidentification lines...
=== CVSROOT/postcommit_actions 1.138 => 1.139 ===
--- CVSROOT/postcommit_actions:1.138 Tue Jul 9 14:20:57 2002
+++ CVSROOT/postcommit_actions Wed Aug 7 15:20:41 2002
@@ -347,7 +347,7 @@
diff_cmd = ('cvs -d %s -f rdiff -r %s -r %s -kk -u %s/%s'
% (CVSROOT, old, new, repo, file))
file_handle = os.popen(diff_cmd)
- lines = file_handle.readlines()[5:]
+ lines = file_handle.readlines()[2:]
file_handle.close()
header = ("=== %s/%s %s => %s ==="
% (str(repo), str(file), old, new))