cleartool

ClearCase moving triggers scripts to another location

天大地大妈咪最大 提交于 2021-02-11 14:27:48
问题 I have to move the trigger's scripts from one server to another, on both linux and windows. As far as i know i have to use the ct mktrtype command with the -replace parameter, I've read on IBM web site that i have to use the same command that was used to create those triggers. How can i identify the command that was used. Here is part of my triggers: trigger type "REMOVE_EMPTY_BRANCH" 2007-11-27T15:29:00+02:00 by vobadm.ccusers@tlv-vob2 "Automatically remove empty branches" owner: ARRS\vobadm

Cleartool - How to rebase and leave just one component in the stream

爷,独闯天下 提交于 2021-02-08 05:29:19
问题 I would like to know if there is a command in cleartool to rebase a specific component and take out the other component that is not necessary? For instance, at ClearCase project, you have the option to rebase the baseline by component, and you also can remove the component you don't need by click on Remove button. Thus, once you remove it, the code for this component won't be there after you complete the rebase. The command that I use to rebase a baseline is: rebase -bas 'baseline code'

How to obtain previous baseline from stream

谁说我不能喝 提交于 2020-05-28 04:09:27
问题 I can retrieve latest baseline which is always recommended in my case using following command "cleartool desc -fmt \"%[rec_bls]CXp\" stream:".$SourceStream."\@\\".$pvob I want to retrieve second latest baseline.Is it possible to obtain previous baseline from a given stream using cleartool command? previous applied baseline on any given component will also works.I need this to get difference between two streams from different projects which can be done by following command. "cleartool diffbl

How to obtain previous baseline from stream

泄露秘密 提交于 2020-05-28 04:08:39
问题 I can retrieve latest baseline which is always recommended in my case using following command "cleartool desc -fmt \"%[rec_bls]CXp\" stream:".$SourceStream."\@\\".$pvob I want to retrieve second latest baseline.Is it possible to obtain previous baseline from a given stream using cleartool command? previous applied baseline on any given component will also works.I need this to get difference between two streams from different projects which can be done by following command. "cleartool diffbl

Unable to get latest of a Web view on local machine

守給你的承諾、 提交于 2020-01-14 05:21:10
问题 I am trying to take latest using cleartool update command but it throws an error saying " abc " is not a valid snapshot view path, maybe because mine is not a snapshot view but rather a Web view. How can I get latest of Web view? My view is C:\CCRC\WKB Actual view on server looks something like //aet/ccase/vws1/s123/dev.po.vws How should I write the command to get the latest Web view? 回答1: As mentioned in "About ClearCase views" A web view is a copy-based ClearCase view that is tolerant of

Clearcase config spec behaves odd when using setcs command

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-11 10:22:17
问题 I have config spec stored in a text file . Following are the content element * CHECKEDOUT element ...\lost+found\... -none element \My\... MYF_R2.1.0.9.5179 element \My\... My_2.1.0.13.4875 element \My\... MyComponents_8_8_2011.6859 element \My\... My_2.1.0.13.7098 element \My\... My_2.1.0.13.8206 element \My\... My_2.1.0.13.433 element \My\... My_2.1.0.13.423 element \My\... My_2.1.0.13.3763 element \My\... My_2.1.0.13.5983 element \My\... My_2.1.0.13.7095 element \My\... My_2.1.0.13.5986

cleartool: How to list all labels in a stream chronologically?

孤人 提交于 2020-01-11 06:16:14
问题 I want to list all the labels applied to a stream in a chronological order. Ideally, I would like one like the following for each label: <label> <timestamp> <userid> I looked at few questions. The command ct lstype -kind lbtype -invob . -short from the question "Clearcase: List labels matching a particular string" appeared promising, but it lists the labels that were applied in the ancestor streams. I do not want that, I want only the labels that are applied to the current stream. I feel that

clearcase ucm baseline

为君一笑 提交于 2019-12-29 09:22:13
问题 Is there any way to get the composte baseline information from the current view in command line . I am using the comand in my script. It's displaying the list of the commands which include composite and ovverride component baselines in my view . cleartool lsstream -fmt "%[found_bls]NXp\n" -view $VIEW_NAME I need only the composite baseline as output for my command. Is there any command to findout the composite baseline in current view ? pls help . 回答1: I guess your composite baselines are

clearcase ucm baseline

两盒软妹~` 提交于 2019-12-29 09:22:07
问题 Is there any way to get the composte baseline information from the current view in command line . I am using the comand in my script. It's displaying the list of the commands which include composite and ovverride component baselines in my view . cleartool lsstream -fmt "%[found_bls]NXp\n" -view $VIEW_NAME I need only the composite baseline as output for my command. Is there any command to findout the composite baseline in current view ? pls help . 回答1: I guess your composite baselines are

clearcase: Backup for only modified checked-out elements in all views

大城市里の小女人 提交于 2019-12-24 17:22:32
问题 Having a regular size-efficient backup for only the modified checkedout elements in all views would be a great thing for us, since a great deal of the defined dynamic/snapshot views cannot be included in the daily backup policy. The following ksh code is near to what we would need for a dynamic view, but it trivially assumes that the first line in the config-spec file for the view always selects the checked-out element first ( *element * CHECKEDOUT* ). It will not work well in general. For