Subversion 3


Example
This lists the one locked file in the repository at /svn/repos$ svnadmin lslocks /svn/repos Path: /tree.jpg UUID Token: opaquelocktoken:ab00ddf0-6afb-0310-9cd0-dda813329753 Owner: harry Crea...

svnadmin lstxns Print the names of all uncommitted transactions....
Synopsis
svnadmin lstxns REPOS_PATH...
Description
Print the names of all uncommitted transactions. See Repository Cleanup for information on how uncommitted transactions are created and what you should do with them....
Examples
List all outstanding transactions in a repository.$ svnadmin lstxns /usr/local/svn/repos/ 1w 1x . .svnadmin lslockssvnadmin recover...

svnadmin recover Bring a repository database back into a consistent state (applies only to repositories using the bdb backend). In addition, if repos/conf/passwd does not exist, i...
Synopsis
svnadmin recover REPOS_PATH...
Description
Run this command if you get an error indicating that your repository needs to be recovered....
Switches
--wait...
Examples
Recover a hung repository:$ svnadmin recover /usr/local/svn/repos/ Repository lock acquired. Please wait; recovering the repository may take some time... Recovery completed. The latest repos revis...

svnadmin rmlocks Unconditionally remove one or more locks from a repository....
Synopsis
svnadmin rmlocks REPOS_PATH LOCKED_PATH......
Description
Remove lock from each LOCKED_PATH....
Switches
None...
Example
This deletes the locks on tree.jpg and house.jpg in the repository at /svn/repos$ svnadmin rmlocks /svn/repos tree.jpg house.jpg Removed lock on '/tree.jpg. Removed lock on '/hou...

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 Repository Cleanup....
Switches
--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...

svnadmin setlog Set the log-message on a revision....
Synopsis
svnadmin setlog REPOS_PATH -r REVISION FILE...
Description
Set the log-message on revision REVISION to the contents of FILE.This is similar to using svn propset --revprop to set the svn:log property on a revision, except that you can als...

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 rmtxnssvnadmin verify...

svnadmin verify Verify 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 iterates through all revisions in the repository by internally dumping all revisions and d...
Examples
Verify a hung repository:$ svnadmin verify /usr/local/svn/repos/ * Verified revision 1729. . .svnadmin setlogsvnlook...
Svnadmin
svnadmin is the administrative tool for monitoring and repairing your Subversion repository. For detailed information, see svnadmin.Since svnadmin works via direct repository access (an...
Svnadmin Switches
--bdb-log-keep(Berkeley DB specific) Disable automatic log removal of database log files.--bdb-txn-nosync(Berkeley DB specific) Disables fsync when committing database transactions.-...
Svnadmin Subcommands
. .svn updatesvnadmin create...
Svnlook
svnlook is a command-line utility for examining different aspects of a Subversion repository. It does not make any changes to the repositoryit's just used for peeking. svnlook is ty...
Svnlook Switches
Switches in svnlook are global, just like in svn and svnadmin; however, most switches only apply to one subcommand since the functionality of svnlook is (intentionally) limited in...
Svnlook
. .svnadmin verifysvnlook author...
- - | 1 2 3 4 | - -


- -