This documentation was written to describe the 1.7.x series of Apache™ Subversion®. If you are running a different version of Subversion, you are strongly encouraged to visit and instead consult the version of this documentation appropriate for your version of Subversion.


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.