Work with Git and SVN at the same time
I am participing in a Free Software Contest, and we have to use a forge开发者_Go百科 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?
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.
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)
精彩评论