Perforce 流,从合并/复制中排除文件 [英] Perforce streams, exclude files from merge/copy

查看:81
本文介绍了Perforce 流,从合并/复制中排除文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下 perforce 流结构:ma​​in 分支和 2 个链接到它的开发分支dev_v1dev_v2.两个开发流都有一些构建控制文件,版本特定的变量位于其中.这些文件中的任何更改都会反映在 Perforce Streams Graph 中,系统会要求我将它们合并到主分支,然后从主分支合并到其他开发分支.

I have following perforce streams structure: main branch and 2 development branches linked to it dev_v1 and dev_v2. Both development streams has some build control files where version specific variables are located. Any change in these files will be reflected in Perforce Streams Graph and the system will ask me to merge them into main and then from main into other development branch.

如何在 Perforce 中排除特定的文件集,以便在发生任何更改时系统不会显示流之间的任何差异,也不会要求合并/复制它们.

How to exclude specific set of files in Perforce so that in case of any change the system will no show any difference between streams and will not ask to merge/copy them.

推荐答案

如果这些构建文件不应该被集成,你应该在流视图中将该路径设置为隔离"而不是公共.这会将文件添加到该流的客户端视图中,但会将它们从任何生成分支映射中排除.这将导致它们退出积分计算,Perforce 将停止尝试对它们进行积分.

If those build files should never be integrated you should set that path in the stream view to be 'isolate' instead of public. That will add the files to client views for that stream, but will exclude them from any generate branch maps. That will cause them to fall out of the integration calculation and Perforce will stop trying to integrate them.

Isolate 专门放在流中以处理每个流独有的构建文件,因此这是完美的用途.

Isolate was specifically put in streams to handle build files that are unique to each stream, so this is the perfect use.

这篇关于Perforce 流,从合并/复制中排除文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆