mainSavannah Administration - Support: sr #104373, CVS commit -> email sends whole...

 
 

sr #104373: CVS commit -> email sends whole file, not diff

Submitter:  Graham Percival <gpercival>
Submitted:  Fri 01 Jul 2005 04:50:10 AM UTC
   
 
Category:  Project mailing lists Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  None
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 05 Jun 2006 02:25:35 PM UTC, comment #4: 

Thanks, Sylvain!

Derek Robert Price <dprice>
Sat 03 Jun 2006 06:27:49 PM UTC, comment #3: 

The new version of log_accum is now installed at Savannah :)

Sylvain Beucler <Beuc>
Wed 12 Oct 2005 01:41:57 PM UTC, comment #2: 

Excuse me, I meant to send the link to log_accum.pl (http://savannah.nongnu.org/cgi-bin/viewcvs/cvs/ccvs/contrib/log_accum.pl), not commit_prep, but the rest of what I said should still apply.

Derek Robert Price <dprice>
Wed 12 Oct 2005 01:37:05 PM UTC, comment #1: 

The best way to fix this would be unify with the version of commit_prep.pl from CVS (http://savannah.nongnu.org/cgi-bin/viewcvs/cvs/ccvs/contrib/commit_prep.pl).  It has many bug fixes and enhancements over the version Savannah is currently using, including this fix (note that several changes are hidden behind the file renames since this script was maintained for some time as commit_prep.in in the CVS repository).

The easiest way to fix this, if you are not ready to try and unify, would be to pass in %{sVv} instead of %s from CVSROOT/commitinfo and parse the "old" and "new" version numbers which would then be passed in from each file.

Derek Robert Price <dprice>
Fri 01 Jul 2005 04:50:10 AM UTC, original submission:  

This arose with -email is unavailable-

The first time a CVS commit is made to a file in a non-HEAD branch, lilypond-cvs receives a diff of the entire file (ie each line of the file is
+ foo
instead of a single line -bar / +foo  diff)

The second time a patch is committed to that file, the correct diff is generated and send to the mailing list.


Other possibly relevant history: lilypond recently branched a 2.6 version, with HEAD being 2.7.  I backported a few one-line patches, and lilypond-cvs sent out a 126K email containing the whole files that I patched.

Graham Percival <gpercival>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2006-06-03 Beuc Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code