Is this config spec good enough?

假装没事ソ 提交于 2019-12-19 11:29:57

问题


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 ~~~~~~~~~

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

回答1:


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

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.



来源:https://stackoverflow.com/questions/18896023/is-this-config-spec-good-enough

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!