
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
234
|
Chapter 9: Subversion Complete Reference
$ svnadmin rmtxns /usr/local/svn/repos/ 1w 1x
Fortunately, the output of svn lstxns works great as the input for rmtxns:
$ svnadmin rmtxns /usr/local/svn/repos/ `svnadmin lstxns /usr/local/svn/repos/`
This will remove all uncommitted transactions from your repository.
svnadmin setlog
Sets the log message on a revision.
Synopsis
svnadmin setlog REPOS_PATH -r REVISION FILE
Description
Sets the log message on revision REVISION to the contents of FILE.
Similar to using
svn propset --revprop to set the svn:log property on a revision, except
that you can also use the option
--bypass-hooks to avoid running any pre- or post-commit
hooks, which is useful if the modification of revision properties has not been enabled in the
pre-revprop-change hook.
Revision properties are not under version control, so this command
will permanently overwrite the previous log message.
Switches
--revision (-r) ARG
--bypass-hooks
Examples
Set the log message for revision 19 to the contents of the file msg:
$ svnadmin setlog /usr/local/svn/repos/ -r 19 msg
svnadmin verify
Verifies the data stored in the repository.
Synopsis
svnadmin verify REPOS_PATH
Description
Run this command if you wish to verify the integrity of your repository. This basically iter-
ates through all revisions in ...