发新话题
打印

[求助] 怎么删除已提交过,有基线的component( 此文章被查看:1293次,被回复:9篇!! )

怎么删除已提交过,有基线的component

% cleartool rmcomp gsm@/vobs/Project_wxc2
Remove component "gsm@/vobs/Project_wxc2"?  [no] y
cleartool: Error: Cannot remove component that has baselines other than the initial baseline.
cleartool: Error: Unable to remove component "gsm@/vobs/Project_wxc2".


% cleartool rmbl gsm_INITIAL@/vobs/Project_wxc2
Remove baseline "gsm_INITIAL@/vobs/Project_wxc2"?  [no] y
cleartool: Error: Cannot remove baseline that is the initial baseline of a component.
cleartool: Error: Unable to remove baseline "gsm_INITIAL@/vobs/Project_wxc2".

% cleartool rmbl deliverbl.vard_teststream_8.2.20060613.073906@/vobs/Project_wxc2
Remove baseline "deliverbl.vard_teststream_8.2.20060613.073906@/vobs/Project_wxc2"?  [no] y
cleartool: Error: Cannot remove baseline that has been delivered.
cleartool: Error: Unable to remove baseline "deliverbl.vard_teststream_8.2.20060613.073906@/vobs/Project_wxc2".



© 本文为 sheng2006SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

可能是大家没耐心看拐角文字。

问题是这样的,当初试验时,创建了component, 测试了CO,  CI,  deliver, 等操作
现在要把这些component删除,怎么办?

提示说有baseline就不能删除 component。
有deliver操作就不能删除baseline。

CC就是这样设置的吗?还是有命令能删除的。

有知道的说一声,谢谢!



© 本文为 sheng2006SCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

需要将deliever,基线,这些都删除了,才可以删除组件.



© 本文为 lvtreeSCMLife 共同所有,未经同意,请勿转载 ©如该文侵犯了您的版权,请联系管理员

TOP

回复 #3 lvtree 的帖子

请指点,怎么删除deliver?

© 本文为 sheng2006 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

1.先列出baseline:
ct lsbl -component   compoent1@/opt/vobs/vob1
列出所有的baseline

2.删除除初始基线以外的所有baseline:
ct rmbl -f  baseline_name@/opt/vobs/vob1

3.删除component:
ct rmcomp -f component1@/opt/vobs/vob1

我试过是好用的,你可以根据自己的情况再试试~

© 本文为 没有蛀牙 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员
i生活,i音乐!

TOP

不行啊。
% cleartool rmbl deliverbl.qzhu_wxc2gsm_8.2_3.20060530.153044@/vobs/Project_wxc2
Remove baseline "deliverbl.qzhu_wxc2gsm_8.2_3.20060530.153044@/vobs/Project_wxc2"?  [no] y
cleartool: Error: Cannot remove baseline that has been delivered.
cleartool: Error: Unable to remove baseline "deliverbl.qzhu_wxc2gsm_8.2_3.20060530.153044@/vobs/Project_wxc2".


加-f 只是不用提示,还是不能删除

% cleartool rmbl -f deliverbl.qzhu_wxc2gsm_8.2_3.20060530.153044@/vobs/Project_wxc2
cleartool: Error: Cannot remove baseline that has been delivered.
cleartool: Error: Unable to remove baseline "deliverbl.qzhu_wxc2gsm_8.2_3.20060530.153044@/vobs/Project_wxc2".

[ 本帖最后由 sheng2006 于 2007-1-11 09:39 编辑 ]

© 本文为 sheng2006 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

可以用一下删除Deliver Baseline的方法,
没有蛀牙 给出的方法只能删除非DeliverBasline
具体方法如下:
首先获取这个baseline的详细信息
cleartool des -l baseline:Deliver_Baseline_Name@\PVOB_Name
注意:在实际使用时要将Deliver_Basleine_Name用实际的deliverbaseline替代,PVOB_Name用实际Basleine所在的PVOB替代,否则会有错误
在basleine详细信息中会有Hyperlink信息
用cleartool rmhlink删除这个Hyperlink
之后可以用cleartool rmbl删除deliver baseline

© 本文为 cuibz 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

之前我已经将VOB删除了,所以相应的Hyperlink也没有了,(详细见下面的提示信息)。
现在怎么办?

baseline "deliverbl.qzhu_wxc2gsm_8.2_3.20060530.153044"
31-May-06.06:30:07 by qiming zhu -sz (qzhu.sz@wxc2linux)
  "Baseline created by deliver on 05/30/2006 03:30:44 PM.
   "
  stream: qzhu_wxc2gsm_8.2_3@/vobs/Project_wxc2
  owner: qzhu
  group: sz
  component: gsm@/vobs/Project_wxc2
  label status: cleartool: Warning: Component "gsm" is invalid due to missing ComponentRootDir hyperlink; its component VOB may have been removed.
No Versions to Label
  change sets:
  promotion level: INITIAL
  depends on:

© 本文为 sheng2006 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

那你可以des baseline的看一下HyperLink

© 本文为 cuibz 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

这就是baseline的详细信息。
提示说Component "gsm" is invalid due to missing ComponentRootDir hyperlink; its component VOB may have been removed.



% cleartool lsbl -l deliverbl.qzhu_wxc2gsm_8.2_3.20060530.153044@/vobs/Project_wxc2
baseline "deliverbl.qzhu_wxc2gsm_8.2_3.20060530.153044"
31-May-06.06:30:07 by qiming zhu -sz (qzhu.sz@wxc2linux)
  "Baseline created by deliver on 05/30/2006 03:30:44 PM.
   "
  stream: qzhu_wxc2gsm_8.2_3@/vobs/Project_wxc2
  owner: qzhu
  group: sz
  component: gsm@/vobs/Project_wxc2
  label status: cleartool: Warning: Component "gsm" is invalid due to missing ComponentRootDir hyperlink; its component VOB may have been removed.
No Versions to Label
  change sets:
  promotion level: INITIAL
  depends on:
%

© 本文为 sheng2006 所有,未经同意,请勿转载
©如该文侵犯了您的版权,请联系管理员

TOP

发新话题