Is this config spec good enough?

后端 未结 1 1592
孤独总比滥情好
孤独总比滥情好 2021-01-16 03:29

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/L

1条回答
  •  伪装坚强ぢ
    2021-01-16 04:14

    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.

    0 讨论(0)
提交回复
热议问题