Alex Rivera | Logout

There is any way to synchronize GIT and Subversion repositories?

Asked 2009-05-25T20:11:06.943
34

I want to access a repository using both GIT and SVN clients. A way I imagined to do that is through automatic two-way migration: when a user PUSHes into the GIT repository, it is also COMMITed in the SVN repository and vice-versa.

There is any tool that would help me to do that?

Edit
Report

2 Answers

6

You might consider svn2git to easily import svn to git, and then its mirror ruby application git2svn.
More details in this question.
As mentioned in the other answers, 'git svn' is mandatory, but those ruby modules help you respect the "subversion branches/directory" while not having them as an actual directory in Git.

answered 2009-05-25T20:36:14.973
1

Surely an easier way to do it would be to have the main repository stay as Subversion, but use git-svn locally?

answered 2009-05-25T20:16:03.110

Your Answer