Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

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

Unable to render {include} The included page could not be found.

Branch mapping setting

On the Branches Mapping tab, view, and if required, adjust the rules to map Subversion directories (such as the trunk, branches, tags, and shelves) to Git references.

Use the following mapping format:

<Subversion-Path-Pattern>:<Git-Reference-Pattern>

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:

trunk = trunk:refs/heads/master
branches = branches/*:refs/heads/*
tags = tags/*:refs/tags/*
shelves = shelves/*:refs/shelves/*

Author mapping setting

On the Translations Settings tab, select the options for mapping Subversion usernames (svnUser) to Git authors (Author Name <email>).


  • To use the mapping rules specified for the current Git repository on the Authors Mapping tab, select the Use Repository Authors Mapping checkbox.
  • To use Bitbucket users registry to search for matches between Subversion usernames and Git authors, select the Map Subversion Users to Bitbucket Users checkbox.
  • To use the mapping rules specified on the Global Authors Mapping tab, select the Use Global Authors Mapping checkbox. See the Specifying global author mapping rules section for the detailed information.

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:

  1. mapping rules for the current Git repository
  2. BitBucket user registry
  3. global authors mapping rules.

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:

svnUser = svnUser <svnUser@example.com> 

Specifying author mapping rules for the current Git repository

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 = Git User <user@example.com>

Translation settings

On the Translation Settings tab, specify the following settings:

  • In the Minimal Revision field, specify the Subversion revision number, from which you want to start translating history of changes to Git.
  • To translate the changes of the svn:eol-style and svn:mime-type Subversion properties to the .gitattributes files, select the Translate file attributes checkbox.
  • To translate the changes of the svn:ignore Subversion property to the.gitignore files, select the Translate Ignores checkbox. By default, this option is selected.

These settings are used only once (during the first synchronization) and cannot be changed after the Subversion project has been imported or mirrored.


  • No labels