qertnote.blogg.se

Subversion synchronization
Subversion synchronization






There is also a way to skip mirroring and only use SubGit for one-time import from Subversion to Git.įigure 1.2. Figure 1.2 shows typical SubGit set up that allows one to use both Subversion and Git and smoothes migration path.ĭuring mirror initialization stage, SubGit translates existing Subversion revisions into a newly created Git repository.

subversion synchronization

Optionally, user may enable revision properties on Subversion side by enabling pre-revprop-change hook in Subversion repository - this will let SubGit use single Subversion user account, but this modification is not required, so even Subversion repositories that you do not have shell access to could be mirrored with SubGit. Changes pushed to the Git repository are instantly translated into Subversion project and vice versa - commits to Subversion project are reflected in the corresponding Git repository. Each Git repository mirrors one Subverion project (there could be multiple projects within a single Subversion repository). User creates Git repositories with SubGit and configures them so, that these repositories are kept in sync with the remote Subversion repository. Figure 1.1 shows a generic outline of the described configuration. Correspondingly, users requests are handled by Apache Web Server, svnserve daemon or sshd daemon which invokes svnserve process. Access to Subversion repository is available over network (with HTTP(s), plain svn or svn over SSH protocols) and over the local file system. Most commonly, SubGit user starts with Subversion repository being configured on the server. This book only covers the case when SubGit is used to create Git mirror of a remote Subversion repository.

Subversion synchronization how to#

SubGit is written in Java.įor information on how to install SubGit into the local Subversion repository, refer to SubGit Local Book. SubGit is a tool for bidirectional Subversion and Git repositories synchronization. Recommended client-side Git configuration

subversion synchronization subversion synchronization

Credentials and Subversion pre-revprop-change hook Adjust configuration: provide authors mapping Creating Git Mirror of a Subversion Repository






Subversion synchronization