TortoiseSVN 未检测到 SVN 存储库的更改
最近,我们的 SVN 存储库从托管它的服务器上消失了。我们仍然没有弄清楚它是如何发生的,但我们有一个半新的备份,我们可以用它来恢复存储库。我们没有丢失任何工作(每个人都在硬盘驱动器上备份了最新更改),但当我们开始使用存储库的旧备份时,修订号基本上恢复为旧版本。
SVN 服务器现在似乎已得到纠正,但我注意到 tortoiseSVN 存在一些问题,我认为这些问题是由 SVN 服务器的更改引起的。在我的本地计算机上,我无法看到恢复到备份 SVN 后发生的任何修订。我可以通过删除 tortoiseSVN 并重新安装新版本来解决此问题。
现在我的同事正在尝试更新他的 SVN 主干,并且看到了非常旧的文件版本(比备份旧得多)。 svn 服务器具有正确的文件,并且其他人能够访问它,因此这似乎是他的客户端的问题。他尝试删除乌龟并重新安装,但这没有帮助。我怀疑尽管重新安装,Tortoise 仍以某种方式存储/检测有关 SVN 服务器的(不正确)信息;但我不知道这怎么可能。有谁知道我们如何强制他的客户端检查 SVN 服务器并检测已发生的更改?
we recently had our SVN repository disappear from the server hosting it. We still haven't figured out how it happened, but we had a semi-recent backup which we were able to use to recover the repository. We didn't lose any work (everyone had back ups of their most recent changes on their hard drives) but the revision numbers essentially reverted back to older revisions when we started using the old backup of the repository.
The SVN server appears to be corrected now, but I've noticed some issues with tortoiseSVN which I believe were caused by the changes to the SVN server. On my local machine I was unable to see any revision that occurred after we reverted to the backup SVN. I was able to fix this by deleting tortoiseSVN and reinstalling the newer version.
Now my colleague is trying to update his SVN trunk and is seeing extremely old versions of files (much older then the backup was). The svn server has the correct files and others are able to access it, so this appears to be an issue with his client. He has tried deleting tortoise and reinstalling it but this didn't help. I suspect that tortoise is somehow storing/detecting (incorrect) information about the SVN server despite the reinstall; but I don't know how this is possible. Does anyone know how we can force his client to check the SVN server and detect the changes that have occurred?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
发生此类事件后(即存储库的备份落后了一些修订),您必须做什么:
如果您使用 TortoiseSVN,您还应该清除日志缓存(设置对话框->保存的数据->清除)
What you have to do after such an event (i.e., a backup of the repo is a few revisions behind):
If you're using TortoiseSVN, you also should clear the log cache (settings dialog->saved data->clear)