<?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>43810</bug_id>
          
          <creation_ts>2010-08-10 14:41:33 -0700</creation_ts>
          <short_desc>Commit-queue shouldn&apos;t land patch if cq+ was removed</short_desc>
          <delta_ts>2010-08-10 15:26:50 -0700</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>32679</dup_id>
          
          <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="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>abecsi</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>262857</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-08-10 14:41:33 -0700</bug_when>
    <thetext>If you set cq+ for a patch, commit queue script will add it to the commit queue. 

But if you realise later that you shouldn&apos;t have set cq+ and then you remove it 
(or set cq-), the script will land the patch irrespectively of the new cq flag.

I think cq ignores modified flag only after it started landing.
Otherwise it removes the patch from the queue correctly.

I propose commit queue should check cq flag again after build&amp;test 
finished and before landing to avoid this unwanted commit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262861</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-08-10 14:44:00 -0700</bug_when>
    <thetext>This is an old bug. :(

*** This bug has been marked as a duplicate of bug 32679 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262866</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-08-10 14:47:24 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; This is an old bug. :(
&gt; 
&gt; *** This bug has been marked as a duplicate of bug 32679 ***
Good to know, thanks. I will search in bugzilla next time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262889</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-08-10 15:26:50 -0700</bug_when>
    <thetext>BTW, this bug isn&apos;t too hard to fix.  You just need to add a precommit callback to the parent command class to see if it wants to abort and then have CommitQueue implement logic to check the flag before landing.  You can see how we do other --parent-command callbacks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>