You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2012/03/01 17:52:55 UTC

svn commit: r1295671 - /subversion/branches/1.7.x-log-diff/subversion/svn/log-cmd.c

Author: philip
Date: Thu Mar  1 16:52:55 2012
New Revision: 1295671

URL: http://svn.apache.org/viewvc?rev=1295671&view=rev
Log:
Fix a problem with "svn log --diff" seen on Windows, ensure that
the log output comes before the diff output.

* subversion/svn/log-cmd.c (log_entry_receiver): Extra flush.

Modified:
    subversion/branches/1.7.x-log-diff/subversion/svn/log-cmd.c

Modified: subversion/branches/1.7.x-log-diff/subversion/svn/log-cmd.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.7.x-log-diff/subversion/svn/log-cmd.c?rev=1295671&r1=1295670&r2=1295671&view=diff
==============================================================================
--- subversion/branches/1.7.x-log-diff/subversion/svn/log-cmd.c (original)
+++ subversion/branches/1.7.x-log-diff/subversion/svn/log-cmd.c Thu Mar  1 16:52:55 2012
@@ -303,6 +303,7 @@ log_entry_receiver(void *baton,
       end_revision.value.number = log_entry->revision;
 
       SVN_ERR(svn_cmdline_printf(pool, _("\n")));
+      SVN_ERR(svn_cmdline_fflush(stdout));
       SVN_ERR(svn_client_diff_peg5(diff_options,
                                    lb->target_path_or_url,
                                    &lb->target_peg_revision,