Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

This is a step-by-step guide to importing and mirroring a Subversion project into a Git repository.

  1. In Bitbucket Server, create a project by clicking Create Project.

  2. Add an empty Git repository to your project by clicking Create Repository.

  3. On an empty repository page, click SVN Mirror to specify the settings for the initial configuration of a Subversion project that you want to import or mirror.

    Specify the following details:
    • URL to a Subversion project
    • credentials to log in a Subversion repository that contains the required Subversion project
    • select the way to identify a Subversion project layout (trunk, branches, tags and shelves)
    • specify the email domain for automatic authors mapping

  4. To start the initial configuration of the project, click Continue
    To reset the initial configuration settings that you’ve specified, click Reset to Defaults.

  5. After the initial configuration, review, and if required, adjust the configuration settings to import or mirror your Subversion project properly. See the Specifying import and mirror configuration settings section for the detailed information.
    To restore previous configuration setting that you’ve specified, click  Revert Changes.
    To go back to the initial configuration of a Subversion project, click Back.

  6. To perform import of a Subversion project into a Git repository, click Import.
    After import, synchronization between the Git and the Subversion repositories is disabled.

    To start synchronizing the Git repository with the imported Subversion project and the corresponding Subversion repository, click Enable on the Mirror Status pane.

  7. To mirror a Subversion project into a Git repository, click MirrorGit repository with the imported Subversion project keeps synchronized with the corresponding Subversion repository. The changes committed either to Subversion or Git are synchronized.

    Importing and mirroring may take significant time. It depends on the size of your Subversion project.

  • No labels