这个配置规格足够好吗? [英] Is this config spec good enough?
问题描述
我更是一个UCM而不是Base CC的家伙.谁能告诉我这个配置规范是否很好?
我对最后一行有些怀疑.没有element * /main/LATEST
可以吗?
I am more a UCM rather than Base CC guy. Can anyone tell me if this config spec is good?
I have some doubt at the last line. Is that ok without a element * /main/LATEST
?
~~~~~~~以下是开发人员的请求~~~~~~~~~
~~~~~~ below is the request from the developer ~~~~~~~~~
我希望所有更改都在/main/nz_plusOne
分支中,即使他们从/main/nz_mig
检出文件.
i hope to have all their changes in the /main/nz_plusOne
branch, even when they check-out file from /main/nz_mig
.
他们的配置规格是什么样的?我认为这就像
What does their config spec look like? I think it's something like
element * CHECKEDOUT
element * /main/nz_plusOne/LATEST
element * NVAR_NETEZZA_3 -mkbranch nz_plusOne
element * /main/LATEST -mkbranch nz_plusOne
推荐答案
您应始终以element * /main/LATEST
结尾(停止"规则),因为您不知道 all 元素是否在/main/anotherBranch
中具有版本.
You should always ends with element * /main/LATEST
(a "stop" rule), because you don't know if all the elements have a version in /main/anotherBranch
.
在您的情况下,通常的配置规范为:
In your case, the usual config spec would be:
element * CHECKEDOUT
element * /main/nz_plusOne/LATEST
element * NVAR_NETEZZA_3 -mkbranch nz_plusOne
element * /main/0 -mkbranch nz_plusOne
element * /main/LATEST
当他们从/main/nz_mig检出文件时
when they check-out file from /main/nz_mig
如果他们已签出文件(在任何分支中),无论如何您都不会从视图中看到该版本(它只会选择您在视图中执行 的签出版本.
If they have a file checked out (in any branch), you won't see that version from your view anyway (it only selects checked out version that you did in your view.
这篇关于这个配置规格足够好吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!