help with generating a diff with svn for libcxx

Ken Cunningham ken.cunningham.webuse at gmail.com
Sun Dec 3 20:35:41 UTC 2017


I decided to just page back in time over and over through the github interface until I found the commit that way, and generated the diff by adding ".diff" on the end of the URL. Not the right way to do it, I know -- but it worked.

<https://github.com/llvm-mirror/libcxx/commit/b2e9337b06425b4af554651d5f2fa65615eb009f.diff>

Happy to learn the " right way" when anyone has time.

Thanks,

K


On 2017-12-03, at 12:28 PM, Ken Cunningham wrote:

> I'm getting stuck generating a diff file for the changes made in revison 307461 of libcxx, so I can backport that into llvm-4.0 to fix the build of libcxx for PowerPC.
> 
> <http://llvm.org/viewvc/llvm-project?view=revision&revision=307461>
> 
> I have checked out the llvm, libcxx, and libcxxabi sources using svn.
> In the projects/libcxx directory, I tried
> 
> svn diff -r 307460:307461
> but that gives me "svn: E175013: Access to '/svn/llvm-project/!svn/vcc/default' forbidden"
> 
> so I've tried
> 
> svn diff -r 307460:307461 http://llvm.org/svn/llvm-project/libcxx/trunk
> svn diff -r 307460:307461 http://llvm.org/svn/llvm-project/libcxx/trunk .
> svn diff -r http://llvm.org/svn/llvm-project/libcxx/trunk@307460 http://llvm.org/svn/llvm-project/libcxx/trunk@307461
> 
> but that all gives a similar error.
> 
> I know this must be easy, otherwise nobody would be using svn.
> 
> I thought about using the github sources, but finding svn revision 307461 for libcxx in github is not simple either.
> 
> Open to ideas.
> 
> Thanks,
> 
> Ken



More information about the macports-dev mailing list