This is a step-by-step guide to importing and mirroring a Subversion project into a Git repository.
To allow SVN Mirror to identify branches and tags automatically relative to the trunk folder, select Automatic Configuration. To specify the trunk folder, click Select Trunk Path… , and then select the trunk folder.
The automatic layout identification may take some time in case your Subversion project has a large branch history. |
Based on the option that you’ve selected, SVM Mirror generates the branch mapping rules and displays them on the Branches Mapping tab. You can adjust these rules to map the required Subversion directories correctly.
To import a Subversion repository into a Git repository, click Import.
After import, the synchronization between the Git and the Subversion repositories is disabled.
You can start synchronizing the Git repository, which contains the imported Subversion project, with the original Subversion repository at any time. To do this, click Enable on the Mirror Status pane. |
To mirror a Subversion project into a Git repository, click Mirror.
The Git repository with the imported Subversion project stays synchronized with the original Subversion repository. The changes committed either to Subversion or Git repositories are synchronized in both directions.
In case you import or mirror into the non-empty Git repository, the commits that have already existed in this repository become unsynced. After import, resolve conflicts manually on the Unsynced Commits tab. |
Importing and mirroring may take significant time. It depends on the size of your Subversion project |