mercurial/util_win32.py
changeset 5847 e52383c7e7ab
parent 5619 55d3e845736a
child 5848 e90a7a3c28a4
--- a/mercurial/util_win32.py	Thu Jan 10 12:07:18 2008 +0300
+++ b/mercurial/util_win32.py	Fri Jan 11 21:20:27 2008 +0100
@@ -285,6 +285,10 @@
         except pywintypes.error, err:
             raise WinIOError(err)
 
+    def writelines(self, sequence):
+        for s in sequence:
+            self.write(s)
+
     def seek(self, pos, whence=0):
         try:
             win32file.SetFilePointer(self.handle, int(pos), whence)