我正在使用SVN外部包含来自另一个存储库的几个目录,但我还需要在项目目录的根目录中为两个单独的文件设置外部.
根据文档,这还不可能:
The URL for a file external must be in the same repository as the URL that
the file external will be inserted
into; inter-repository file externals
are not supported
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-externals.html
我如何解决这个问题,因为我需要将两个文件从外部存储库提取到项目目录的根目录中.
最佳答案
您可以使用“外部文件夹”加载它们,并使用预构建脚本或可能是乌龟svn客户端挂钩(更新后)移动文件.不是一个很好的解决方案,但对你来说可能还不错?