<div dir="ltr"><div dir="ltr">It's both "No such file or directory" and "Patch does not apply"<div><br></div><div><div>Creating svn staging directory: (.git/llvm-upstream-svn)</div><div>svn staging area ready in '.git/llvm-upstream-svn'</div><div>Pushing 1 commit:</div><div> 4e1be4c8956 [AMDGPU] Increases available SGPR for Calling Convention</div><div>`git apply -p1 -` returned 1</div><div>b'error: lib/Target/AMDGPU/AMDGPUCallingConv.td: No such file or directory\nerror: lib/Target/AMDGPU/AMDGPUISelLowering.cpp: No such file or directory\n<stdin>:345: new blank line at EOF.\n+'</div><div>Patch doesn't apply: maybe you should try `git pull -r` first?</div></div><div><br></div><div>Thanks,</div><div><br></div><div>Ryan</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 14, 2019 at 2:13 PM Ryan Taylor <<a href="mailto:ryta1203@gmail.com">ryta1203@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Thanks Paul but I saw that on a previous email chain and tried it, it did not work for me. I also saw there are issues with svn tags on some files?<div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br></div><div dir="auto">Ryan<br><div dir="auto"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 14, 2019, 1:30 PM <<a href="mailto:paul.robinson@sony.com" target="_blank">paul.robinson@sony.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-2684301858808821209m_-7655817799870129689WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">It has been a while since I've seen "No such file or directory" although I do still occasionally see "Patch doesn't apply"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">In some apparently relatively rare situations, the svn cache gets messed up and needs to be recreated from scratch.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">In all cases, the workaround has been `rm –rf .git/llvm-upstream-svn` and then the next `git llvm push` will repopulate it.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">If *that* doesn't work, then you need expert help from the git-llvm developers.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">What I've told my team is, if it's not very common and the repopulate works, just live with it, because the whole thing goes away when we pull the trigger on
the final github conversion stage, which is less than 6 months away.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">--paulr<u></u><u></u></span></p>
<p class="MsoNormal"><a name="m_-2684301858808821209_m_-7655817799870129689__MailEndCompose" rel="noreferrer"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></a></p>
<div style="border-top:none;border-right:none;border-bottom:none;border-left:1.5pt solid blue;padding:0in 0in 0in 4pt">
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif"> llvm-dev [mailto:<a href="mailto:llvm-dev-bounces@lists.llvm.org" rel="noreferrer" target="_blank">llvm-dev-bounces@lists.llvm.org</a>]
<b>On Behalf Of </b>Ryan Taylor via llvm-dev<br>
<b>Sent:</b> Tuesday, May 14, 2019 12:39 PM<br>
<b>To:</b> llvm-dev<br>
<b>Subject:</b> [llvm-dev] git llvm push errors<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">I am trying to use git llvm push and am getting some odd errors that seem somewhat common after looking at other email chains but I'm not sure if a solution has been found.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The errors are No such file or directory when clearly the file exists. And also a "new blank line at EOF.\n+' but I've checked both files and there is no blank line at EOF.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">- Ryan<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>
</blockquote></div>