subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1817391 - /subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c
Date Thu, 07 Dec 2017 16:10:42 GMT
Author: julianfoad
Date: Thu Dec  7 16:10:42 2017
New Revision: 1817391

URL: http://svn.apache.org/viewvc?rev=1817391&view=rev
Log:
On the 'shelve-checkpoint' branch: Don't let the library write to stderr.

* subversion/libsvn_client/shelve.c
  (write_patch): Discard any error output from an external 'diff' command.

Modified:
    subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c

Modified: subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c
URL: http://svn.apache.org/viewvc/subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c?rev=1817391&r1=1817390&r2=1817391&view=diff
==============================================================================
--- subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c (original)
+++ subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c Thu Dec  7 16:10:42
2017
@@ -254,7 +254,7 @@ write_patch(const char *patch_abspath,
   SVN_ERR(svn_io_file_open(&outfile, patch_abspath,
                            flag, APR_FPROT_OS_DEFAULT, scratch_pool));
   outstream = svn_stream_from_aprfile2(outfile, FALSE /*disown*/, scratch_pool);
-  SVN_ERR(svn_stream_for_stderr(&errstream, scratch_pool));
+  errstream = svn_stream_empty(scratch_pool);
 
   for (i = 0; i < paths->nelts; i++)
     {



Mime
View raw message