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

Bug 345311

Summary: SWT needs special filter text for "fix copyrights" tool
Product: [Eclipse Project] Platform Reporter: Carolyn MacLeod <carolynmacleod4>
Component: RelengAssignee: Kim Moir <kim.moir>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kim.moir
Version: 3.7Flags: carolynmacleod4: review+
Target Milestone: 3.7 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Carolyn MacLeod CLA 2011-05-10 14:27:59 EDT
Created attachment 195256 [details]
patch

This simple patch is needed in order to run the "Fix Copyrights" tool on the SWT source. Without this patch, way too many files are flagged as needing copyright dates updated, when in fact many of these files are unchanged.

The background story is that in 2009 we automated our build process, and on one occasion, an error in the build script accidentally deleted all of SWT from HEAD. It was committed back to HEAD immediately after the error was discovered, however all SWT files then received a new commit date of 09-07-01.

This patch simply says that if the last commit comment is "restore HEAD after accidental deletion" then ignore the file (it is unchanged).
Comment 1 Kim Moir CLA 2011-05-10 14:54:19 EDT
Patch released.  Carolyn, please approve.
Comment 2 Carolyn MacLeod CLA 2011-05-10 14:59:49 EDT
+1.
Thanks!
Comment 3 Kim Moir CLA 2011-05-10 15:14:13 EDT
fixed.