<?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>48187</bug_id>
          
          <creation_ts>2010-10-23 08:36:43 -0700</creation_ts>
          <short_desc>webkit-patch upload fails when the patch removes a file</short_desc>
          <delta_ts>2010-10-25 15:36:06 -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>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>
          
          <blocked>48272</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>ojan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>298403</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-23 08:36:43 -0700</bug_when>
    <thetext>When webkit-patch upload attempts to process a patch that removes a file (for Bug 48186), it fails:

$ ./WebKitTools/Scripts/webkit-patch upload -m &quot;Patch v1&quot; --open-bug --suggest-reviewers -g HEAD 48186
Running check-webkit-style
Total errors found: 0 in 4 files
3 files to edit
Was that diff correct? [Y/n]: y
Fetching: https://bugs.webkit.org/show_bug.cgi?id=48186&amp;ctype=xml
Failed to run &quot;[u&apos;git&apos;, u&apos;log&apos;, u&apos;--pretty=format:%H&apos;, u&apos;-5&apos;, u&apos;/Volumes/Data/WebKit.git/WebKit/mac/WebView/WebHTMLRepresentationInternal.h&apos;]&quot; exit_code: 128
fatal: ambiguous argument &apos;/Volumes/Data/WebKit.git/WebKit/mac/WebView/WebHTMLRepresentationInternal.h&apos;: unknown revision or path not in the working tree.
Use &apos;--&apos; to separate paths from revisions

Failed to run &quot;[u&apos;git&apos;, u&apos;log&apos;, u&apos;--pretty=format:%H&apos;, u&apos;-5&apos;, u&apos;/Volumes/Data/WebKit.git/WebKit/mac/WebView/WebHTMLRepresentationInternal.h&apos;]&quot; exit_code: 128</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298411</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-10-23 09:35:40 -0700</bug_when>
    <thetext>Thanks for the report.  We need to add -- before the file names.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298716</commentid>
    <comment_count>2</comment_count>
      <attachid>71713</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-10-24 20:51:25 -0700</bug_when>
    <thetext>Created attachment 71713
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298720</commentid>
    <comment_count>3</comment_count>
      <attachid>71713</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-24 21:10:01 -0700</bug_when>
    <thetext>Comment on attachment 71713
Patch

Thanks!  r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298729</commentid>
    <comment_count>4</comment_count>
      <attachid>71713</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-24 22:30:39 -0700</bug_when>
    <thetext>Comment on attachment 71713
Patch

Clearing flags on attachment: 71713

Committed r70437: &lt;http://trac.webkit.org/changeset/70437&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298730</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-24 22:30:45 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>71713</attachid>
            <date>2010-10-24 20:51:25 -0700</date>
            <delta_ts>2010-10-24 22:30:38 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-48187-20101024205124.patch</filename>
            <type>text/plain</type>
            <size>1423</size>
            <attacher name="Adam Barth">abarth</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBXZWJLaXRUb29scy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDcwNDMzKQorKysgV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMTAtMTAtMjQgIEFkYW0gQmFydGggIDxhYmFy
dGhAd2Via2l0Lm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKwor
ICAgICAgICB3ZWJraXQtcGF0Y2ggdXBsb2FkIGZhaWxzIHdoZW4gdGhlIHBhdGNoIHJlbW92ZXMg
YSBmaWxlCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD00
ODE4NworCisgICAgICAgIFdlIG5lZWQgdG8gdXNlICItLSIgdG8gc2VwYXJhdGUgZmlsZSBuYW1l
cyBmcm9tIHRoZSByZXN0IG9mIHRoZQorICAgICAgICBjb21tYW5kLgorCisgICAgICAgICogU2Ny
aXB0cy93ZWJraXRweS9jb21tb24vY2hlY2tvdXQvc2NtLnB5OgorCiAyMDEwLTEwLTI0ICBTaG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AgICAgZGVmIGNvbmZsaWN0ZWRfZmlsZXMoc2VsZik6Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>