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

[RFE] Make 'svn patch' read from STDIN

From: Andreas Scherer <andreas_coder_at_freenet.de>
Date: Sun, 31 Jan 2016 11:48:26 +0100

I suggest to extend 'svn patch' so that it supports usage in a pipe like

    gzip -dc patch-0042.gz | svn patch -P patch-0042 -

This would permit using 'svn patch' directly as a drop-in replacement for

   gzip -dc patch-0042.gz | patch

An example use case is the '%autosetup -S [SCM]' feature of RPM
currently supported SCM are patch, git, hg, bzr, quilt). The pipe in the
'%autopatch' macro uses various decompressors and transfers the text output to
the 'SCM' command. It would be nice to permit '-S svn' here as well.

Received on 2016-02-01 07:28:44 CET

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