tags:

views:

126

answers:

3

Hi!

I am participing in a Free Software Contest, and we have to use a forge that uses GForge, with only support for SVN, but I will like to use Git (using gitorious) for example.

There is a simple way to get two repositories (one on SVN and other with Git) updated more or less at the same time?

+2  A: 

You could use git-svn.

Here's the documentation: http://www.kernel.org/pub/software/scm/git/docs/git-svn.html

Jonas Heylen
+2  A: 

This would remain a two-step operation, but some script like git2svn can help you update your svn quickly once you have pushed your commit to the gitorious Git repo.

VonC
A: 

Hi,

We are doing something on a similar vein, as we wanted to use Gource to show how pretty our source code was.

here is a link to what the gource site suggests

So I setup a scheduled task to perform every 6 hours (you could do yours more often of course) which would use the git svn fetch function to pull the latest revisions from our svn server to our git install.

It may be possible to do it as part of your Constant Build Server functionallity, I think that's the right term? (as your cruise control, teamcity, or other builds you could perform a git conversion).

Cheers

Luke

(P.S: never could get the git svn rebase to work properly, so am constantly performing a fetch)

Luke Duddridge