[Digicool-CVS] CVS: CVSROOT - postcommit_actions:1.119

Ken Manheimer klm@digicool.com
Mon, 30 Jul 2001 13:55:34 -0400


Update of /cvs-repository/CVSROOT
In directory cvs.zope.org:/tmp/cvs-serv9344

Modified Files:
	postcommit_actions 
Log Message:
do_diff(): Explicitly specify the revisions, rather than depending on
'-t'.  '-t' is supposed to diff "the top two revisions" - evidently
branching doesn't fit what "top" means, there, the way we want...

Thanks to chris withers for pointing out a discrepancy on a checkin,
and leading us to track this down!

 
=== CVSROOT/postcommit_actions 1.118 => 1.119 ===
 
     else:                # A "normal" update happened
-        diff_cmd = ('cvs -d %s -f rdiff -kk -u -t %s/%s'
-                    % (CVSROOT, repo, file))
+        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()[6:]
         file_handle.close()