<div dir="ltr">If you have outstanding local changes on a non-Windows platform, you would not be affected (because eol-style:native is already LF for you).<div><br></div><div>So this only affects people on Windows.</div><div><br></div><div>If you are on Windows and you are using git, you should already have core.autocrlf=false (since it is the officially supported configuration), so this also would not affect you as any change you are working on locally would already be using LF line endings</div><div><br></div><div>If you are on Windows and you are using SVN, this would probably affect you, but I think the number of such people might be close to 0, if not actually 0.</div><div><br></div><div>For now, I've only changed the 2 affected files that were blocking me.  This doesn't address the inconsistency in the repository in that about 80% of the files have svn:eol-style unset and the other 20% have it set.  I'll wait to see if I start running into this more often.  Hopefully we can get off of SVN and onto github before this becomes too much of a hassle and the problem will solve itself.</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 21, 2017 at 4:42 PM Michael Kuperstein <<a href="mailto:mkuper@google.com">mkuper@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">How hard will this break people who have outstanding local changes?<div class="gmail_msg">That is, do you know if SVN can actually handle the merge gracefully?</div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg">On Tue, Feb 21, 2017 at 10:28 AM, Zachary Turner via llvm-dev <span dir="ltr" class="gmail_msg"><<a href="mailto:llvm-dev@lists.llvm.org" class="gmail_msg" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">I've been using the mono-repo [<a href="http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo" class="gmail_msg" target="_blank">http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo</a>] and this morning I ran into an issue where I am unable to submit using the mono repo.  I traced this down to the fact that many files explicitly have the property svn:eol-style set to native.  On the git side, we have core.autocrlf=false, which means that git will checkout as-is, commit as-is.  So if a file has LF endings in the repo, git will check it out with LF line endings, and then on Windows, the local SVN clone will check out according to the value of the property, which will be CRLF.  Then `git llvm push` won't be able to apply the patch to the local svn repo.<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">It seems to me the correct thing to do is remove the `svn:eol-style` recursively from all of SVN.  As it stands now, it is not even consistently applied.  About half of files have it, and half of files don't.  I was going to just delete the property myself from the affected files, but it turns out there are quite a few.  </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_msg">D:\src\llvm-mono\.git\llvm-upstream-svn>svn propget -R svn:eol-style | wc -l</div><div class="gmail_msg">3460</div></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Can I run the command `svn propdel -R svn:eol-style` on the SVN repo?</div></div>
<br class="gmail_msg"></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br class="gmail_msg">
LLVM Developers mailing list<br class="gmail_msg">
<a href="mailto:llvm-dev@lists.llvm.org" class="gmail_msg" target="_blank">llvm-dev@lists.llvm.org</a><br class="gmail_msg">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class="gmail_msg">
<br class="gmail_msg"></blockquote></div><br class="gmail_msg"></div>
</blockquote></div>