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

Re: [RFE] Make 'svn patch' read from STDIN

From: Andreas Scherer <andreas_coder_at_freenet.de>
Date: Mon, 08 Feb 2016 17:26:52 +0100

Am Sonntag, 31. Januar 2016, 11:48:26 schrieb Andreas Scherer:
> using 'svn patch' directly as a drop-in replacement for [patch]
I found an example where 'svn patch' does _not_ behave as expected and
differently than 'patch' (and other programmes).

When I amend this line


with '-S [SCM]' and invoke the rpm specfile with

   $> debbuild -bp SPECS/sgb.spec

all four specified patches are correctly applied with SCM={patch, git, quilt},
but _not_ with SCM=svn (using version 1.8.8 on Linux Mint 17.2). The latter
complains about 'skipped missing targets' and doesn't apply the patches.

If I remove the '-p1' option in above line 33 (and the resulting '--strip 1'),
'svn patch' works fine. But then SCM=patch hickups (while git and quilt don't
seem to mind).

Moreover, I noticed the problem with the unapplied patches only after adding
the '-v' option in line 33, which suppresses 'svn patch -q'. I feel that the
'-q' option should _not_ hide information about such a grave problem.


Received on 2016-02-08 17:29:40 CET

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