开发者

do any one have batch file to apply and create label or base line in clearcase

开发者 https://www.devze.com 2022-12-09 14:23 出处:网络
here i need a batch file which can apply and create label or base line to开发者_如何学Python the versioned elements in clear-case project, please provide me if any one have thisIf you want to create a

here i need a batch file which can apply and create label or base line to开发者_如何学Python the versioned elements in clear-case project, please provide me if any one have this


If you want to create a (UCM) baseline, you do not need to create the label first.

Simply go within your view and put a baseline:

cd m:\myView\myVob\myRootComponent
cleartool mkbl -c "my comment" MY_BASELINE_LABEL

It will apply a label on all checked-in files of said UCM component.
Actually, it will apply several labels, one for each writable components of a UCM project:

  • MY_BASELINE_LABEL for writable component 1
  • MY_BASELINE_LABEL.xyzz for writable component 2
  • MY_BASELINE_LABEL.zyxx for writable component 1

(it creates separate labels with the same 'title' (MY_BASELINE_LABEL) but different ids (- MY_BASELINE_LABEL.xxxx)

If your view references a UCM stream, that will "apply and create label or base line to the versioned elements in clear-case project", as you put it.
Put those commands in a batch and you have it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号