I want to remove the last revision (or last n revisions) from a repository.
How to do it?
Is it possible to remove the svn revision files from project/db/revs/
and from project/db/revprops/
?
Check SVNBook: Repository Maintenance.
svnadmin dump <path-to-repository> -r 0:99 > mydump.dump
Where 99 is your N-1 number. This way you create a dump of your repository from 0 to 99 revision and can load into a new fresh repository with svnadmin load
.