# HG changeset patch # User Bryan O'Sullivan # Date 1200099114 28800 # Node ID e90a7a3c28a4af90a963a20aa09cdeec0b233fe0 # Parent e52383c7e7abc35892dee1f3a4e32f776fb78a4f# Parent 02884e56c2177af3d79db8eb21a345cc3ac368e9 Merge with mpm diff -r 02884e56c217 -r e90a7a3c28a4 mercurial/util_win32.py --- a/mercurial/util_win32.py Wed Jan 09 22:41:30 2008 +0900 +++ b/mercurial/util_win32.py Fri Jan 11 16:51:54 2008 -0800 @@ -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)