file - SVN - 无法 checkout 以前删除然后在 repo 中恢复的文件

标签 file svn svn-checkout

有些文件/文件夹被删除,然后重新添加到存储库。

svn update > 给我正确更新的版本。 文件和文件夹正确显示在 svn 存储库中,如果我运行“svn update”“svn diff”我的工作区文件夹似乎同步但文件/文件夹未 check out ... 知道问题出在哪里吗?

如果我再次从头 checkout 项目,文件/文件夹会正确 checkout

最佳答案

您可能会遇到以下 problem

来自文章:

With an 1.6.1 client, there's a situation where new files aren't fetched in an update.

This happens when adding a new folder with --depth=empty, which is what TSVN uses to avoid that files which the user doesn't want to add get added automatically too. See the comments in the script.

解决方案(感谢wcoenen):

svn update --set-depth infinity

关于file - SVN - 无法 checkout 以前删除然后在 repo 中恢复的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1409667/

相关文章:

java - 如何使用 Java 在文本文件中复制以特定字符开头和结尾的字符串

通过 PC 访问 Android 共享存储

svn - 无法从 svn checkout : svn: E000002

svn - 带有内置 SVN 支持 Windows 的免费文本编辑器?

github - 我可以将 GitHub 用于哪些类型的代码?

svn - 尝试 svn 结帐,但得到 : svn: '.' is already a working copy for a different URL

css - 在 apache 后面运行时,Confluence 不显示样式

java - Android:每个 Activity 可以有一个单独的 Java 文件吗?

svn - 如何使用 Netbeans 7.1 处理 SVN 1.7 存储库?

svn - 与多个开发人员一起使用 git 和 svn