<?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>27241</bug_id>
          
          <creation_ts>2009-07-13 17:46:42 -0700</creation_ts>
          <short_desc>bugzilla-tool post-commits silently fails with bad args</short_desc>
          <delta_ts>2009-07-16 10:26:46 -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>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ddkilzer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>131452</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-07-13 17:46:42 -0700</bug_when>
    <thetext>bugzilla-tool post-commits silently fails with bad args

I tried:

bugzilla-tool post-commits --no-review 27088 head

Which used to be the syntax.  That just exited 0, and gave no indication of failure. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131453</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-07-13 17:47:49 -0700</bug_when>
    <thetext>Sigh.  Also:

bugzilla-tool post-commits --no-review -b 27088 trunk

Doesn&apos;t work as I expected it to.  git-send-bugzilla used to make that into trunk...HEAD.  Now it just posted &quot;trunk&quot;.  I guess it&apos;s just assuming a --cherry-pick arg.  Maybe the new way is more intuitive?  donno.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131454</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-07-13 17:48:12 -0700</bug_when>
    <thetext>The new behavior will certainly confuse git-send-bugzilla users. :)  But maybe that&apos;s OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131480</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-07-13 21:00:42 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; The new behavior will certainly confuse git-send-bugzilla users. :)  But maybe
&gt; that&apos;s OK.

Sorry, I&apos;ve never used git-send-bugzilla.  I explained the reason for this change in Bug 27062 Comment #3 and Bug 27062 Comment #5.

I&apos;ll look at the --no-review issue tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132138</commentid>
    <comment_count>4</comment_count>
      <attachid>32833</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-07-15 21:50:56 -0700</bug_when>
    <thetext>Created attachment 32833
Patch v1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132141</commentid>
    <comment_count>5</comment_count>
      <attachid>32833</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-07-15 21:59:29 -0700</bug_when>
    <thetext>Comment on attachment 32833
Patch v1

You could probably re-use the self.argnames string (or wahtever it&apos;s called).  Instead of re-typing &quot;COMMITTISH&quot;.  

I probably woudl have written &quot;&apos;%s&apos; is not a COMMITISH&quot; as &quot;unable to parse commit is from %s&quot;.

What you have is fine.  Or with one or more of the modifications suggested above.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132293</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-07-16 10:26:46 -0700</bug_when>
    <thetext>$ git svn dcommit
Committing to http://svn.webkit.org/repository/webkit/trunk ...
        M       WebKitTools/ChangeLog
        M       WebKitTools/Scripts/bugzilla-tool
Committed r45978

http://trac.webkit.org/changeset/45978</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>32833</attachid>
            <date>2009-07-15 21:50:56 -0700</date>
            <delta_ts>2009-07-15 21:59:28 -0700</delta_ts>
            <desc>Patch v1</desc>
            <filename>bug-27241-20090715215100.patch</filename>
            <type>text/plain</type>
            <size>1668</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0NoYW5nZUxvZyBiL1dlYktpdFRvb2xzL0NoYW5nZUxv
ZwppbmRleCA0OTM1MzVjLi42NWQ0NjI5IDEwMDY0NAotLS0gYS9XZWJLaXRUb29scy9DaGFuZ2VM
b2cKKysrIGIvV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMgQEAKKzIwMDktMDct
MTUgIERhdmlkIEQuIEtpbHplciAgPGRka2lsemVyQHdlYmtpdC5vcmc+CisKKyAgICAgICAgPGh0
dHA6Ly93ZWJraXQub3JnL2IvMjcyNDE+IGJ1Z3ppbGxhLXRvb2wgcG9zdC1jb21taXRzIHNpbGVu
dGx5IGZhaWxzIHdpdGggYmFkIGFyZ3MKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9P
UFMhKS4KKworICAgICAgICAqIFNjcmlwdHMvYnVnemlsbGEtdG9vbDoKKyAgICAgICAgKFBvc3RD
b21taXRzQXNQYXRjaGVzVG9CdWcuZXhlY3V0ZSk6IEFkZGVkIG1vcmUgZXJyb3IgY2hlY2tpbmcK
KyAgICAgICAgd2hlbiBjb25zdW1pbmcgYXJndW1lbnRzLgorCiAyMDA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MgPSB0b29s
LnNjbSgpLmNvbW1pdF9pZHNfZnJvbV9yYW5nZV9hcmd1bWVudHMoW2NvbW1pdGlzaF0sIGNoZXJy
eV9waWNrPVRydWUpCisgICAgICAgICAgICBpZiBub3QgcmVzdWx0cyBvciBsZW4ocmVzdWx0cykg
PCAxOgorICAgICAgICAgICAgICAgIGVycm9yKCInJXMnIGlzIG5vdCBhIENPTU1JVElTSCIgJSBj
b21taXRpc2gpCisgICAgICAgICAgICBjb21taXRfaWRzICs9IHJlc3VsdHMKIAogICAgICAgICBp
ZiBsZW4oY29tbWl0X2lkcykgPiAxMDoKICAgICAgICAgICAgIGVycm9yKCJBcmUgeW91IHN1cmUg
eW91IHdhbnQgdG8gYXR0YWNoICVzIHBhdGNoZXM/IiAlIChwbHVyYWxpemUoJ3BhdGNoJywgbGVu
KGNvbW1pdF9pZHMpKSkp
</data>
<flag name="review"
          id="17191"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>