Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

SVN Users and Git Authors
Anchor
SVNGitAuthors
SVNGitAuthors

Both Subversion and Git keep authors names in commits, but those authors differ.

...

Info
titleAuthors mapping affects licensing

Note, that SubGit uses authors names to count licensed users, see Licensing manual for details.

Configuration options
Anchor
ConfigOptions
ConfigOptions

All the configuration options reside in SubGit configuration file, that is situated in subgit subdirectory inside a newly created Git repository:

...

Automatic Authors Mapping

Anchor
AutoMapping
AutoMapping

When SubGit starts translation between SVN and Git, it looks for authors mapping files or authors helper programs. If none of them present, it generates the mapping automatically, following these rules for the translation:

...

Similarly, Git commits that made by John Doe <johndoe@example.com> Git user appears in SVN with John Doe author name.


Authors File

Anchor
AuthorsFile
AuthorsFile

The authors mapping file is a text file filled with SVN username - Git author pairs. Each pair maps SVN username to Git author like:

...

Changes made to authors files are being applied immediately, there is no need to restart mirroring or reinstall SubGit.

Scriptable Authors Mapping
Anchor
ScriptableMapping
ScriptableMapping

In addition to the authors files, there is another way to establish SVN to Git authors mapping using authors helper program. The authors helper is an executable – script or binary – that is able to read data from standard input and send its work result to the standard output. Input and output data must fulfil the following formats:

...