cleartool

Display Current Baseline with Cleartool

拈花ヽ惹草 提交于 2019-12-17 20:39:50
问题 How can I view the baseline on which the current view is based? I could find information only on how to view the currently recommended baseline for a stream cleartool desc -fmt %[rec_bls]CXp stream:myProject_Int@\myProject_pvob #This gives the currently recommended baseline for the stream Basically what I am looking to do is update the Build Notes. 1. Determine the baseline on which the last rebase was done 2. Determine the current recommended 3. Make a list of activities that have been

How to find all checkedout files with ClearCase cleartool?

。_饼干妹妹 提交于 2019-12-17 18:19:01
问题 I'm trying to setup our ClearCase with Hudson for a continuous integration (and deployment later). I finally got a UCM view for the build, but unfortunatly our build process checks out files to store the build number. Now the build broke and the file is still checked out, preventing the next build . I already now about cleartool find . -type f , but I can't figure out how to find checked out files. I know the syntax of UNIX' find, so that isn't a problem. Can someone point me to a

how to find root[folder] for each component using cleartool?

放肆的年华 提交于 2019-12-17 16:53:38
问题 How to find root folder in which a component is associated? I am able to find it manually through project explorer -> Components-> properties How to do it using cleartool command. I need it as i need to create config spec which can be applied in base clearcase view and view the UCM view contents. 回答1: Have a look to the options of "Format strings for command output" (fmt_ccase): cleartool descr -fmt "%[root_dir]p" component:aComponent@\aPVob You can get that way to root directory (usually

List the latest baseline of a component in a UCM stream one by one

↘锁芯ラ 提交于 2019-12-17 09:57:10
问题 I need to list the latest baseline for each component in a clearcase UCM stream one by one. I am aware of the "%[latest_bls]p" option used with -fmt . The problem is that it lists all the latest baselines for all components together. What I need is, given component name C and stream name S, display the latest baseline for component C in the stream S. Thanks for your help. 回答1: If you consider the fmt_ccase options, %[latest_bls]CXp will always list the latest baseline for all components of a

List the latest baseline of a component in a UCM stream one by one

给你一囗甜甜゛ 提交于 2019-12-17 09:57:09
问题 I need to list the latest baseline for each component in a clearcase UCM stream one by one. I am aware of the "%[latest_bls]p" option used with -fmt . The problem is that it lists all the latest baselines for all components together. What I need is, given component name C and stream name S, display the latest baseline for component C in the stream S. Thanks for your help. 回答1: If you consider the fmt_ccase options, %[latest_bls]CXp will always list the latest baseline for all components of a

How to list only the name of the baselines in UCM ClearCase?

烈酒焚心 提交于 2019-12-13 12:12:24
问题 If I do: cleartool lsbl -stream stream:mystream@\mypvob That will lists the baselines with details. But I want to list only the name of the baselines. Is there anyway I can do that? 回答1: You can use the fmt_ccase options in order to format the result of a cleartool lsbl command. cleartool lsbl -fmt "%n\n" -stream stream:mystream@\mypvob 回答2: Here two examples in python, found on snip2code.com 1) Get the foundation baseline of a stream import os working_stream = "myStream" pvob = "MyVobs"

How to make cleartool tell if source is modified since last baseline

倖福魔咒の 提交于 2019-12-13 00:23:23
问题 For build logging, I am able to obtain the current stream and last baseline by means of cleartool (as detailed in "How to obtain UCM stream and baseline with cleartool"). But this is only unambiguous if I can also tell that no changes were made since the last baseline. So: how can I make cleartool tell me if changes have been applied since the last baseline? Bonus question: does ClearCase terminology have a name for this (whether or not the baseline is "untouched")? 回答1: To see if a stream

Script for recursive add-to-source control: How to ignore specific files and folders

我只是一个虾纸丫 提交于 2019-12-11 11:25:56
问题 I have this problem that has been bugging me for quite some time now. It is perhaps best explained by referring to the following (well-known) script: @rem= 'PERL for Windows NT -- ccperl must be in search path @echo off ccperl %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl @rem '; ########################################### # Begin of Perl section $start_dir = $ARGV[0]; # # Fixed variable # $S = "\\"; $list_file = "c:".$S."list_file"; $list_add = "c:".$S."list_add"; $choosed = "c:".$S."choosed"

Cleartool lsco -avo -cview equivalent on SVN

不羁的心 提交于 2019-12-11 10:07:58
问题 What is the equivalent command on SVN as cleartool lsco -avo -cview -me ? Thanks! 回答1: Simply svn status I believe. cleartool lsco -avo -cview -me Is for listing all currently checked out files ( lsco ) in the current view ( -cview ), by the current user ( -me ) If you were to do an svn status in an svn workspace (which is the equivalent of a ClearCase snapshot view), you would get the current modified files as well. See "svn list of files that are modified in local copy" for other options.

ClearCase: Stop making baseline if there are checkouts

白昼怎懂夜的黑 提交于 2019-12-11 07:56:35
问题 I'm using cleartool to make baselines in my stream, using cleartool mkbl -full <baseline-name> If I have files checked out in my view (in my case, always an oversight), I get the warning cleartool: Warning: There are checkouts in view "<JXG-view-name>". But as this is just a warning, cleartool continues with making the baseline. What I need to do is stop immediately when given this warning. How can I abort the command automatically when I get this warning? I thought it would be a cleartool