Merge with -stable
authorMatt Mackall <mpm@selenic.com>
Thu, 31 Jan 2008 14:44:00 -0600
changeset 5969 821fc5c0656c
parent 5968 6dcc190ffc36 (current diff)
parent 5935 0973501e5f4a (diff)
child 5970 f25070ecf334
Merge with -stable
mercurial/util_win32.py
--- 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: