<?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>167906</bug_id>
          
          <creation_ts>2017-02-06 14:48:25 -0800</creation_ts>
          <short_desc>svn-create-patch duplicating deletes</short_desc>
          <delta_ts>2018-09-03 11:10:19 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>14590</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=167863</see_also>
          <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="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>dbates</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>lforschler</cc>
    
    <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1273723</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2017-02-06 14:48:25 -0800</bug_when>
    <thetext>svn-create-patch will duplicate deletes, https://bugs.webkit.org/attachment.cgi?id=300680 is a good example of this.  Among other files, PerformanceTests/ES6SampleBench/Basic/util.js is deleted 3 times.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1273765</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2017-02-06 16:29:10 -0800</bug_when>
    <thetext>I was able to reproduce this.

This is a bug in svn-create-patch.  If you delete a file and then move the directory the file that was deleted is in, the resulting patch will have duplicated the delete.  The commands to reproduce this are:

rm SomeDir/file.txt
svn rm SomeDir/file.txt
svn mv SomeDir SomeNewDir

I would guess that this was caused by https://bugs.webkit.org/show_bug.cgi?id=167169.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1273779</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-02-06 17:07:21 -0800</bug_when>
    <thetext>Is this a duplicate of bug 167903?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1273995</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2017-02-07 08:07:36 -0800</bug_when>
    <thetext>*** Bug 167903 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1273996</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2017-02-07 08:08:36 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Is this a duplicate of bug 167903?

Yes, it is the same issue.  Marked the other as a duplicate since this one has more than just a report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1274016</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-02-07 09:05:01 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 167903 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1274031</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-02-07 09:36:59 -0800</bug_when>
    <thetext>Jonathan and I look into this briefly, and this may end up being a separate bug - there are no deletes in bug 167903.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1274046</commentid>
    <comment_count>7</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2017-02-07 10:14:26 -0800</bug_when>
    <thetext>This is not a duplicate of bug 167903, they are different issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1456191</commentid>
    <comment_count>8</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2018-09-03 11:10:19 -0700</bug_when>
    <thetext>This is a duplicate of:

Bug 14590: svn-create-patch fails when svn mv is used on directory trees

The patch I have to fix that (not v1) also fixes this issue.

*** This bug has been marked as a duplicate of bug 14590 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>