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

2016-02-08 Thread Andreas Scherer
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

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

2016-02-01 Thread Andreas Scherer
Am Montag, 1. Februar 2016, 13:01:58 schrieb Stefan Sperling: > What does -P do? I cannot seem to find it in documentation for BSD patch, > GNU patch, git apply, and svn patch. Mwa culpa: this option belongs to 'quilt' and is not related to 'svn patch'. signature.asc Description: This is a digital

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

2016-02-01 Thread Andreas Scherer
Am Montag, 1. Februar 2016, 10:51:39 schrieb Stefan Sperling: > So we could consider extending svn patch to run without a path argument > and read the patch from stdin. > > [...] this feature falls squarly into the domain of the command line client > and not the API. > > Also, I think we should p

[RFE] Make 'svn patch' read from STDIN

2016-01-31 Thread Andreas Scherer
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