Subversion 在更新期间丢失新目录 [英] Subversion misses new directories during update

查看:31
本文介绍了Subversion 在更新期间丢失新目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 SVN 1.6.3 和 TortoiseSVN 1.6.6.定期从项目的根目录进行更新时,SVN 无法获取新添加的目录(由同事添加).我已经验证了修订号是正确的,甚至可以在日志中看到该修订版的新目录(及其文件).这似乎不会对所有计算机产生相同的影响(在另一台计算机上运行良好)并且多次更新不会纠正它.但是,如果我删除上面这个新目录应该所在的目录并进行另一个 SVN 更新...问题就解决了.

I'm using SVN 1.6.3 and TortoiseSVN 1.6.6. Periodically when I do an update from the root of my project, SVN fails to pickup a newly added directory (added by a co-worker). I've verified the revision number is correct and can even see the new directory (and its files) in the log for that revision. This doesn't seem to affect all computers the same (worked fine on another one) and multiple updates won't correct it. But, if I delete the directory above where this new directory is supposed to be and do another SVN update...the issue is resolved.

我的第一个想法是,它要么是在随后的 SVN 版本(1.6.6 等)中解决的问题,要么是我的 TortoiseSVN 客户端版本的问题.任何人都可以确认/否认其中任何一个吗?使用现有存储库升级到新的 SVN 版本是否容易?

My first thought is that its either an issue that has been resolved with a subsequent SVN release (1.6.6, etc) or an issue with my TortoiseSVN client version. Can anyone confirm/deny either of these? Is it easy to upgrade to a new SVN version with an existing repository?

谢谢...

推荐答案

听起来您有一个 稀疏 工作副本.尝试 svn update --set-depth infinity 看看是否可以.

It sounds like you have a sparse working copy. Try svn update --set-depth infinity and see if that does it.

Tortoise 中的等效项是在您打开更新对话框时将更新深度设置为完全递归".

The equivalent in Tortoise is setting Update Depth to "Fully recursive" when you pull up the Update dialog.

这篇关于Subversion 在更新期间丢失新目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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