How to move an SVN repository to a new server

后端 未结 4 806
遇见更好的自我
遇见更好的自我 2021-01-30 07:19

We would like to merge two of our servers together and in order to do that we would need to install SVN on the \"new\" server and then move over all of our repositories that we

4条回答
  •  再見小時候
    2021-01-30 07:31

    CLONE-SVN2SVN

    If svnadmin dump is not an option, you can use the clone-svn2svn bash script. It copies an SVN directory to another SVN site with compete or partial revision history. Below are the main command line parameters. You can also set the revision from which you want the clone to start copying the history.

    clone-svn2svn.sh  
    

    Requirements

    Bash and git are required for the script to work. If you are on Windows or another platform, download them from git-scm web site. This is a git installer with bash included.

    Details

    The script downloads the source SVN history to a temporary git repository by using git-svn and uploads the history to the target SVN repo.

    Shortcomings

    The author in revisions in the target repo will be the user running the script (yourself). However, each revision message will have an additional line specifying the original author. So it's not too bad.

提交回复
热议问题