Kylo Ginsberg wrote:
> I am running Cygwin with DOS as the default text file type when I see
> this problem. (I thought that was implied by specifying that it is a
> textmode cygwin mount?) Hope that clarifies.
I don't think textmode implies anything. If you set DOS mode then
textmode will produce CRLF, if you set UNIX mode then textmode will give
you LF.
Are you saying the following is true?
echo -e "line 1\nline2\n" > test.txt # test.txt has CRLF
svn add test.txt
svn ps svn:eol-type=native test.txt
svn ci -m"test" test.txt
rm test.txt
svn up test.txt # now test.txt has LF
In that case I suppose it would be an issue with APR deciding that
APR_EOL_STR will be "\n" instead of "\r\n".
-Nathan
> Nathan Kidd wrote:
>> Kylo Ginsberg wrote:
>>> I built both 1.4.2 and 1.4.3 for cygwin and both have the same
>>> behavior: when checking out a file with svn:eol-style=native on to a
>>> textmode-mounted directory, the line endings are all LF's. I believe
>>> they should be CRLF's.
>>>
>>> I believe this is a bug but please advise.
>>
>> Cygwin has two modes it can be installed in: DOS and UNIX. If at setup
>> time you choose UNIX mode then it will always force CRLF -> LF
>> translation in your write calls. This could even override 'svn export
>> --native-eol=CRLF'
>>
>> Try running Cygwin setup again and choosing DOS line endings.
>>
>> -Nathan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
> .
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 27 20:53:15 2007