Sync Mercurial and SVN repositories

76 views Asked by At

I have to maintain two repositories. One is mercurial and another is SVN. I want to sync both these repo with the history maintained.

Few people will push code to mercurial and few will use SVN. So periodically we want to sync both the repos.

I tried with hgsubversion, but found I can't push to remote mercurial repository with it.

is there any way of doing this?

1

There are 1 answers

1
RAKK On

The only way I can think of is to have your local working copy synced to both Subversion and Mercurial, excluding the .svn directory on Mercurial and .hg on Subversion, and make it a rule for the developers to always commit to both Subversion and Hg.