我们遇到的问题是我们的SVN中有开放式项目文件,如*.fla和*.psd 。 它们属于Apache Subversion(即在SVN存储库中),但我们不希望它们被导出。 我们想要一个没有我们打开项目文件的干净导出。
有没有办法以某种方式标记它们以防止它们被导出?
We have the problem that we have the open project files in our SVN like *.fla and *.psd. They are under Apache Subversion (i.e. in SVN repository) but we don't want them to be exported. We want a clean export without our open project files.
Is there a way to flag them somehow to prevent them from being exported?
最满意答案
没有办法告诉Subversion从export排除某些文件,因为它在(合理的)假设下运行,即存储库中的所有文件都与项目的构建和使用相关。
如果您不希望在用户执行export时显示文件,则它们不应该首先位于存储库中。
There is no way to tell Subversion to exclude certain files from an export because it operates under the (reasonable) assumption that all files in the repository are relevant to the building and usage of the project.
If you don’t want files to show up when a user does an export, then they shouldn’t be in the repository in the first place.
更多推荐
发布评论