名称

svnadmin upgrade — Upgrade a repository to the latest supported schema version.

概要

svnadmin upgrade REPOS_PATH

描述

Upgrade the repository located at REPOS_PATH to the latest supported schema version.

This functionality is provided as a convenience for repository administrators who wish to make use of new Subversion functionality without having to undertake a potentially costly full repository dump and load operation. As such, the upgrade performs only the minimum amount of work needed to accomplish this while still maintaining the integrity of the repository. While a dump and subsequent load guarantees the most optimized repository state, svnadmin upgrade does not.

警告

You should always backup your repository before upgrading.

选项

例子

Upgrade the repository at path /var/repos/svn

$ svnadmin upgrade /var/repos/svn
Repository lock acquired.
Please wait; upgrading the repository may take some time...

Upgrade completed.