|Version 3 (modified by jwigglesworth, 4 years ago)|
Managing your Subversion Repository with adminrepo
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
- Discuss your proposed changes with your Project Team.
- Backup your your current Subversion repository.
- Connect to our Shell service and run the sf-help command. This will provide you with the information necessary to upload your dump file.
- adminrepo --checkout svn will create a clone copy of your repository in /svnroot/PROJECT.
- Use adminrepo --help for further information.
- Create a dump file of your repository with svnadmin
- Use svndumpfilter to make your desired changes.
- 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
- Use svnadmin load /svnroot/PROJECT < svndump to load your changes into the repository.
- Save your changes using adminrepo --save.