[Pkg-bazaar-commits] ./bzr/unstable r581: - make sure any bzr output is flushed before

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:19:44 UTC 2009


------------------------------------------------------------
revno: 581
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-05-30 11:39:13 +1000
message:
  - make sure any bzr output is flushed before 
    running external diff
modified:
  bzrlib/diff.py
-------------- next part --------------
=== modified file 'bzrlib/diff.py'
--- a/bzrlib/diff.py	2005-05-27 02:57:50 +0000
+++ b/bzrlib/diff.py	2005-05-30 01:39:13 +0000
@@ -76,6 +76,9 @@
         raise NotImplementedError("sorry, can't send external diff other than to stdout yet",
                                   to_file)
 
+    # make sure our own output is properly ordered before the diff
+    to_file.flush()
+
     from tempfile import NamedTemporaryFile
     import os
 



More information about the Pkg-bazaar-commits mailing list