Page tree

Versions Compared

Key

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

...

  • pathEncoding = ENCODING
    Anchor
    core. pathEncoding
    core. pathEncoding

    encoding to be used to store paths in Git tree objects. The default value is UTF8.
  • gitPath = PATH
    Anchor
    core. gitPath
    core. gitPath

    a path to Git executable. If this option is set, Git executable will be used to stream large files and perform Git garbage collection that can significantly decrease memory and disk space consumption.
  • streamFileThreshold = SIZE
    Anchor
    core. streamFileThreshold
    core. streamFileThreshold

    file size in bytes. SubGit loads the entire file into memory if its size less than this threshold; if the file is larger than the threshold, SubGit sends it as a stream. The option is not set by default, but SubGit sets the threshold to 50MB when the option is not set, so default threshold is 50MB. Note, the bigger the threshold is, the more likely to run into OutOfMemory error.
  • javaHome = PATH
    Anchor
    core.javaHome
    core.javaHome

    a path to Java home directory; this Java RE will be used to run hooks.

[SVN]

  • url = URL
    Anchor
    svn.url
    svn.url

    SVN project URL to be used for import/mirror. Supported protocols:
    • file://
    • svn://
    • svn+ssh://
    • http://
    • https://
       
  • trunk = PATH
    Anchor
    svn.trunk
    svn.trunk

    a path to SVN project trunk relative to the SVN project URL. For more details see "Branches and Tags mapping" user manual.
     
  • branches = PATH
    Anchor
    svn.branches
    svn.branches

    a path to SVN project branches directory relative to the SVN project URL. There can be more than one branches option in a configuration. For more details see "Branches and Tags mapping" user manual.

  • tags = PATH
    Anchor
    svn.tags
    svn.tags

    a path to SVN project tags directory relative to the SVN project URL. There can be more than one tags option in a configuration. For more details see "Branches and Tags mapping" user manual.
     
  • shelves = PATH
    Anchor
    svn.shelves
    svn.shelves

    a path to SVN project shelves directory relative to the SVN project URL; this is special directory intended to store commits in some ambiguous situations when SubGit is unable to determine branch name where those particular commits belong to, find more details in the "What are shelves really?" blog post.
     
  • excludeBranches = SIMPLE_PATTERN

    a string that represents a branch or tag name to be excluded from translation. It can be either full branch or tag name or a name pattern with one wildcard. Interchangeable with excludeTags. For more details see "Branches and Tags mapping" user manual.





  • excludeTags = SIMPLE_PATTERN

  • includePath = PATTERN

  • excludePath = PATTERN

  • auth = [default,option1,…]

  • minimalRevision = REVISION

  • fetchInterval = INTERVAL

  • connectTimeout = TIMEOUT

  • readTimeout = TIMEOUT

  • httpSpooling = [true|false]

  • triggerSvnPostReceive = [true|false]

  • triggerGitGC = [true|false|N]

  • keepGitCommitTime = [true|false]

  • revisionProperties = PATTERN

  • svnCommitMessage = PATTERN

  • gitCommitMessage = PATTERN

  • allowBranchReplacement = [true|false]

  • allowReplacementBranches = PATH

  • allowBranchDeletion = [true|false]

  • allowDeletionBranches = PATH

  • allowForcePush = [true|false]

  • cleanStaleRefLocks = [true|false]

...