2013-05-10 92 views
1

應用標籤錯誤清除案例標籤錯誤

cleartool: Error: label type "label_1" not found in VOB "\newvob" and no global type definition can be found. 
cleartool: Error: Unable to create label "label_1" on "newvob" version "\main\12". 

回答

1

IBM technote提到:

cleartool relocate aborts with the below error when attempting to move a single element, foo.c , from a source VOB, vob1 , to a newly created target VOB, vob2 .

但是,如果你不重新定位一個文件,那麼它可以是一個hyperlink issue between ClearCase and ClearQuest

或者(如果您未使用與ClearQuest的集成):a broken hyperlink with the Administrative pvob
首先檢查最後一個鏈接:它可能是此錯誤消息的最常見原因。

  • AdminVOB and its corresponding client VOBs are linked together using hyperlinks. Note: A hyperlink also exists on the local copy of the global types residing in both VOBs.
  • Each VOB can only have a single AdminVOB.
  • An AdminVOB can be linked to another AdminVOB.

罩下一步一步:

  • ClearCase looks in the current VOB for a local branch type definition (either a local type, or a local copy of a global type).
  • If it exists:
    The client checks the parent global type for "process guards" (currently only used for UCM stream associations, but this check is made against all branch, label, an other types for backward compatibility reasons).
  • If no "process guards" are found, or those guards allow the branch to be created (checkout in UCM branch type in view connected to the right stream), the client creates the branch from the existing local type.
  • If a local copy does not exist, the client will look for an AdminVOB hyperlink.
  • If the AdminVOB hyperlink exists and points to an existing VOB:
    the client searches that for a global type definition with the same name as the branch being requested.
  • If the global type exists, it will be examined for "process guards" as described above, if not, you will see the error in step 5 below.
  • If no "process guards" block the mkbranch operation, then a local copy of the global type will be made in the VOB where the mkbranch operation was requested and the requested branch will be created.
  • If no AdminVOB hyperlink exists, the client reports the following error:
 
cleartool: Error: branch type "{name}" not found in VOB "\mkvobtest" and no global type definition can be found. 
cleartool: Error: Unable to create branch "{name}" from "." version "{parent version ID}".