如何标记svn中的提交文件以从导出中排除?(How to flag commited files in svn to be excluded from the export?)

编程入门 行业动态 更新时间:2024-10-28 14:31:37
如何标记svn中的提交文件以从导出中排除?(How to flag commited files in svn to be excluded from the export?)

我们遇到的问题是我们的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.

更多推荐

本文发布于:2023-08-02 05:58:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1370066.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:标记   文件   svn   flag   export

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!