查看存储库路径中的文件“格式”。它应该包含您的存储库的架构。由于 Subversion 1.4 是 5,并且在 Subversion 2 之前可能不会更改。只要架构不更改,就不需要“svnadmin upgrade”。
引用http://svn.apache.org/repos/asf/subversion/trunk/notes/repos_upgrade_HOWTO:
Anyone upgrading between versions of subversion that have different
repository schemas. Schema versions are as follows:
SUBVERSION VERSION NUMBER SCHEMA VERSION
------------------------- --------------
Up to and including 0.27 1
0.28 - 0.33.1 2
0.34 - 1.3 3
(no released version used this) 4
1.4 - 5
If necessary you can see which schema version your repository is
currently using by looking at the format file in the repository.
It should be noted that these changes are extremely rare. Now that
subversion has reached 1.0.0 our compatibility guarantees require
forward and backward compatible repository formats for all patch
releases and backward compatible for minor releases. So until
2.0.0 comes out there will be no change that should require a
dump for upgrading to newer versions.
While Subversion does create version 5 repositories by default as of
version 1.4, it still supports reading and writing version 3
repositories for backwards compatibility. Additionally, a pre-1.3
client can communicate with a 1.4+ server accessing a version 5
repository.
不要将存储库模式与工作副本之一混淆。工作副本中的格式文件包含当前版本的 subversion 的“9”。