cleartool

ClearCase: Version-extended pathname in a baseline

橙三吉。 提交于 2019-12-24 11:08:28
问题 Is it possible to obtain the version-extended pathname of an element that belongs to a baseline? For example, if I have a file name /vobs/myproj/mydir/myfile.txt and a baseline bl_rc11 in a UCM project, is there a cleartool subcommand that will retun the version-extended pathname of /vobs/myproj/mydir/myfile.txt that belongs to bl_rc11 ? 回答1: This should print the extended pathname of any myfile.txt with the right baseline cleartool find . -name 'myfile.txt' -version 'lbtype_sub(bl_rc11)'

cleartool lsstream -tree get only list of child streams

六眼飞鱼酱① 提交于 2019-12-24 09:49:57
问题 I want to list get list of child streams under a given stream. cleartool lsstream -tree gets all streams and activities under it. How can print only the stream-names? 回答1: Use fmt_ccase to mention exactly the kind of information you want: cleartool describe -fmt "%[dstreams]CXp" stream:myStream@\myPVob That would give you one line of: stream:streamA@MyPvob, stream:streamC@MyPvob, stream:streamC@MyPvob, ... So there would still be a bit of processing to do, but at least you would have only

Config spec of the clearcase vi

柔情痞子 提交于 2019-12-24 07:25:48
问题 I would like to know if below my need is possible in clearcase : Say , I have 15 different views ( Dynamic or Snapshot ) created ( from different users/developers ), I want get the "config spec" using some kind of cleartool command (Without having to right click on the view and select the configspec from windows context menu). Finally I would like to store/track all the config spec's from all the developers and apply the continuous integration (Hudson) build on all those config spec's. Yes ,

How to make check-outs be unreserved by default using ClearCase command line tools

我是研究僧i 提交于 2019-12-24 05:39:09
问题 Is there a way to make cleartool checkouts unreserved by default? Perhaps a ~/.cleartool file or some environment variable? I understand the default can be set on the VOB (or all VOBs), but that option is beyond my control. The ClearCase version I'm using is: $ ct -version ClearCase version 7.0.1 (Wed May 30 17:04:58 EDT 2007) 7.0.1.0-RATL-RCC-IFIX01 (Wed Sep 19 16:08:10 EDT 2007) @(#) MVFS version 7.0.1.0-IFIX01 (Thu Sep 6 20:09:08 2007) built at $Date: 2009-12-08.14:59:16 (UTC) $ cleartool

How to filter the baselines(UCM) alone from describe command?

笑着哭i 提交于 2019-12-24 00:30:09
问题 As we are having many components , I am trying to describe all the baselines using following command cleartool describe -l baseline:Baseline_2.1.0.13@\My_PVOB It provides output like follows "Build 13" master replica: My_PVOB@\My_PVOB owner: Admin group: ABC stream:Components_Integration@\My_PVOB component: Baselines@\My_PVOB label status: No Versions to Label change sets: promotion level: INITIAL depends on: Baseline_2.1.0.13.8206@\My_PVOB (Comp1@\My_PVOB) Baseline_2.1.0.13.433@\My_PVOB

How to find which CRs in clearcase modified given lines in source code file (like 'git blame -L' does)?

本小妞迷上赌 提交于 2019-12-23 03:58:21
问题 I have tried to find a way in clearcase , using cleartool to identify CRs - which introduced specific lines in source code for a given file. I'm looking for equivalent or very similar functionality to: git blame -L <line_num1>,<line_num2> <filename> , which is documented at git blame . Is it possible to query clearcase repository to retrieve this information ? I can grep trough all visible file branches, but this is not exactly what I'm searching for. Thanks in advance. 回答1: The main command,

cleartool: Error: “Unable to transfer a file: Permission denied”

房东的猫 提交于 2019-12-23 03:33:06
问题 I have a stream ClearCase (UCM) stream. The snapshot view update started failing with error. cleartool: Error: Unable to access "C:\views\qe-lis_2014.1\ctools_src\src\chsboot\test\exe\jcechecksumtest.exe.loading": Permission denied. cleartool: Error: Unable to transfer a file: Permission denied. cleartool: Error: Unable to copy "c\cdft\b\1f\65a681eb2ed247f7850957f17516b8cd" to "C:\views\qe-lis_2014.1\ctools_src\src\chsboot\test\exe\jcechecksumtest.exe.loading": Permission denied. cleartool:

rebasing a set of baselines

谁说我不能喝 提交于 2019-12-23 03:11:26
问题 I want to rebase a set of baselines.Separating each baseline to be mentioned in the rebase command with a comma is one option and the other is to take each and every baseline separately and give the rebase -baseline [name of baseline] - complete command as many number of times as the there are number of baselines, both of which are time consuming. Is there a way to rebase quickly with least effort? 回答1: One cleartool rebase command, with baselines separated by coma, is certainly quicker. Note

How to find new undelivered files for a given UCM “stream”

安稳与你 提交于 2019-12-23 02:26:46
问题 We use UCM for development. We create streams under streams, like this Question is how to find new files in a given stream. In the example " feat1 " would have new files relative to its parent lis1 (lis=local integration stream). The new files could be from " feat1 " or its child streams like " developer1 ". How could I identify new files in lis1 ? One option is to create dynamic views on a stream (say feat1) and its parent stream(lis1) and take diff and figure out files new in the child

Why is my working directory view empty?How to set the working directory view

妖精的绣舞 提交于 2019-12-23 01:57:10
问题 Why is my working directory view empty? How to set the working directory view Working directory view: ** NONE ** How to set it? [shibanis@linuxserver206 C-T3-P-fad-viewstore7]$ ct pwv Working directory view: ** NONE ** Set view: hdbu_iop_shibanis_vu And: View details:[shibanis@linuxserver206 C-T3-P-fad-viewstore7]$ ct lsview -long hdbu_iop_shibanis_vu Tag: hdbu_iop_shibanis_vu "san to nas storage" Global path: /net/in0oianas002/in0oianas002_SAS_U1/C-T3-P-fad-viewstore7/hdbu_iop_shibanis_vu