Replaced all instances of: open(dest,'w') with: open(dest, 'wb') This fixed the double line feeds. --Darrell -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20070213/3bc865b2/attachment-0003.html>