且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

svn 提交失败:找不到文件:事务»52-1r«

更新时间:2023-11-22 17:05:34

简短回答

我的 subversion 客户端版本已过时.

My client version of subversion was outdated.

长答案

我在 Mac 上运行 MacPorts 并以某种方式假设我有 Subversion 作为其中的一部分安装.唉,我没有,我的 svn 命令是 Apple 的默认 svn,版本 1.6.17 (r1128011),它以 subversion 格式 10 运行.

I'm running MacPorts on my Mac and somehow assumed that I had Subversion installed as a part of that. Alas, I had not, and my svn command was Apple's default svn, version 1.6.17 (r1128011) which runs with subversion format 10.

存储库运行 svn, version 1.7.13 (r1516569),它以 subversion 格式 12 运行.

The repository runs svn, version 1.7.13 (r1516569) which runs with subversion format 12.

更新(即安装)我的本地 svn,版本 1.8.3 (r1516576) 后,它也以格式 12 运行,并且 svn upgrade 我的本地存储库树到当前版本,我可以毫无问题地提交所有更改.

After updating (i.e. installing) my local svn, version 1.8.3 (r1516576) which runs with format 12 as well and svn upgrade my local repository tree to the current version, I could commit all my changes without problems.