[Webkit-unassigned] [Bug 9875] Teach svn-apply and svn-unapply to use patch(1) for additions and deletions

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Jul 15 20:07:23 PDT 2006


ddkilzer at kilzer.net changed:

           What    |Removed                     |Added
         AssignedTo|webkit-                     |ddkilzer at kilzer.net
                   |unassigned at opendarwin.org   |
             Status|NEW                         |ASSIGNED
   Attachment #9473|                            |review?
               Flag|                            |

------- Comment #2 from ddkilzer at kilzer.net  2006-07-15 20:07 PDT -------
Created an attachment (id=9473)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=9473&action=view)
Patch v1

Most of the changes are self-explanitory.

The worst code is for reversing a deletion.
- We handle a local file existing (when one shouldn't) by renaming it to
- We unapply the deletion (which creates the file), but we rename it to a temp
file name before running svn revert in case the contents are the same.
- After we rename the temp file back to the original file name, we must work
around a timestamp bug in Subversion where the svn client thinks the file
hasn't change if its timestamp isn't sufficiently different.

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list