[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SVN Patch Vs GNU Patch

From: Dipu Haridasan <dipuh_at_juniper.net>
Date: Fri, 3 Jan 2020 23:27:01 +0000

Hi Team,

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)).

Index: brcm_cos_utils.c
===================================================================
--- 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.

Thanks,
Dipu H

Received on 2020-01-04 10:13:41 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.