top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How we can delete Child Development Stream which has been created wrongly in UCM Clear case?

+1 vote
1,077 views
How we can delete Child Development Stream which has been created wrongly in UCM Clear case?
posted Feb 26, 2015 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

For removing DEV stream please follow below steps:

Step 1: Ensure it is a stream you created yourself (e.g. that you own).
Step 2: If there's an attached view to the stream, the view needs to be deleted first.
Step 3: If the attached view has activities, they need to be deleted first.
Step 4: If the activities have files checked in, they need to be discarded from the activity first.
Step 5: Once all of this check list is completed, you can delete your empty stream: While your empty stream is selected, click on "File" on the upper left corner, and select "Delete".

If I remember right, you can probably also use the "Delete" key on your keyboard.

Example:

Remove a stream that has a view attached to it.

Issue the rmstream command. You are told that the stream cannot be removed because a view is still attached to it:

cmd-context rmstream -f html_parser_int 

cleartool: Error: Cannot remove stream that has a view ("html_parser_int_view") attached to it.
cleartool: Error: Unable to remove stream "html_parser_int".

Display a description of the stream to see what views are associated with it:

cmd-context describe stream:html_parser_int stream "html_parser_int"

created 11-Sep-99.11:27:01 by JFMuggs
owner: jfm
group: user
project: html_parser
title: html_parser_int
contains activities:
foundation baselines:
views:
html_parser_int_view

Remove the view:

cmd-context rmview -tag html_parser_int_view 

Removing references from VOB "/usr1/tmp/foo_project" ...
Removed references to view "/net/propane/usr1/tmp/html_parser_int.vws" from VOB "/usr1/tmp/foo_project".

Reissue the rmstream command:

cmd-context rmstream -f html_parser_int

Removed stream "html_parser_int".

answer Feb 26, 2015 by Kali Mishra
...