diff mercurial/util_win32.py @ 5969:821fc5c0656c

Merge with -stable
author Matt Mackall <mpm@selenic.com>
date Thu, 31 Jan 2008 14:44:00 -0600
parents f1ac41359b36 0973501e5f4a
children 3c9dbb743d20
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: