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

Should 'svn patch' say nothing when it does nothing?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 08 Jan 2018 03:07:44 +0000

I tried to commit r1820518 by extracting the patch from the mail to a
file and using 'svn patch':

% svn patch /tmp/patch
% svn status
%

Now, in this situation, should 'svn patch' have said something to the
effect of "svn: No patch found in input"? I'm aware of "Nothing done,
nothing said", but in this situation the user specifically asked for
something to be done and that something was not done, so shouldn't the
user be advised of that?

Cheers,

Daniel

P.S. The reason 'svn patch' did nothing is because the patch had been
     whitespace munged (tab became space, trailing spaces got elided).
     I just fell back to my OS's patch(1) and it ate the patch unsalted
     (this idiom doesn't translate, does it?).
Received on 2018-01-08 04:07:50 CET

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

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