svn无法在文件中设置位置指针 [英] svn Can't set position pointer in file

查看:459
本文介绍了svn无法在文件中设置位置指针的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到现在为止,svn存储库一直存在问题.

I'm having an issue with an svn repository that has been working just fine up to now.

我遇到了错误

svnadmin: Can't set position pointer in file 'repository/db/revs/0/783': Invalid argument

例如当我跑步时

svnadmin verify

其他一般症状包括无法检出,更新,提交等.

Other general symptoms include not being able to checkout, update, commit etc.

非常感谢任何帮助

谢谢! 彼得

推荐答案

发生相同问题时,我们可以将其跟踪到文件移动错误的单个文件夹.

When the same problem occurred we were able to track it down to an individual folder which had files that were moved incorrectly.

其他文件夹允许提交和更新,只有在包含该文件夹后,我们才会收到无法设置指针的消息.

Other folders allowed committing and updating, only when including that folder did we get the message of being unable to set the pointer.

解决方案为:

  1. 从SVN中删除有问题的文件夹(忽略,递归)
  2. 再次添加文件夹.
  3. 提交文件夹.

这似乎可以解决所有错误.

This seemed to fix whatever was wrong.

通过更多的试验和错误,我猜可以将问题跟踪到负责该文件的文件,但是在这种情况下,我们在文件夹级别停止了操作.

With more trial and error I guess the problem could be tracked to the file[s] that were responsible, but in this case we stopped at folder level.

这篇关于svn无法在文件中设置位置指针的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆