Following up on r1412034, switch the entire svnlook diff handling to using a single output stream. This avoids required flushes when switching between output methods.
Following up on r1412034, switch the entire svnlook diff handling to using a
single output stream. This avoids required flushes when switching between
output methods.

Switching all the time introduced all kinds of hidden errors. This removes
all these corner cases in one step.

* subversion/svnlook/main.c
  (display_prop_diffs): Add stream and encoding arguments and use these.
  (print_diff_tree): Add stream and encoding arguments and switch to using the
    stream apis for all output. Remove the now unnecessary flushes. Move flush
    comment to caller.
  (do_diff): Flush once and then pass a stream + encoding to the diff handling.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1412063 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion