[Digicool-CVS] CVS: CVSROOT - postcommit_actions:1.82
Digicool CVS
cvs@digicool.com
Tue, 6 Mar 2001 15:58:14 -0500
Update of /cvs-repository/CVSROOT
In directory serenade:/projects/users/klm/Operations/CVSROOT
Modified Files:
postcommit_actions
Log Message:
Switch over to unified diff format, at martijn peters request (plus, i
want to give it a try).
--- Updated File postcommit_actions in package CVSROOT --
--- postcommit_actions 2001/03/06 18:49:29 1.81
+++ postcommit_actions 2001/03/06 20:58:09 1.82
@@ -320,7 +320,9 @@
def do_mail(name, remote, repo, addrs, subjs,
msgfilenm="", doing_directory=0, no_files=0):
- """Send notice about checkin to addresses dictated by traffic table."""
+ """Send notice about checkin to addresses dictated by traffic table.
+
+ We include a diff."""
if VERBOSE:
complain("Notice to %s for %s / %s\n", addrs, repo, subjs)
# The message contents are on stdin, just _yearning_ to be sent...-)
@@ -409,7 +411,7 @@
str(e), '\n***** file: ', file, ' cwd: ', os.getcwd()]
else: # A "normal" update happened
- diff_cmd = 'cvs -f diff -kk -C 5 -r %s -r %s %s' % (old, new, file)
+ diff_cmd = 'cvs -f diff -kk -u -r %s -r %s %s' % (old, new, file)
file_handle = os.popen(diff_cmd)
lines = file_handle.readlines()[6:]
file_handle.close()