Details
-
Bug
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
---
-
None
Description
svn diff is not usable to generate patches between revisions that either add or remove files. Added files must have /dev/null as filename in the ^+++ line. Removed files must have /dev/null as filename in the ^--- line. patch(1) will recognize this and either refuse to append to an existing file, or it will unlink and deleted file. Currently the ^--- and ^+++ lines will just contain the filename for both. Looking through the 1.3 sources, there is appearently no support for handling add/deletes.
Original issue reported by olh