Tom de Vries <tom_devr...@mentor.com> writes:

> I've tried that now:
> ...
> $ git clone git://gcc.gnu.org/git/gcc.git
> $ git svn init -Ttrunk --prefix=svn/ svn+ssh://vr...@gcc.gnu.org/svn/gcc
> $ git svn fetch
> $ git svn show-ignore >> .git/info/exclude
> $ git config remote.origin.fetch 'refs/heads/*:refs/remotes/origin/*'
> $ git config --add remote.origin.fetch refs/remotes/*:refs/remotes/svn/*
> $ git remote update
> ...
>  * [new branch]      gomp-branch -> svn/gomp-branch
>  ! [rejected]        trunk      -> svn/trunk  (non-fast-forward)
> ...
> error: Could not fetch origin
> ...
>
> It this is what I should expect to see?

If you want to recreate the git repo at git://gcc.gnu.org/git/gcc.git
you need to make sure to use the same git-svn-id embedded in the commit
messages.

Andreas.

-- 
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to