[Python-Dev] CRLF line endings

Stefan Krah stefan at bytereef.org
Fri Mar 25 10:36:19 CET 2011


Hi,

A commit hook prevented pushing changes to the cdecimal repository:

pushing to ssh://hg@hg.python.org/features/cdecimal
searching for changes
8 changesets found
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 8 changesets with 117 changes to 117 files
remote: error: pretxnchangegroup.eol hook failed: Modules/cdecimal/tests/dnloop.patch in 80914c366edf should not have CRLF line endings
remote: transaction abort!
remote: rollback completed
remote: abort: Modules/cdecimal/tests/dnloop.patch in 80914c366edf should not have CRLF line endings


However, dnloop.patch is correct and must have CRLF line endings. How
can I disable the commit hook?


Stefan Krah



More information about the Python-Dev mailing list