clearcase

Difference between branches and streams in ClearCase?

本秂侑毒 提交于 2019-11-27 02:46:40
问题 What is difference between branches and streams in ClearCase? 回答1: A branch is a classic versioning way to parallelize the history of versions for a given file: See "When should you branch" A Stream is not a branch : it is just a metadata able to memorize what baseline any view referencing that Stream will see. When you create a Stream, nothing happen (no branch is created). But a Stream name will be used when a file is checked out: any view will set its config spec in order to create a

Clearcase UCM is trying to merge pdf files

巧了我就是萌 提交于 2019-11-27 02:16:43
While delivering to integration stream , Clearcase UCM is trying to merge pdf files and fails. As PDF files no need to be merged, how to solve this? Is it a defect in Clearcase UCM? any work around is there or some policy settings needs to be set to solve this? If you don't want to merge a specific type of file, you can change its type to a "copy merge" policy (ClearCase will copy the source over the destination) cleartool find . -name '*.jar' -exec 'cleartool chtype "COPY_MERGE" $CLEARCASE_XPN' This is an improvement from the NEVER_MERGE presented in this IBM article , and is available in

How do I create a snapshot view of some project or stream in ClearCase?

Deadly 提交于 2019-11-27 02:13:17
I would like to get contents of some stream or project I can find in clearcase project explorer. VonC 2... 1 cleartool descr -l project:myProject@\myPVob with some grep, you have the list of components (writable or not) and policies. If you want only the Streams: cleartool lsproj -tree myProject@\myPVob You can repeat that for a Stream (to get the sub-streams) cleartool lsstream -tree myStream@\myPVob For the foundation baselines of a Stream: cleartool descr -fmt "%[mod_comps]CXp" stream:myStream@\ideapvob For the activities of a Stream: cleartool descr -fmt "%[activities]CXp" stream:myStream@

how to find out all the activities happend in a branch in the last month?

被刻印的时光 ゝ 提交于 2019-11-27 02:12:24
My problem is that The code in the branch I'm working in for some reason is corrupted now , but I didn't make any label in the branch so It's hard to "roll back" the code to a valid status. But I'm sure a month ago the code is in the quite healthy status , so I'd like to know all the activities happen in the branch in the last month then I can manully roll back each activity . So As title, could any one of you tell me how to list all the activities happend in a branch in the last month ? thanks in advance. VonC Do not forget the time directive of selection rule. element /myPath/... /main/{

Proper 'cleartool mkview' for ClearCase Snapshot view creation

南楼画角 提交于 2019-11-27 02:11:57
Good afternoon, Seems like I am somewhat stuck in CC-land these days, but I have one (hopefully) final question regarding proper CC-handling: When using the CC View Creation Wizard, I can create a proper Snapshot view on my machine perfectly fine, however when trying to do the same with the mkview command, it fails... Using the the view creation wizard results into the (working) following view: cleartool> lsview battjo6r_view2 battjo6r_view2 \\Eh40yd4c\Views\battjo6r_view2.vws cleartool> lsview -long battjo6r_view2 Tag: battjo6r_view2 Global path: \\Eh40yd4c\Views\battjo6r_view2.vws Server

ClearCase to Git migration

 ̄綄美尐妖づ 提交于 2019-11-27 02:01:57
We are working on converting our CC Vobs to GIT we have both base and UCM vobs, I have seen many topic with no clear steps. Is there any tool or steps that can keep history and branches? VonC No, there is no ClearCase to Git bridge, convertor or adaptor that I know of (retaining the full history, with all its events). It is best to: restrict a git repo to an UCM component (while a Vob can contain multiple component and be way too big for a Git repo to handle) add in a git repo only the last few baselines of a given components (see " Equivalent of the clearcase baseline and clearcase activities

How do I perform a recursive checkout using ClearCase?

怎甘沉沦 提交于 2019-11-27 01:29:55
I want to check out all files in all subdirectories of a specified folder. (And it is painful to do this using the GUI, because there is no recursive checkout option). Beware: ClearCase is File-centric, not repository centric (like SVN or CVS). That means it is rarely a good solution to checkout all files (and it can be fairly long with ClearCase ;) ) That being said, the question is perfectly legitimate and I would like to point out another way: open a cleartool session in the 'specified folder': c:\MyFolder> cleartool cleartool> co -c "Reason for massive checkout" .../* does the trick too.

How do I roll back a file checked in to Clearcase?

北城以北 提交于 2019-11-27 01:08:55
I have a file in my Clearcase repository. I checked it out and modified it, and then checked it back in. I haven't done anything like make a baseline, or rebase, or deliver in my stream/view. I regret having made the changes to this file--I should have undone the checkout, in retrospect. How do I roll back the modifications? (Or undo, or revert, or whatever the correct nomenclature is.) VonC What is described by skwllsp can be be done in a dynamic view through the use of extended pathnames cd m:/myDynamicView/MyVob/path/to/file cleartool lsvtree myFile cleartool checkout -c "cancel co" myFile

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

假装没事ソ 提交于 2019-11-26 23:33:07
问题 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 回答1: 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

How to find files asssociated with a ClearCase UCM activity?

风格不统一 提交于 2019-11-26 23:32:43
问题 Can someone help me with the following question: How can I find files that were checked in with some activity. For example: I am working on a view called syoffe_my_product_view and in the past I created an activity - BUG123_activity . Now I need to find all the files that were checked in with this activity What command/option do you recommend? 回答1: See cleartool lsactivity man page: cleartool lsactivity -l activity-id@\aPVob # (windows) cleartool lsactivity -l activity-id@/vobs/aPVob # (unix)