Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366854

Summary: Juno M4 Prepare ChangeLog on hello world program creates 2 entries
Product: [Tools] Linux Tools Reporter: Jeff Johnston <jjohnstn>
Component: ChangeLogAssignee: Jeff Johnston <jjohnstn>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: linux.changelog-inbox
Version: unspecified   
Target Milestone: 0.9.2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Jeff Johnston CLA 2011-12-15 13:32:47 EST
Editing a hello world C program and removing some other files in the project, then building causes a prepare ChangeLog action to create a ChangeLog with two entries with one being just the modified file and the other containing all the new and removed files.
Comment 1 Jeff Johnston CLA 2012-02-08 19:10:06 EST
It turns out the error occurs when the ChangeLog is empty to start with and there are modifications in addition to either removals or additions.  The modifications occur first and create a new entry.  An internal flag to force new entries isn't cleared and the 2nd and up entries end up in a new entry.

A fix has been checked into both master and stable-0.9 and a new test case has been added to the ChangeLog tests for both branches.
Comment 2 Jeff Johnston CLA 2012-02-15 17:48:46 EST
*** Bug 371688 has been marked as a duplicate of this bug. ***