subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1295671 - /subversion/branches/1.7.x-log-diff/subversion/svn/log-cmd.c
Date Thu, 01 Mar 2012 16:52:55 GMT
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,



Mime
View raw message