Penguin
Note: You are viewing an old revision of this page. View the current version.

Random notes about SubVersion usage.

Removing revisions from a repository

I had a situation where I wanted to remove the last X revisions from my repository. You can accomplish this with the following commands

matt@argon:~/tmp2$ svnadmin create repo2; svnadmin dump -r 0:173 repo1 | svnadmin load repo2

This creates a new repository (repo2) and dumps revisions 0 to 173 (inclusive) from repo1 into it.