Today, at my work we host our source code at a public svn repository that we don't admin access. Now, we want to use git (github) to host our source. For some internal reasons, the svn repository we use must mirror the git one.
Apparently, Subgit is the best tool to do this work, because the svn <-> git is very smooth and stress-free (what it really seems to be according to my tests). So, the layout I've been thing is this one:
svn-repo <- subgit-repo <- github <-> local git-repo from each developer.
The svn-repo will be read-only, i.e., it'll be only possible to commit using git.
Reading the Subgit blog I saw this post. In this post, the svnsync is used to synchronize the subgit-repo with the svn-repo, but the synchronization is one-way only, from svn-repo to subgit-repo :(
So, I've discovered svnadmin dump and load and I can use them to keep svn-repo synchronized with the subgit-repo. For example:
svnadmin dump --incremental subgit-repo | svnadmin load svn-repo
My question is: Is it a good idea to use svnadmin dump and load to keep my repositories synchronized?
Thanks!