1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in
Version 3 (modified by jwigglesworth, 4 years ago)

--

Managing your Subversion Repository with adminrepo

adminrepo? is a tool provided by SourceForge for manipulating and making changes to your repository. It can be used to perform common tasks, such as removing files that were incorrectly checked in.

adminrepo --checkout svn will clone a copy of your repository in /svnroot/PROJECT. Once you have a clone copy, you are able to manipulate the repository as you would normally. adminrepo locks your repository until you either finalize or cancel your changes, with the adminrepo --save or adminrepo --discard respectively. While your repository is locked, it is read only.

NOTE: BEFORE performing ANY action with adminrepo, you should always consult with your Project Team, and backup your repository

Removing a file

  1. Discuss your proposed changes with your Project Team.
  2. Backup your your current Subversion repository.
  3. Connect to our Shell service and run the sf-help command. This will provide you with the information necessary to upload your dump file.
  4. adminrepo --checkout svn will create a clone copy of your repository in /svnroot/PROJECT.
    • Use adminrepo --help for further information.
  5. Create a dump file of your repository with svnadmin
  6. Use svndumpfilter to make your desired changes.
  7. Create a new repository to load the changes from your dump file into:
    • Remove the working copy of your repo with rm -rf /svnroot/PROJECT/*. Be very careful with this.
    • Create a new repository with svnadmin create
  8. Use svnadmin load /svnroot/PROJECT < svndump to load your changes into the repository.
  9. Save your changes using adminrepo --save.