changeset 5969:821fc5c0656c

Merge with -stable
author Matt Mackall <mpm@selenic.com>
date Thu, 31 Jan 2008 14:44:00 -0600
parents 6dcc190ffc36 (current diff) 0973501e5f4a (diff)
children f25070ecf334
files mercurial/util_win32.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util_win32.py	Wed Jan 30 10:58:54 2008 -0600
+++ b/mercurial/util_win32.py	Thu Jan 31 14:44:00 2008 -0600
@@ -317,10 +317,8 @@
             self.closed = True
 
     def flush(self):
-        try:
-            win32file.FlushFileBuffers(self.handle)
-        except pywintypes.error, err:
-            raise WinIOError(err)
+        # we have no application-level buffering
+        pass
 
     def truncate(self, pos=0):
         try: