• Name

    svnsync initialize – Initialize a destination repository for synchronization from another repository.


    svnsync initialize DEST_URL SOURCE_URL


    svnsync initialize verifies that a repository meets the requirements of a new mirror repository–that it has no previous existing version history, and that it allows revision property modifications–and records the initial administrative information which associates the mirror repository with the source repository. This is the first svnsync operation you run on a would-be mirror repository.

    Alternate Names



    --username NAME
    --password PASS
    --config-dir DIR


    Fail to initialize a mirror repository due to inability to modify revision properties:

    $ svnsync initialize file:///opt/svn/repos-mirror http://svn.example.com/repos
    svnsync: Repository has not been enabled to accept revision propchanges;
    ask the administrator to create a pre-revprop-change hook

    Initialize a repository as a mirror, having already created a pre-revprop-change hook which permits all revision property changes:

    $ svnsync initialize file:///opt/svn/repos-mirror http://svn.example.com/repos
    Copied properties for revision 0.

    The Version Control with Subversion book is licensed under the Creative Commons Attribution License v2.0.
    To submit comments, corrections, or other contributions to the text, please visit http://www.svnbook.com.