有些文件/文件夹被删除,然后重新添加到存储库。
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/