db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "AddedOrDeletedFilesInDiff" by BryanPendleton
Date Thu, 23 Feb 2006 23:22:32 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by BryanPendleton:
http://wiki.apache.org/db-derby/AddedOrDeletedFilesInDiff

New page:
The patch format as produced by "svn diff" is not perfect; in particular, it does not clearly
describe changes which entirely delete existing files or which add brand-new files. For more
background on the problem, read: http://svn.haxx.se/dev/archive-2004-09/0469.shtml

If the patch adds or deletes a file, this should have been mentioned explicitly by the developer
when the patch was attached to the JIRA issue, and the output of "svn stat" should also have
been attached to assist the committer and reviewers.

Here's how to apply a patch which includes adds and/or deletes:
 * apply the patch normally, using "patch -p0"
 * read the "svn stat" output from the JIRA issue, and take note of each file which is to
be (A)dded or (D)eleted.
 * For each file, "svn revert" the file to undo the changes made by patch, then issue "svn
add" or "svn delete" as appropriate.
 * Issue "svn stat" on your sandbox, and compare the results against the output attached to
the JIRA issue.

Mime
View raw message