You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ko...@apache.org on 2015/09/15 00:43:08 UTC

svn commit: r1703074 - in /subversion/trunk/subversion: svndumpfilter/svndumpfilter.c svnrdump/svnrdump.c

Author: kotkov
Date: Mon Sep 14 22:43:08 2015
New Revision: 1703074

URL: http://svn.apache.org/r1703074
Log:
Following up on r1702983, enable APR buffering for STDIN in svnrdump load
and in svndumpfiler.

Related discussion is in http://svn.haxx.se/dev/archive-2015-09/0092.shtml
(Subject: "Re: svn commit: r1700799 - ...").

* subversion/svndumpfilter/svndumpfilter.c
  (parse_baton_initialize): As above.

* subversion/svnrdump/svnrdump.c
  (load_revisions): As above.

Modified:
    subversion/trunk/subversion/svndumpfilter/svndumpfilter.c
    subversion/trunk/subversion/svnrdump/svnrdump.c

Modified: subversion/trunk/subversion/svndumpfilter/svndumpfilter.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svndumpfilter/svndumpfilter.c?rev=1703074&r1=1703073&r2=1703074&view=diff
==============================================================================
--- subversion/trunk/subversion/svndumpfilter/svndumpfilter.c (original)
+++ subversion/trunk/subversion/svndumpfilter/svndumpfilter.c Mon Sep 14 22:43:08 2015
@@ -1031,7 +1031,7 @@ parse_baton_initialize(struct parse_bato
   struct parse_baton_t *baton = apr_palloc(pool, sizeof(*baton));
 
   /* Read the stream from STDIN.  Users can redirect a file. */
-  SVN_ERR(svn_stream_for_stdin2(&baton->in_stream, FALSE, pool));
+  SVN_ERR(svn_stream_for_stdin2(&baton->in_stream, TRUE, pool));
 
   /* Have the parser dump results to STDOUT. Users can redirect a file. */
   SVN_ERR(svn_stream_for_stdout(&baton->out_stream, pool));

Modified: subversion/trunk/subversion/svnrdump/svnrdump.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnrdump/svnrdump.c?rev=1703074&r1=1703073&r2=1703074&view=diff
==============================================================================
--- subversion/trunk/subversion/svnrdump/svnrdump.c (original)
+++ subversion/trunk/subversion/svnrdump/svnrdump.c Mon Sep 14 22:43:08 2015
@@ -565,7 +565,7 @@ load_revisions(svn_ra_session_t *session
 {
   svn_stream_t *stdin_stream;
 
-  SVN_ERR(svn_stream_for_stdin2(&stdin_stream, FALSE, pool));
+  SVN_ERR(svn_stream_for_stdin2(&stdin_stream, TRUE, pool));
 
   SVN_ERR(svn_rdump__load_dumpstream(stdin_stream, session, aux_session,
                                      quiet, skip_revprops,