clearcase

how to create a branch in clearcase with GUI operation only?

天大地大妈咪最大 提交于 2019-11-29 02:13:20
I searched for a while and tried to find a way to create a branch in clearcase, but cleartool commands are used in all the articles I found. I'm just curious that is there any other way to use GUI operation only? Of course, you can create a branch through the GUI. If you are using UCM: you can open the ClearCase project explorer, define a new stream, create a view on it, open the ClearCase explorer checkout any file and select its version tree You will see a new branch created for that file If you are using base ClearCase open your ClearCase Explorer select "properties" on your view modify the

Find changes between labels

…衆ロ難τιáo~ 提交于 2019-11-29 00:07:40
Using cleartool I am able to find all the files associated with a label using something like: ct find -avobs -version "lbtype (Build-Label)" -print How do I find all objects changed (including adds and deletes) between two labels? In ClearCase (under Administration in my install) there is Report Builder. Under Elements/Labels you can select either "Elements Changed Between Two Labels" or "Versions Changed Between Two Labels" depending on which you need. You can then select the path to analyze and select the two labels to compare. After the process runs you have the option to save the results

How to retrieve the list of files modified across base lines in clear case

六月ゝ 毕业季﹏ 提交于 2019-11-28 13:59:19
I need to retrieve a list of all the files that have been checked-in across baselines along with the owner name. I tried using the cleartool lsact command : However, this command fetches just for one task and is a bit cumbersome to use. Is there a command which will retrieve all the tasks if I specify two baselines? Thanks VonC A command like: cleartool diffbl -act bl1@\apvob bl2@\apvob will give you the list of activities which have new versions between baselines bl1 and bl2. However, to get the list of files (ie elements, as in files or directories, and not versions as in all the updated

Is clearcase path is a standard one — '@@' and string after that

半城伤御伤魂 提交于 2019-11-28 13:03:34
is the clearcase path syntax is universal one. my_source.c@@\main\10.1_bugfix\another_branch\0 is this path is standard one? I invoked the following in emacs and it is working. how does emacs diff understand this path. somehow clearcase informs operating system how to interpret that path. or emacs-diff know of this path syntax? $ diff my_source.c@@\main\10.1_bugfix\another_branch\0 my_source.c VonC This is an extended path . It is working with dynamic views , which give access to the branches and versions of an element. See " Base ClearCase path meaning ". In your case, you access the version

Config spec in rational clearcase

有些话、适合烂在心里 提交于 2019-11-28 13:01:52
I am so much new to these clear case tool.I am learning because i have a project to work on. i just learned the default config spec is element *CHECKEDOUT element */main/LATEST So the new version is created in the main branch after the previous version. But I have been trying these, and I just changed my config spec to these element *CHECKEDOUT element */main/2 After those settings, when I click the file it says " file not found ": I cannot check in or check out. And then I changed to default config spec its working again. Whats wrong? Also tell me these How can I go to a version 4 to create a

Clearcase command to export an element

亡梦爱人 提交于 2019-11-28 13:00:19
Is there any command in clearcase which I can use to export a paricular version of a file? (i.e. an element). I am doing a find label with a given label (using ct find . -ver lbtype(label) -cview -print command) and want to export the elements returned by the find label to hard disk. cleartool get could work (in a snapshot or dynamic view). get –to C:\build\foo.c.temp \dev\hello_world\foo.c@@\main\2 You would need a script though, to extract from the %CLEARCASE_PN% the file name, and then pass to said script %CLEARCASE_XPN% (both variables are set by the cleartool find command) That script

CLEARCASE_XPN not parsed as variable in clearcase command

。_饼干妹妹 提交于 2019-11-28 12:54:17
I meet a problem that when I run clearcase command: ct find . -branch 'brtype(my_branch)' -exec "echo %CLEARCASE_XPN%"` %CLEARCASE_XPN% not parsed as a variable and the output is: %CLEARCASE_XPN% %CLEARCASE_XPN% %CLEARCASE_XPN% ... But I'm sure CLEARCASE_XPN is the variable denotes the whole path of the found file. Can anybody help? OS is linux, shell is tcsh, thanks! Use: ct find . -branch 'brtype(my_branch)' -exec 'echo $CLEARCASE_XPN' %CLEARCASE_XPN% is a windows syntax. $CLEARCASE_XPN is the unix syntax, that you can use in your Linux tcsh session. See " cleartool find " and " Additional

How to use CCRC to get old file versions?

二次信任 提交于 2019-11-28 12:54:13
I'm trying to use CCRC API in order to get, for instance, all versions for a specific file and get some old file version. I've tried to use CHILD_LIST, CHILD_MAP, tried to use CcFile.getVersion().getPredecessor() and then use CcFile.doReadProperties(...) but it seems that the location is remote and then is not possible to get the file using for example getClientPath(). I already saw that is possible to retrieve all versions for a specific file using CCRC plugin and select a specific version clicking in the version three. Does anybody have some example how to retrieve this version without

Get all versions from a specific time - ClearCase UCM

拥有回忆 提交于 2019-11-28 12:52:00
We are using ClearCase UCM, and someone asked me if there is a way to get all of the versions from a specific time. Example: Work is being done on a development stream. Someone broke the build, but the previous baseline is too far back and we would lose too much work. They would like to get the versions of every file that was there from last Thursday at 11:00am. Is this possible, even if it hasn't been baselined at that specific time? Is there a way to revert back to that specific time? (I searched for a similar topic, but most of them were "versions created since...") VonC The "created_since"

Display Current Baseline with Cleartool

戏子无情 提交于 2019-11-28 12:43:05
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 delivered. I was able to find the information to do steps 2 and 3, but not for step 1. Maybe I'm not using