Writing to Subversion via Git
Bernardo Innocenti
bernie@codewiz.org
Tue Jul 3 22:56:00 GMT 2007
Ollie Wild wrote:
> As an aside to the ongoing git repository discussion, I'm curious if
> anyone has experimented with committing changes to the GCC repository
> via git-svn's dcommit command. I'm curious to know if it plays nicely
> with GCC's svn commit machinery.
It should. git-svn is bidirectional.
Initially, I thought pushing would require the git tree to be hosted
on gcc.gnu.org, so it could access the svn repository without using
the developer ssh key.
But I wasn't thinking distributed! If you clone my gcc tree on
git.infradead.org, you'll also end up cloning all the git-svn
info. So you can use git-svn yourself to push your changes to
gcc.gnu.org!
The only problem is that git-svn uses a very inefficient format to
store its metadata. It's a few gigs to rsync.
--
// Bernardo Innocenti
\X/ http://www.codewiz.org/
More information about the Gcc
mailing list