This text is a work in progress—highly subject to change—and may not accurately describe any released version of the ApacheTM Subversion® software. Bookmarking or otherwise referring others to this page is probably not such a smart idea. Please visit http://www.svnbook.com/ for stable versions of this book.
svnadmin rmtxns — Delete transactions from a repository.
svnadmin rmtxns REPOS_PATH TXN_NAME...
Delete outstanding transactions from a repository. This is covered in detail in the section called "Removing dead transactions".
Remove named transactions:
$ svnadmin rmtxns /var/svn/repos/ 1w 1x
Fortunately, the output of lstxns works great as the input for rmtxns:
$ svnadmin rmtxns /var/svn/repos/ `svnadmin lstxns /var/svn/repos/`
This removes all uncommitted transactions from your repository.