Eli Bendersky added the comment:

Henrik, this patch fails to apply to 3.2

applying issue11367_branch32.patch
patching file Doc/library/xml.etree.elementtree.rst
Hunk #1 FAILED at 411
1 out of 1 hunks FAILED -- saving rejects to file 
Doc/library/xml.etree.elementtree.rst.rej
patching file Lib/xml/etree/ElementTree.py
Hunk #1 FAILED at 704
Hunk #2 FAILED at 725
Hunk #3 FAILED at 750
3 out of 3 hunks FAILED -- saving rejects to file 
Lib/xml/etree/ElementTree.py.rej
abort: patch failed to apply


I suspect this may be because of line endings. Are you generating the patches 
on a Windows machine? All patches to Python should be strictly in Unix format 
(LF for line ending, not CR LF). Can you configure your hg client and / or 
editor to do this?

I haven't touched Windows for some time but IIRC TortoiseHg does the right 
thing if your file is proper. In other words, perhaps it's the editor's fault. 
Your editor should not insert Windows line-endings into a Unix-y file (which 
Doc/library/xml.etree.elementtree.rst is).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11367>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to