Fix for win32text corrupting files that have CRLF line endings. (issue302)
Also generate a warning when encountering this condition.
From Shun-ichi Goto in attachment win32text-patch3.txt for issue 302.
import doctestimport mercurial.changelog# test doctest from changelogdoctest.testmod(mercurial.changelog)