Bernardo Innocenti wrote:
>Fair enough.  I hereby volunteer to setup and maintain the git
>mirror on gcc.gnu.org if someone provides me a shell account
>there.

Having done some heavy public git mirroring lately, and reconnecting old
trees (fixing history), the following might be useful:

Recommended .git/config settings before starting the mirror:

[repack]
        UseDeltaBaseOffset = true
[svn]
        noMetadata = true
[pack]
        compression = 9

And then in the importscript:

git svn fetch
git svn fetch -t
cp .git/remotes/* .git/heads           # depending on where the SVN branches
cp .git/remotes/origin/* .git/heads    # end up
cp .git/remotes/trunk .git/heads/master
-- 
Sincerely,                                                          [EMAIL 
PROTECTED]
           Stephen R. van den Berg.

Reply via email to