Hi, developers,
For some reasons, I want to obtain some old commits of LLVM. However, I only know the svn revision numbers of these commits of LLVM.
I tried the command “svn co https://llvm.org/svn/llvm-project/llvm/trunk llvm” listed in “Getting Started with the LLVM System”, but the server seems to be not working.
I always get the following message.
“svn: E000104: Error running context: Connection reset by peer”
I also try the commands listed in “Moving LLVM Projects to GitHub”,
"
git clone https://llvm.org/git/llvm.git
cd llvm/
git svn init https://llvm.org/svn/llvm-project/llvm/trunk --username=
git config svn-remote.svn.fetch :refs/remotes/origin/master
git svn rebase -l
git checkout git svn find-rev -B r258109
cd tools
git clone https://llvm.org/git/clang.git
cd clang/
git svn init https://llvm.org/svn/llvm-project/clang/trunk --username=
git config svn-remote.svn.fetch :refs/remotes/origin/master
git svn rebase -l
git checkout git svn find-rev -B r258109
"
but it is still not working. When I execute the command “git svn rebase -l” for clang, I get the following message.
“Unable to determine upstream SVN information from working tree history”
So is there any way to obtain special commit of LLVM using a svn revision number?
Best,
Zhide