1st question:
We have SVN running on on linux with multiple different projects. I'm trying to create a mirror between them with subgit so we could use both SVN and Git for transition phase. I did manage to do subgit installation and managed to transfer files from SVN to Git for one project as a test. I gave url to subgit for this certain project.
url = http://lnx-server/svn/TestProject
Under TestProject there is branches, trunk and tags like there should be in SVN repo.
As default config file looks like this:
trunk = trunk:refs/heads/master
branches = branches/*:refs/heads/*
tags = tags/*:refs/tags/*
shelves = shelves/*:refs/shelves/*
All the files moved from SVN like they should.
Now I'm trying to understand how to move all the projects at the same time from SVN to git. I assume previously mentioned paths are the part what I need to modify in conf file. If SVN project would look something like this:
http://lnx-server/svn/TestProject
http://lnx-server/svn/TestProject/TestProject1
http://lnx-server/svn/TestProject/TestProject1/branches
http://lnx-server/svn/TestProject/TestProject1/tags
http://lnx-server/svn/TestProject/TestProject1/trunk
http://lnx-server/svn/TestProject/TestProject2
http://lnx-server/svn/TestProject/TestProject2/branches
http://lnx-server/svn/TestProject/TestProject2/tags
http://lnx-server/svn/TestProject/TestProject2/trunk
http://lnx-server/svn/TestProject/TestProject3
http://lnx-server/svn/TestProject/TestProject3/branches
http://lnx-server/svn/TestProject/TestProject3/tags
http://lnx-server/svn/TestProject/TestProject3/trunk
How do I need to modify config file for Subgit to understand it correctly?
2nd question:
I'm also facing problem with single project install. Although I managed to move all the files from SVN to Git I have not been able to sync changes from one to another. There is "fetchInterval = 60" in conf file. So Subgit should check for changes in SVN in one minute interval? When commit something to SVN and Git Sync... There is no changes.