Needless to say that, to remove a stream from ClearCase, the stream must be "clean", no views, no activities, no baselines, etc. In my previous blog, I have demonstrated how to remove an activity that has change set. Today, I am going to show you how to remove a baseline that has been delivered.
Try to remove a stream with baseline on it. Got errors.
$ cleartool rmstream CBFE14.5_base_hz18@/vobs/CBFEProjects
Remove stream "CBFE14.5_base_hz18@/vobs/CBFEProjects"? [no] y
cleartool: Error: Cannot remove stream that has baselines.
cleartool: Error: Unable to remove stream "CBFE14.5_base_hz18@/vobs/CBFEProjects".
Check which baselines are on the stream.
$ cleartool lsbl -stream CBFE14.5_base_hz18@/vobs/CBFEProjects
2007-12-04T13:22:38-05 deliverbl.CBFE14.5_base_hz18.20071204.132426 HZ18 "deliverbl.CBFE14.5_base_hz18.20071204.132426"
stream: CBFE14.5_base_hz18@/vobs/CBFEProjects
component: MidTier@/vobs/CBFEProjects
Try to remove the baseline. Got errors.
$ cleartool rmbl deliverbl.CBFE14.5_base_hz18.20071204.132426@/vobs/CBFEProjects
Remove baseline "deliverbl.CBFE14.5_base_hz18.20071204.132426@/vobs/CBFEProjects"? [no] y
cleartool: Error: Cannot remove baseline that has been delivered.
cleartool: Error: Unable to remove baseline "deliverbl.CBFE14.5_base_hz18.20071204.132426@/vobs/CBFEProjects".
$ cleartool desc -l baseline:deliverbl.CBFE14.5_base_hz18.20071204.132426@/vobs/CBFEProjects
baseline "deliverbl.CBFE14.5_base_hz18.20071204.132426"
created 2007-12-04T13:22:38-05 by Zhao (HZ18.cbfedev@CBAD3-XCIDVQ)
"Baseline created by deliver on 12/4/2007 1:24:26 PM.
"
owner: hz18
group: cbfedev
stream: CBFE14.5_base_hz18@/vobs/CBFEProjects
component: MidTier@/vobs/CBFEProjects
label status: Not Labeled
change sets:
promotion level: INITIAL
depends on:
Attributes:
PromotionLevel = "INITIAL"
Hyperlinks:
Integrate@13500@/vobs/CBFEProjects -> anyactivity:timeline071204.132453@/vobs/CBFEProjects
The hyperlink looks suspecious.
$ cleartool rmhlink Integrate@13500@/vobs/CBFEProjects
cleartool: Warning: Hyperlinks of type "hltype:Integrate@/vobs/CBFEProjects" are used to implement UCM and should not be directly manipulated unless directed by customer support.
cleartool: Warning: Hyperlinks of type "hltype:Integrate@/vobs/CBFEProjects" are used to implement UCM and should not be directly manipulated unless directed by customer support.
Removed hyperlink "Integrate@13500@/vobs/CBFEProjects".
Oops, there is a warning message. However when you see the warning, it is already too late. The hyperlink removed. Now you can try to remove the baseline.
$ cleartool rmbl deliverbl.CBFE14.5_base_hz18.20071204.132426@/vobs/CBFEProjects
Remove baseline "deliverbl.CBFE14.5_base_hz18.20071204.132426@/vobs/CBFEProjects"? [no] y
cleartool: Warning: Searching PVOBs for baselines that depend upon baseline "deliverbl.CBFE14.5_base_hz18.20071204.132426". This may take a few minutes...
Removed baseline "deliverbl.CBFE14.5_base_hz18.20071204.132426@/vobs/CBFEProjects".
Now the stream is "clean" to be removed.
$ cleartool rmstream CBFE14.5_base_hz18@/vobs/CBFEProjects
Remove stream "CBFE14.5_base_hz18@/vobs/CBFEProjects"? [no] y
Removed stream "CBFE14.5_base_hz18@/vobs/CBFEProjects".
12 comments:
Thanks A LOT for this article!!!
I solved my problem following your guidelines.
I randomly discovered your blog through a google search, but now I'll read all your past, present and future posts!!!
Thanks muchly for this great info. Helped to solve my problem. Great.
Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!
Good brief and this fill someone in on helped me alot in my college assignement. Thanks you on your information.
very useful read. I would love to follow you on twitter.
Nice post and this mail helped me alot in my college assignement. Gratefulness you for your information.
Genial brief and this mail helped me alot in my college assignement. Say thank you you as your information.
Good dispatch and this mail helped me alot in my college assignement. Gratefulness you seeking your information.
Unfortunately this doesn't work anymore for ClearCase 7.1.1. The warnings have been replaced with errors:
%> cleartool rmhlink Integrate@1034667@\mypvob
cleartool: Error: Hyperlinks of type "hltype:Integrate@\mypvob" are used to implement UCM and cannot be directly manipulated.
cleartool: Error: Unable to remove hyperlink "Integrate@1034667@\mypvob".
Thanks for updating the 7.1.1 change!
Li
www1126
nike outlet factory
pandora charms
ralph lauren polo
ray ban sunglasses
manolo blahnik
louboutin shoes
ugg outlet
christian louboutin
canada goose outlet
louboutin shoes
michael kors factory outlet
yeezy
ferragamo belts
kd 11
hermes online
yeezy
balenciaga shoes
kobe shoes
jordan 11
yeezy boost 350
Post a Comment