简体   繁体   English

SVN合并重新集成失败,并显示以下错误:(不支持对mergeinfo的检索)

[英]SVN merge reintegrate fails with error: (retrieval of mergeinfo unsupported)

Using TortoiseSVN 1.6.16 and SVN server (svnserve) 1.6.11, when I try to 'Merge - Reintegrate a branch' I get this error: 使用TortoiseSVN 1.6.16和SVN服务器(svnserve)1.6.11,当我尝试“合并-重新集成分支”时,出现此错误:

SVN merge reintegrate fails with error: (retrieval of mergeinfo unsupported)

Recommendations elsewhere tell me that this message occurs when either the client or server is older than 1.5, but this does not help me. 其他地方的建议告诉我,当客户端或服务器的版本低于1.5时,会出现此消息,但这对我没有帮助。

The problem is the repository format version, which is not automatically updated when the server is. 问题是存储库格式版本,服务器在安装时不会自动更新。

I have admin access to the repository, so checking <path_to_repo>/db/format showed 2 which corresponds to server version 1.4. 我具有对该存储库的管理员访问权限,因此检查<path_to_repo>/db/format显示2对应于服务器版本1.4。 I backed up the repository: 我备份了存储库:

svnadmin dump <path_to_repo> | gzip > afullrepobackupname.svn.gz

and upgraded it: 并对其进行升级:

svnadmin upgrade <path_to_repo>

Now <path_to_repo>/db/format contains: 现在<path_to_repo>/db/format包含:

4
layout linear

which corresponds to server version 1.6 (3 would be 1.5). 对应于服务器版本1.6(3为1.5)。

Now my TortoiseSVN can 'Merge - Reintegrate a branch' successfully. 现在,我的TortoiseSVN可以成功“合并-重新整合分支”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM