SubGit 2.0 EAP is Open!

Need to build a writable Git mirror of a remote Subversion repository?

Download
SubGit 2.0 EAP build


SVN Importer Plugin
for Atlassian Stash!

One click import from Subversion to Git within Stash. Fast and Simple.

Download at Atlassian Marketplace

Create a writable Git mirror of a remote Subversion repository

SubGit 2.0 major new feature is an ability to create a writable Git mirror of a remote Subversion repository. To build such a mirror, do the following:

  1. Download SubGit 2.0 EAP build and install or unpack it
  2. Configure Git mirror by running:

     $ subgit configure --svn-url SVN_URL GIT_MIRROR_PATH

    where:

    SVN_URL - URL of a remote Subversion repository;
    GIT_MIRROR_PATH - path where you'd like Git mirror to be created.

  3. Adjust Subversion to Git branches mapping accordingly to your project layout by editing configuration file at GIT_MIRROR_PATH/subgit/config.

  4. Required: add at least one Subversion user account credentials to GIT_MIRROR_PATH/subgit/passwd file. This account must have full read and write access to the Subversion repository.

  5. Enable pre-revprop-change hook in Subversion repository, if possible. This hook have to be enable to let SubGit set proper author names for Subversion revision.

  6. Finish installation by running:

     $ subgit install GIT_MIRROR_PATH

Now Git repository at GIT_MIRROR_PATH is a writable mirror of Subversion repository at SVN_URL. Commits to Subversion repository will appear in the Git repository and pushes to Git repository will be translated to Subversion repository revisions.

Download SubGit 2.0 EAP Build

Early Access Program (EAP) builds are those we consider stable and use for self-hosting. However, these builds are not of release quality and may not be suited for use in your production environment.

Purpose of the Early Access Program (EAP) is to give you a build to play with and let our priorities be formed by your feedback.

SubGit is a closed source software. You may use this version of it for free.

Build: #2365, published on: Mar 13, 2013

Upgrade:

#
# Add --rebuild option to also retranslate Subversion revisions to Git commits
# using new version of SubGit. 
#    
$ subgit-2.0.0-EAP_2365/bin/subgit install path/to/subversion/repository

Build: #2365, published on: Mar 13, 2013

Install or Upgrade Debian package:

$ sudo dpkg -i subgit_2.0.0-EAP-2365_all.deb

Upgrade:

#
# Add --rebuild option to also retranslate Subversion revisions to Git commits
# using new version of SubGit. 
#    
$ subgit install path/to/subversion/repository

System Requirements:

In this EAP build:

New Features:

 * SGT-81 : core.defaultDomain option to specify domain name to use
            for email composition in absence of explicit authors mapping.
 * SGT-586: Options added to specify default Subversion configuration directory
            to look for credentials.
 * SGT-588: Improved console feedback on Git push.  
   
Fixed Bugs:

 * SGT-648: Improved background process detection algorithm to avoid multiple 
            background processes launch.
 * SGT-659: Same translation shared by multiple Git repositories 
            were not supported. 
 * SGT-630: minimalRevision option support was broken in remote repository 
            mirror mode. 
 * SGT-640: Exception on attempt to push to unmapped Git branch.
 * SGT-639: Configure command failed with JRockit JVM.
    

SubGit 2.0. Roadmap

We're trying to stay on the following schedule:

Feel free to browse our issues tracker to see features and bugfixes planned for the next EAP or next release, and of course you're welcome to submit your own issues.