Login | Join Now
  • Importing an SVN repo into CollabNet SourceForge Enterprise

    Product:
    SourceForge Enterprise 4.5+

    Component:
    Software Configuration Management

    Summary:

    Bringing an existing SVN repository under CollabNet SourceForge Enterprise management.



     

    If you have an existing SVN repo that you would like to manage with CollabNet SourceForge Enterprise, follow these steps:

    Stop SVN access to the old repo:

    • 'Dump' the old repo
    • svnadmin dump /svnroot/old_repo > /tmp/old_repo.dmp
    • mv /svnroot/old_repo /tmp

    Restore SVN access

    Transfer the repo to the CollabNet SourceForge Enterprise SVN server:

    • Create the new repo from within CollabNet SourceForge Enterprise
    • Browse to your project
    • Click the Source Code button
    • Create your new repo

    'Load' the old repo:

    • cat /tmp/old_repo.dmp|svnadmin load /svnroot new_repo

    Synchronize permissions:

    • Login as an CollabNet SourceForge Enterprise site admin
    • Click the 'Admin' link
    • Click the 'Integrations' button
    • Check the SVN integration in question
    • Click the 'Synchronize Permissions' button

    Verify the new repo

    Remove the old repo:

    • /bin/rm -r /tmp/old_repo