• Name

    svnadmin rmtxns – Delete transactions from a repository.

    Synopsis

    svnadmin rmtxns REPOS_PATH TXN_NAME…

    Description

    Delete outstanding transactions from a repository. This is covered in detail in the section called “Removing dead transactions”.

    Options

    --quiet (-q)
    

    Examples

    Remove named transactions:

    $ svnadmin rmtxns /usr/local/svn/repos/ 1w 1x
    

    Fortunately, the output of lstxns works great as the input for rmtxns:

    $ svnadmin rmtxns /usr/local/svn/repos/  `svnadmin lstxns /usr/local/svn/repos/`
    

    Which will remove all uncommitted transactions from your repository.


    The Version Control with Subversion book is licensed under the Creative Commons Attribution License v2.0.
    To submit comments, corrections, or other contributions to the text, please visit http://www.svnbook.com.