diff -r d29bd00bbc50 -r 18b134ef294c mercurial/patch.py --- a/mercurial/patch.py Thu Nov 05 01:11:28 2009 +0100 +++ b/mercurial/patch.py Thu Nov 05 10:44:36 2009 +0100 @@ -300,7 +300,7 @@ finally: fp.close() - def writelines(self, fname, lines): + def writelines(self, fname, lines): # Ensure supplied data ends in fname, being a regular file or # a symlink. updatedir() will -too magically- take care of # setting it to the proper type afterwards.