[Webkit-unassigned] [Bug 12023] New: svn-create-patch and friends should handle moved/copied files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 28 19:06:35 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=12023

           Summary: svn-create-patch and friends should handle moved/copied
                    files
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org


When creating (svn-create-patch), applying (svn-apply) and unapplying
(svn-unapply) patches, moved and copied files should be handled properly on
working copies (trees) other than the one they were originally created in.

Note that in svn, a "move" is the same thing as "copy" then "delete", so as
long as you handle a "copy" (before "delete"), you solve both "move" and
"copy".

The other challenge is a "move" or "copy" followed by changes to the file after
the change.  The best solution here is to separate the "copy" from the changes,
since combining them could cause changes to be lost if only the whole version
from the patch is applied.  This means that a moved/copied file with changes
will be split up into two patches within a diff, but as long as they appear in
the correct order, the end result is the same.


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



More information about the webkit-unassigned mailing list