I observed that for `svn patch` to apply properly, the spaces between filename and revision in the patch must be a tab. However, the GNU patch works irrespective of the number of spaces between filename and revision. For example, the below patch can be applied using the GNU patch, however with `svn patch` it fails to apply the patch as there are more spaces between filename and revision argument (brcm_cos_utils.c (revision 1070911)).
--- brcm_cos_utils.c (revision 1070911) <<< Extra spaces between filename and revision.
+++ brcm_cos_utils.c (working copy)
@@ -1216,8 +1216,8 @@
Wondering if this can be considered as a feature request for svn, as GNU (Unix) patch handles it irrespective of the spaces between filenames and revision.
Received on 2020-01-04 10:13:41 CET
This is an archived mail posted to the Subversion Users