[cfe-dev] [LLVMdev] GIT mirroring

NAKAMURA Takumi geek4civic at gmail.com
Thu Feb 3 00:10:08 PST 2011


Good evening, Tobi.

2011/2/2 Tobias Grosser <grosser at fim.uni-passau.de>:
> And I just changed
>
> .git/config such that both fetch strings point to origin/master.
>
> -----
> [svn-remote "svn"]
>  url = https://grosser@llvm.org/svn/llvm-project/llvm/trunk
>  fetch = :refs/remotes/origin/master
> [remote "origin"]
>  url = http://llvm.org/git/llvm.git
>  fetch = +refs/heads/*:refs/remotes/origin/*
> -----
>
> A simple 'git remote update' updates now origin/master. As soon as you
> either use 'git svn fetch' or 'git svn dcommit' the svn meta info is
> automatically updated.

Great! It works best!

(I thought rev_map's divergence could be prevented if dummy "authors
file" were suppied. not for svn to fetch.)

...Takumi




More information about the cfe-dev mailing list