Bug 125853

Summary: prepare-ChangeLog doesn't handle templates properly
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dbates, dbatyai.u-szeged, gbalogh.u-szeged, ossy, zherczeg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch
none
Proposed patch
none
Proposed patch
ossy: review-, ossy: commit-queue-
Proposed patch none

Description Csaba Osztrogonác 2013-12-17 04:58:16 PST
A simple diff:
---------------
diff --git a/Source/WebKit2/Shared/soup/WebCoreArgumentCodersSoup.cpp b/Source/WebKit2/Shared/soup/WebCoreArgumentCodersSoup.cpp
index bbcddd2..d3863d6 100644
--- a/Source/WebKit2/Shared/soup/WebCoreArgumentCodersSoup.cpp
+++ b/Source/WebKit2/Shared/soup/WebCoreArgumentCodersSoup.cpp
@@ -41,6 +41,7 @@ namespace CoreIPC {

 void ArgumentCoder<ResourceRequest>::encodePlatformData(ArgumentEncoder& encoder, const ResourceRequest& resourceRequest)
 {
+    // foo
     encoder << static_cast<uint32_t>(resourceRequest.soupMessageFlags());
 }

The generated ChangeLog entry:
-------------------------------
        * Shared/soup/WebCoreArgumentCodersSoup.cpp:
        (CoreIPC::::encodePlatformData):
Comment 1 Dániel Bátyai 2013-12-18 01:55:31 PST
Created attachment 219512 [details]
Proposed patch
Comment 2 Dániel Bátyai 2013-12-18 02:06:00 PST
Created attachment 219513 [details]
Proposed patch
Comment 3 Peter Gal 2013-12-18 05:16:00 PST
Comment on attachment 219513 [details]
Proposed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=219513&action=review

> Tools/ChangeLog:3
> +        Fixed template handling in prepare-ChangeLog

This line does not match the bug entry's title.
Comment 4 Dániel Bátyai 2013-12-18 06:15:55 PST
Created attachment 219530 [details]
Proposed patch
Comment 5 Csaba Osztrogonác 2013-12-18 07:53:07 PST
Comment on attachment 219530 [details]
Proposed patch

The fix looks good to me, but please add a unittest.
Comment 6 Dániel Bátyai 2013-12-18 08:27:06 PST
Created attachment 219537 [details]
Proposed patch
Comment 7 WebKit Commit Bot 2013-12-18 09:23:05 PST
Comment on attachment 219537 [details]
Proposed patch

Clearing flags on attachment: 219537

Committed r160769: <http://trac.webkit.org/changeset/160769>
Comment 8 WebKit Commit Bot 2013-12-18 09:23:07 PST
All reviewed patches have been landed.  Closing bug.