[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Jilc-patches] CVS: CVSROOT syncmail,1.3,1.4
From: |
Gaurav Vaish <address@hidden> |
Subject: |
[Jilc-patches] CVS: CVSROOT syncmail,1.3,1.4 |
Date: |
Sun, 10 Mar 2002 23:57:38 -0500 |
Update of /cvsroot/jilc/CVSROOT
In directory subversions:/tmp/cvs-serv24527
Modified Files:
syncmail
Log Message:
2002-03-11 Gaurav Vaish <address@hidden>
* syncmail: Removed the max_line limit for the patch output.
Index: syncmail
===================================================================
RCS file: /cvsroot/jilc/CVSROOT/syncmail,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** syncmail 24 Jan 2002 16:25:11 -0000 1.3
--- syncmail 11 Mar 2002 04:57:35 -0000 1.4
***************
*** 98,102 ****
# This /has/ to happen in the background, otherwise we'll run into CVS
# lock contention. What a crock.
! diffcmd = '/usr/bin/cvs -f diff -kk -C 2 -r %s -r %s %s' % (
oldrev, newrev, file)
fp = os.popen(diffcmd)
--- 98,102 ----
# This /has/ to happen in the background, otherwise we'll run into CVS
# lock contention. What a crock.
! diffcmd = '/usr/bin/cvs -f diff -kk -u -C 0 -r %s -r %s %s' % (
oldrev, newrev, file)
fp = os.popen(diffcmd)
***************
*** 106,114 ****
## if sts:
## return 'Error code %d occurred during diff\n' % (sts >> 8)
! if len(lines) > DIFF_TRUNCATE_IF_LARGER:
! removedlines = len(lines) - DIFF_HEAD_LINES - DIFF_TAIL_LINES
! del lines[DIFF_HEAD_LINES:-DIFF_TAIL_LINES]
! lines.insert(DIFF_HEAD_LINES,
! '[...%d lines suppressed...]\n' % removedlines)
return string.join(lines, '')
--- 106,119 ----
## if sts:
## return 'Error code %d occurred during diff\n' % (sts >> 8)
! ##
! ##---------------------------------------------------------------
! ## ALL LINES TO BE Printed. Doesn't matter how large is the diff
! ##---------------------------------------------------------------
! ##
! ## if len(lines) > DIFF_TRUNCATE_IF_LARGER:
! ## removedlines = len(lines) - DIFF_HEAD_LINES - DIFF_TAIL_LINES
! ## del lines[DIFF_HEAD_LINES:-DIFF_TAIL_LINES]
! ## lines.insert(DIFF_HEAD_LINES,
! ## '[...%d lines suppressed...]\n' % removedlines)
return string.join(lines, '')
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Jilc-patches] CVS: CVSROOT syncmail,1.3,1.4,
Gaurav Vaish <address@hidden> <=