名称

svnadmin upgrade — 升级版本库到支持的最新方案版本。

概要

svnadmin upgrade REPOS_PATH

描述

升级位于 REPOS_PATH 的版本库到支持的最新方案版本。

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 guarantee the most optimized repository state, svnadmin upgrade does not.

[警告] 警告

在升级之前,你永远都应该备份版本库。

选项

例子

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.