Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.x
-
None
Description
svn diff does not include diffs for files in deleted directories. It does include added files. To reproduce, just do svn diff -rN-1:N URL on any revision where a directory (with files in it) was removed. This is inconsistent, and does not produce good patches. Workarounds include doing the reverse diff and then reversing the patch, but that doesn't work if the change involved both added and removed directories - a good deal of hand-editing is needed. The inability to diff the addition or deletion of a specific directory does not help here. I found a discussion about this (http://svn.haxx.se/dev/archive-2004-03/0110.shtml) but I could find no prior filed issue about the problem. A related, smaller inconsistency: Deleted empty files are not reported either (while added empty files are).
Original issue reported by mattiase