<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>40652</bug_id>
          
          <creation_ts>2010-06-15 22:18:50 -0700</creation_ts>
          <short_desc>webkit-patch land generates an incorrect commit message</short_desc>
          <delta_ts>2011-01-07 15:08:24 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yuzo Fujishima">yuzo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>mihaip</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>238673</commentid>
    <comment_count>0</comment_count>
    <who name="Yuzo Fujishima">yuzo</who>
    <bug_when>2010-06-15 22:18:50 -0700</bug_when>
    <thetext>I&apos;ve committed
  http://trac.webkit.org/changeset/61232
with
  webkit-patch land --ignore-builders

The commit message was incorrect -- it includes change logs for other changes.


More specifically, I did the following:

git checkout master
git svn rebase
git rebase master &lt;mybranch&gt;
git reset HEAD^
git add &lt;newfiles&gt;
webkit-patch land --ignore-builders

Please note that I didn&apos;t do resolve-ChangeLogs because
git rebase didn&apos;t complain of conflicts. This could be a factor.

Maybe I made some stupid mistake, but I&apos;d appreciate it if anyone can investigate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>238675</commentid>
    <comment_count>1</comment_count>
    <who name="Yuzo Fujishima">yuzo</who>
    <bug_when>2010-06-15 22:41:32 -0700</bug_when>
    <thetext>The diff for WebCore/ChangeLog was not from the beginning of the file.
That might be the cause?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>328646</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-01-03 10:50:32 -0800</bug_when>
    <thetext>One more fail: http://trac.webkit.org/changeset/74897
Eric, could you check it please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>331038</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-01-07 15:04:21 -0800</bug_when>
    <thetext>webkit-patch land is supposed to warn when ChangeLog diffs start further than 8 lines into the file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>331039</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-01-07 15:05:06 -0800</bug_when>
    <thetext>See http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/tool/steps/validatechangelogs.py#L37</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>331041</commentid>
    <comment_count>5</comment_count>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2011-01-07 15:06:51 -0800</bug_when>
    <thetext>In the case of http://trac.webkit.org/changeset/74897, the problem could&apos;ve been when I did a &quot;git svn rebase&quot; which auto-merged ChangeLog diffs with resolve-ChangeLogs, which shares no code with webkit-patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>331044</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-01-07 15:08:24 -0800</bug_when>
    <thetext>Sure, but if you used webkit-patch land to do the commit, then the ValidateChangeLogs step would have run, and that check should have failed, prompting you to check your diff.

However it&apos;s very possible that either the DiffParser or the logic in that step is wrong.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>