[LLVMdev] Mirroring of LLVM repository

Andreas Bolka andreas.bolka at gmx.net
Tue Aug 4 13:58:52 PDT 2009


On Tue Aug 04 20:56:18 +0200 2009, Rafael Espindola wrote:
> >    git clone git://github.com/earl/llvm-mirror.git llvm
> >    cd llvm
> >    git config --add remote.origin.fetch '+refs/remotes/*:refs/remotes/*'
> >    git fetch
> >    git svn init https://llvm.org/svn/llvm-project/llvm/trunk
> >    git svn rebase --local
> 
> This one worked perfectly. Thanks!

> Do I have to do something special for
> git://repo.or.cz/llvm-gcc-4.2.git?

Yes, my bad, the instructions were a bit too specific to my Github
mirror. The following scheme bootstraps git-svn and works with all
mirrors, including those on repo.or.cz:

    mkdir llvm-gcc-4.2
    cd llvm-gcc-4.2
    git init
    git pull git://repo.or.cz/llvm-gcc-4.2.git master:remotes/git-svn
    git svn init https://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk
    git svn rebase --local

-- 
Regards,
Andreas



More information about the llvm-dev mailing list