<div class="gmail_quote">On Wed, Oct 13, 2010 at 2:46 PM, Manuel Klimek <span dir="ltr"><<a href="mailto:klimek@google.com">klimek@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<a href="http://svnbook.red-bean.com/en/1.1/ch07s02.html" target="_blank">http://svnbook.red-bean.com/en/1.1/ch07s02.html</a><br>
Searching for svn:eol-style<br>
"This means that by default, Subversion doesn't pay any attention to<br>
the type of end-of-line (EOL) markers used in your files."<br></blockquote><div><br></div><div>Keep reading further in that section. My link is to the newer version of the book, but nothing has changed here:</div><div>
<br></div><div><a href="http://svnbook.red-bean.com/en/1.5/svn.advanced.props.html#svn.advanced.props.auto">http://svnbook.red-bean.com/en/1.5/svn.advanced.props.html#svn.advanced.props.auto</a></div><div><br></div><div>Basically, these properties are automatically set based on the file's deduced type.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
A short check on a random file in clang:<br>
svn-llvm/tools/clang/lib/AST$ svn proplist CXXABI.h<br>
<br>
No output. If I don't completely misinterpret this, this means that<br>
svn doesn't change EOL for those files. One solution would be to set<br>
svn:eol-style to native on all code, which would fix the problem for<br>
all clients.<br>
<br>
Cheers,<br>
/Manuel<br>
<div><div></div><div class="h5"><br>
On Tue, Oct 12, 2010 at 11:03 PM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>> wrote:<br>
> On Tue, Oct 12, 2010 at 10:31 AM, Francois Pichet <<a href="mailto:pichet2000@gmail.com">pichet2000@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Is there any rule regarding new-line in LLVM?<br>
>><br>
>> I didn't see any in the coding standard and I notice that there is no<br>
>> consistency at all across llvm/clang. Some files use \n while some use<br>
>> \r\n<br>
>><br>
>> So i thought it doesn't matter.<br>
><br>
> For text files, Subversion should be mapping line endings to the<br>
> platform-native versions when syncing and committing from various platforms.<br>
> I think one of the Windows clients is failing to properly do this, but I<br>
> don't have a test or anything to demonstrate it.<br>
> The result is that our (Google's) lit-like test runner gets confused by<br>
> non-platform-correct line endings. We just fix them when we notice it. They<br>
> should still show up as CRLF line endings on a windows machine when you run<br>
> 'svn sync' (or equivalent for your client software).<br>
> If I get some free time I make teach our test runner to not care, but<br>
> ideally I'd fix the clients that aren't correctly handling eol-native SVN<br>
> properties...<br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Manuel Klimek (<a href="http://go/klimek" target="_blank">http://go/klimek</a>)<br>
</font></blockquote></div><br>