Dang Nguyen <haidangwa@comcast.net>


r872093 | kfogel | 2008-07-07 18:44:16 +0000 (Mon, 07 Jul 2008)

Fix a bug in which "Modified:" headers would come after the file diff
to which they refer.

* subversion/svnlook/main.c
  (print_diff_tree): Flush the diff header before even creating the
    stdout stream to which diff information will be emitted.

Found by: Steve Hay <SteveHay{_AT_}planit.com>
          Dang Nguyen <haidangwa{_AT_}comcast.net>

The bug report I used is here...

   From: "Steve Hay" <SteveHay{_AT_}planit.com>
   To: <dev@subversion.tigris.org>
   Subject: svnlook diff output in wrong order when redirected
   Date: Fri, 4 Jul 2008 16:34:15 +0100
   Message-ID: <1B32FF956ABF414C9BCE5E487A1497E702014F62@ukmail02.planit.group>

...although, as noted in that message, the bug had previously been
reported on users@ by Dang Nguyen.