...
a username that is used to log into the Subversion repository.userName = NAME
Anchor auth.userName auth.userName
user password that is used to log into the Subversion repository.password = PASSWORD
Anchor auth.password auth.password
a path to SSH key file in case if SVN repository is supposed to be accessed oversshKeyFile = PATH
Anchor auth.sshKeyFile auth.sshKeyFile svn+ssh
and the key is used for login. The path can be either absolute or relative to the Git repository where import/mirror from SVN is being performed to.
passphrase for the SSH key.sshKeyPassphrase = PASSPHRASE
Anchor auth.sshKeyPassphrase auth.sshKeyPassphrase
a path to client SSL client certificate of PKSC#12 format for the case the SVN repository is being accessed over HTTPS and client certificate is used for log forlog in. The path can be either absolute or relative to the Git repository where import/mirror from SVN is being performed to.sslClientCertFile = PATH
Anchor auth.sslClientCertFile auth.sslClientCertFile
passphrase for the SSL client certificate.sslClientCertPassphrase = PASSPHRASE
Anchor auth.sslClientCertPassphrase auth.sslClientCertPassphrase
a path to passwords file; the file contains username/password pairs that are used to log into the Subversion repository. The path can be either absolute or relative to the Git repository where import/mirror from SVN is being performed to.passwords = PATH
Anchor auth. passwords auth. passwords
a path to the credential helper program and its optional arguments. The path can be either absolute or relative to the Git repository where import/mirror from SVN is being performed to. The program is expected to be non-interactive (no prompt) and to use Git credential helper input/output format. Sample credential helper script could be found incredentialHelper = PATH
Anchor auth.credentialHelper auth.credentialHelper subgit/samples
directory.
a path to Subversion configuration directory orsubversionConfigurationDirectory = [PATH|@default@]
Anchor auth.subversionConfigurationDirectory auth.subversionConfigurationDirectory @default@
to use current user Subversion configuration and credentials cache. The path can be either absolute or relative to the Git repository where import/mirror from SVN is being performed to.
a boolean value that can be set touseDefaultSubversionConfigurationDirectory = [true|false]
Anchor auth.useDefaultSubversionConfigurationDirectory auth.useDefaultSubversionConfigurationDirectory true
orfalse
. Whentrue
default user SVN directory~/.subversion
is used; whenfalse
, path that is set bysubversionConfigurationDirectory
option is used.
[TRANSLATE] Anchor translate translate
Anchor | ||||
---|---|---|---|---|
|
a boolean value that can be set toexternals = [true|false]
Anchor translate.externals translate.externals true
orfalse
. SubGit does not support translatingsvn:externals
to Git submodules and back. However, when this option is set totrue
, SubGit creates special .gitsvnextmodules
files in the root of every Git commit. These files store information on all thesvn:externals
definitions found in a given SVN branch. Whenfalse
, SubGit ignores anysvn:externals
properties. The default isfalse
.
a boolean value that can be set toeols = [true|false]
Anchor translate.eols translate.eols true
orfalse
. Whentrue
,.gitattributes
files in Git are syncronized withsvn:eol-style
andsvn:mime-type
properties in SVN repository. Whenfalse
.gitattributes
from Git is translated to.gitattributes
file in SVN as any other normal file. The default istrue
.
a boolean value that can be set toignores = [true|false]
Anchor translate.ignores translate.ignores true
orfalse
. Whentrue
,.gitignore
in Git is translated tosvn:ignore
and vice versa. Whenfalse
.gitignore
from Git is translated to.gitignore
file in SVN as any other normal file. The default istrue
.
a boolean value that can be set tootherProperties = [true|false]
Anchor translate.otherProperties translate.otherProperties true
orfalse
. Whentrue
, SubGit translates SVN properties (exceptsvn:eol-style
,svn:mime-type
,svn:ignore
,svn:executable
,svn:special
) to.gitattributes
. Whenfalse
, it doesn't.
a boolean value that can be set torenames = [true|false]
Anchor translate.renames translate.renames true
orfalse
. Whentrue
, SubGit tracks renamed files in Git and writes this information in SVN metadata. Whenfalse
, it doesn't. The default value istrue
.
followFirstParent = [true|false]
Anchor translate.followFirstParent translate.followFirstParent a boolean value that can be set totrue
orfalse
. When SubGit translates a merge commit to SVN revision, it tries to identify an SVN branch to send this commit to. When this option is set totrue
, SubGit always sends merge commit to the branch of its first parent unless it leads to branch replacement in SVN repository. Whenfalse
, SubGit uses a number of heuristics in order to choose SVN branch for a given merge commit; in certain cases, SubGit may send a merge commit to the branch of its second parent. The default isfalse
.
<a name="useGlueFetch = [true|false]
">Anchor translate.useGlueFetch translate.useGlueFetch
a boolean value ,that can be set totrue
orfalse
. Whentrue
, SubGit uses SVN requests of a special form that allow allows to translate SVN repository faster at expense of higher memory consumption. Whenfalse
, SubGit uses regular requests. Default The default isfalse
.
<a name="createEmptySvnCommits = [true|false]
">Anchor translate.createEmptySvnCommits translate.createEmptySvnCommits a boolean value,that can be set towill createtrue
orfalse
. Whentrue
, SubGitcreates empty commits in SVN project even there's nothing to send from Git side (for example, if a branch isn't tracked, e.g.). Whenwon'tfalse
, empty commitsare not be created.
- a
<a name="translate.createEmptyGitCommits">createEmptyGitCommits = [true|false]
a boolean value ,that can be set totrue
orfalse
. Whentrue
, SubGit will create creates empty commits in Git repository even there's nothing to send from Git side (for example, if a branch isn't tracked, e.g.). Whenfalse
, empty commits won't are not be created.
<a name="translate.timezone">timezone = TIMEZONE
UTC based timezone to be used in Git commits. Default The default is
UTC
. If this option is set to, say,
To set the timezone toUTC-4
the option has to be set as follows:No Format timezone = UTC-4
In this case, the timestamp in translated Git commit will be is set to that timezone:
EMAIL: user@example.comCode Block language text theme FadeToGrey title commit example commit 135242956354e70976f9c2ceec351f34d45d5d28 Author: user
<user@example.com> Date: Fri Jun 23 02:37:32 2017 -0400
changed source.cpp