[Python-Dev] multiprocessing source not "Unix clean"

Benji York benji at benjiyork.com
Fri Jun 13 22:28:29 CEST 2008


On Fri, Jun 13, 2008 at 4:21 PM, Guido van Rossum <guido at python.org> wrote:
> On Fri, Jun 13, 2008 at 1:09 PM, Benjamin Peterson
> <musiccomposition at gmail.com> wrote:
>> On Fri, Jun 13, 2008 at 3:02 PM, Guido van Rossum <guido at python.org> wrote:
>>> On Fri, Jun 13, 2008 at 12:32 PM, Benjamin Peterson
>>> <musiccomposition at gmail.com> wrote:
>>>> I've converted the line endings in the trunk and py3k.
>>>
>>> Thanks! Can we have a post-mortem of this? How did they get in there
>>> in the first place without anybody noticing?
>>
>> svn cat tells me that they were CRLF when I initially imported them. I
>> wonder if this has something to do with the patch utility I used to
>> apply Jesse's patch.
>
> I'm guessing Jesse uploaded the patch from a Windows box.
>
> It would be good to have something in the toolchain to change this.

Subversion can be configured to normalize line endings, either manually
through properties, or automatically via ~/.subversion/config:

[miscellany]
enable-auto-props = yes

[auto-props]
*.c = svn:eol-style=native
*.h = svn:eol-style=native

etc.
-- 
Benji York


More information about the Python-Dev mailing list