clearcase

Moving from ClearCase to Mercurial: your top tips?

We will soon start replacing ClearCase with Mercurial. I hear this is a good thing. The change model vs. the version model. Wave of the future. I'm prepared to believe this. Still, it kind of frightens me. Hey, it took Joel Spolsky a while to grok the difference and how to get maximum advantage out of Mercurial, so I'm betting I will run...

Activities In Rational ClearCase

Hello All, We are thinking of implementing Rational ClearQuest for Change Management and Defect tracking. When we integrate Rational ClearQuest and Rational ClearCase, the activities will be coming from the Rational ClearQuest. Now since the implementation of Rational ClearQuest will take time due to the process, we are thinking of rem...

Does ClearCase have a trigger for snapshot views?

It seems like the Trigger extensibility feature in ClearCase has to be attached to a VOB by the owner. I would like something similar that I can administer myself for my local snapshot views. Does such a feature exist? ...

delivery mechanism, Rational ClearCase

Hi All, We came up with a stream structure for the Rational ClearCase UCM model. Int -- Prd -- Uat -- Dev ---- Development Stream r1.0 We recently migrated the code base into the new setup. We had three different code bases, i.e. three physical code bases. Migration process: we moved the production code first, cr...

Continuous integration with ClearCase and long-updating snapshot views

Hi, I need to set up a continuous integration system. We use ClearCase version control and only snapshot views due to platform restrictions. I have tried setting up Hudson and Luntbuild. They both show the same behaviour. In a view, we have lots of libraries that are used for build but are strictly read-only. The CI system executes clea...

Eclipse: show SCCS diffs in overview ruler

Hi, I want Eclipse to show in the overview rules the diffs between what I have in memory (or on disk) and what's in ClearCase. I've set the preferences shown below, but it seems to be showing the diffs between what's in memory and what's on disk. In other words, every time I save, no diffs are shown. Does this feature only work if usi...

Visual Studio 8, PVCS or Rational ClearCase

We are currently using Visual Studio 8 with Visual Source Safe. Due to customer requirement, we must migrate to either PVCS or Rational ClearCase, Team System is not an option. Please recommend one of these two options, giving pros/cons from experience with each. How well does each integrate with Visual Studio 8? ...

ClearCase: Copy old versions with Snapshot Views under Windows

Using IBM Rational ClearCase: - I have only access to Snapshot Views so NO dynamic Views I want to copy ALL versions from a certain changeset to c:\temp. I have already listed the changeset versions in a file (couple of hundred of versions, I only need the latest one), I do not have a baseline over this older set. What I now have and d...

ClearCase - file system path to element path

Given a file system path such as "D:\pkirkham_view\VOB\Folder" or "U:\VOB\Folder\", is there a mechanism to get the path which would work in the config-spec to to load that folder "/VOB/Folder/" ? Either CAL or cleartool commands would be fine. This is to run on client machines with ClearCase LT installed. (I haven't found anything usab...

What characters are allowed in ClearCase activity name?

I want to write script for internal issue tracking system, integrated with ClearCase, that checks activity name (typed by user) for illegal characters. Unfortunatly, I can't find list of characters, allowed by ClearCase. Does anybody know where to get it? UPD: I'm looking for a link to a document, that specifies the allowed characters (...

What's the "proper" way to delete files from a ClearCase snapshot?

When I delete a file from my snapshot view, the next time I look at the snapshot in ClearCase Explorer, it shows the "??" checked-out-but-removed icon. When I run "Find Modified Files" on the snapshot, the deleted files aren't shown. Running "Update View" on the snapshot causes ClearCase to re-copy the missing files back into my view. W...

Clearcase - selective merge.

Hi, I have a peculiar Clearcase doubt. I cannot fully describe why I'm doing such a confusing architecture, but I need to do it (thanks to the mistake done by someone long back). Ok, here's a bit of detail: B1 is a contaminated branch where both my group's changes and another group's changes got mixed together so badly that there is no...

how to find the branch for a given label

I try to use: cleatool lstype lbtype:some_label but the output does not tell me which branch the label is in. So I need your help. ...

Query labels with a specific attribute in ClearCase

How can I query those of the labels in ClearCase with cleartool that have a specific attribute. I can list the labels with lstype -kind lbtype but I'd like to get only those that have an attribute called TestAttr. ...

Clearcase: findmerge usage.

Hi, I have a branch B1 and another branch B2. I want all files/subfolders (recursively) inside a particular folder X (and not on entire VOB) on B1 to be merged onto B2. What exact findmerge command do I need to use? The below commands will work for entire vob or if I run them by getting into the directory in question, that will suffic...

how find objects between two labels in clearcase

Hi , I would like to get all sources/objects between two releases that happened within a month from clearcase. I wrote the below command and it displays only less number of sources compared to the actual one. Please advive where I am wrong cleartool find <path> -element "lbtype (Label b) && ! lbtype(label a) && ! -element (.../Branch1/...

how to find files in a given branch

I noticed that when doing code view, people here in my company usually just give the branch in which his work is done, and nothing else. So I guess there must be a easy way to find out all the files that has a version in the given branch which is the same thing to find all the files that has been changed. Yes, I don't know the expected...

How do I list Clearcase versions without the Fully-qualified verison?

In Clearcase: I'm trying to find the names of all files in the current view without a specific label. So far I've come up with the following: cleartool find -cview -all -version '\!lbtype(LABEL_1)' -print But this ends up displaying the filenames with the "@@/main/BRANCH1/SUBBRANCH" appended to the end, and I really want just the file...

Can we make one of the Existing PVOBs a ADMIN VOB?

Our ClearCase structure, as it exists now, has several PVOBs. But they do not share a ADMIN VOB. Is there a way to make one of them an Admin VOB, so that all the PVOBs can share components? Any help is appreciated. ...

Unable to update the snapshot view in clearcase on linux

Hi I am trying to create a new snapshot view on my machine and i am using the following procedure: creating the view using ct mkview -snapshot -tag testview -vws /home/store/testview.vws /home/view/testview here the view gets created but fails to register which i register using the ct update on this /home/view/testview location tr...