[Dev] lingering SVN binary vs. text problems

Phillip J. Eby pje at telecommunity.com
Fri Jun 3 15:31:06 PDT 2005


FYI, from Python 2.3 and up, .py modules are opened in "universal newline 
mode", which means that they will work with CR, LF, or CRLF endings, 
regardless of the runtime platform.  So, Python shouldn't have any issues 
with any type of line ending.

At 03:16 PM 6/3/2005 -0700, Brendan O'Connor wrote:
>One option is to do away with all text conversions -- the windows user 
>turns off text conversion on their client, or tag all files as binary.  I 
>mean, all the good programmer's text editors on windows understand unix 
>line endings, so perhaps automatic cr/lf conversions just aren't worth it 
>anymore...
>
>just a thought, Brendan.
>
>
>On 6/3/05, John Anderson 
><<mailto:john at osafoundation.org>john at osafoundation.org> wrote:
>>Hi Bear:
>>
>>I'm still having trouble doing a svn diff on the command line in cygwin.
>>Looks like there are still some lingering problems:
>>
>>locale/*.po
>>wxPython/distrib/msw/MSVCIRT.DLL
>>wxPython/distrib/msw/MSVCP60.DLL
>>wxPython/distrib/msw/MSVCRT.DLL
>>wxPython/samples/embedded/embedded.o
>>wxPython/samples/embedded/embedded
>>
>>are getting mucked by the end of line conversion since they're
>>incorrectly listed as text files. One way you can make sure you've got
>>all the files fixed is to do a fresh checkout on windows, making sure
>>you're using native eols, do a svn diff in cygwin installed with cr/lf
>>eols and make sure the diff is empty. Anyone who's done a svn checkout
>>on windows should probably verify that an svn diff doesn't list files
>>that you didn't change otherwise we may accidentally checkin a mucked
>>binary file.
>>
>>John
>>
>>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>>
>>Open Source Applications Foundation "Dev" mailing list
>><http://lists.osafoundation.org/mailman/listinfo/dev>http://lists.osafoundation.org/mailman/listinfo/dev
>
>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
>Open Source Applications Foundation "Dev" mailing list
>http://lists.osafoundation.org/mailman/listinfo/dev



More information about the Dev mailing list