Import and mirror configuration settings enable SVM Mirror to translate your Subversion project to Git in a proper way. The configuration settings include:
Specify them on the corresponding tabs on the "Review Configuration and Start Mirror or Import" page.
Subversion authentication settings
Branch mapping setting
Use the following mapping format: Paths to Subversion directories are defined relative to the URL specified in the URL field on the Connection tab. Adjust the default mapping rules to make them correspond to your Subversion project layout or in case you want to map only particular Subversion directories, but not all of them. The default mapping rules:<Subversion-Path-Pattern>:<Git-Reference-Pattern>
trunk = trunk:refs/heads/master
branches = branches/*:refs/heads/*
tags = tags/*:refs/tags/*
shelves = shelves/*:refs/shelves/*
Author mapping setting
You may use all options or any combination of them. By default, all three options are selected. SVN Mirror refers to the mapping rules in the following sequence. If the mapping option is not selected or the match is not found, SVM Mirror refers to the next selected mapping option: If no match is found for a Subversion username, SVN Mirror automatically generates the Git author using the email domain specified in the Email Domain field. The following format is used for the automatic author generation: On the Authors Mapping tab, specify the rules to map Subversion users (svnUser) to Git authors (Author Name <email>) and vice versa. These mapping rules are applied only to the current Git repository. Make sure that the Use Repository Authors Mapping checkbox is selected. By default, this checkbox is selected. Use the following mapping format:svnUser = svnUser <svnUser@example.com>
Specifying author mapping rules for the current Git repository
svnUser = Git User <user@example.com>
Translation settings
On the Translation Settings tab, specify the following settings: These settings are used only once (during the first synchronization) and cannot be changed after the Subversion project has been imported or mirrored.svn:
eol-style
and svn:mime-type
Subversion properties to the .gitattributes
files, select the Translate file attributes checkbox.svn
:ignore Subversion property to the.gitignore
files, select the Translate Ignores checkbox. By default, this option is selected.