Questions tagged [clearcase]

ClearCase is a closed-source, centralized revision control system (VCS) from IBM. Among its features: per-file versions & branches; "snapshot" copies of versioned data as well as dynamically-synched views of server contents; replication. Decentralized option: ClearCase Multi-Site, with Vobs (Version Object Base) replication Network access to versioned data: dynamic views. It is currently managed by IBM (after being run by Rational)

ClearCase (a.k.a. Rational ClearCase) is version control system (VCS), available commercially from IBM.

Defining features

  • It is centralized rather than distributed: There is a central server (possibly replicated) holding the authoritative versions of data and their histories; a developer or user employs a client to access data on the central server, and cannot rely on other clients or on itself as an alternative to the server.
  • It is network-oriented: Version histories and other meta-data is not to be found in some hidden subfolder on the local file system, and manipulated through edits to those files. Any interaction with such histories is carried out over connections to the ClearCase server.
  • Versioning happens at file-level rather than repository-level. Thus, changes happen to individual files independently of others; when "viewing" a repository, one in fact sees a collection of different versions of many independent objects.
  • It is closed-source, only available under a restrictive license.

Additional notworthy features

  • Supports two kinds of access to repositories:

    • snapshot view: A local copy of (certain versions of) all files in a repository, pulled once from the server.
    • dynamic view: A dynamically-synched form of access to a repository, where all operations actually happen on the ClearCase server, and all writes and changes impact it.

    the distinction between the two view types is somewhat similar to the POP3 vs IMAP protocols in email, or NFS vs rsync'ed filesystems. In fact, dynamic views are implemented via operating system kernel integration of the ClearCase client.

  • A complex mechanism of choosing which versions and branches of which files are used in a view, through a cascading/fall-through chain of rules called a config-spec (view configuration specification). These also determine when ClearCase is to create new versions of some files, in the same or in a new b ranch.

  • Replication of the centrally-stored versioned data, for better robustness (the "MultiSite" feature), with various supported syncrhonization/replication patterns.

History

ClearCase was initially developed in the early 1990s by Atria software; Atria later merged into Rational Software; and Rational was eventually became a division of IBM, which bought it in 2003. ClearCase development/maintenance is ongoing, albeit slowly: over the past decade revisions have been released once a year or several years.

Online resources

2218 questions
68
votes
31 answers

ClearCase advantages/disadvantages

Because I'm currently struggling to learn IBM Rational ClearCase, I'd like to hear your professional opinion. I'm particularly interested in advantages/disadvantages compared to other version-control-systems like Subversion or Git.
B.E.
  • 5,080
  • 4
  • 35
  • 43
65
votes
7 answers

What are the basic clearcase concepts every developer should know?

What are the core concepts of the Clearcase version control system every developer should know?
user32262
  • 8,660
  • 21
  • 64
  • 77
51
votes
11 answers

Any way to use a custom diff tool with cleartool/clearcase?

I'd like to use my own diff when working in a clearcase snapshot view. As far as I can see, there is no way to specify a diff tool when running "cleartool diff", so I was thinking I could run something like "mydiff
chacmool
  • 1,357
  • 2
  • 16
  • 21
47
votes
10 answers

How can I use ClearCase to "add to source control ..." recursively?

I unpacked a zip-file delivery into a clearcase view. Now I want to add the complete file tree to the repository. The GUI only provides an "Add to source control ..." for individual files/directories. Do you know how to recursively add the whole…
Markus Schnell
  • 1,075
  • 1
  • 10
  • 13
41
votes
3 answers

How to bridge git to ClearCase?

I've recently used git svn and enjoyed it very much. Now I'm starting a new project at a different customer. At that site the SCM of choice is ClearCase. I haven't found a baked equivalent of git svn for ClearCase. Is there anybody who has tried to…
Bas Bossink
  • 9,388
  • 4
  • 41
  • 53
35
votes
2 answers

How to hook a method to the Edit event in Delphi 7 IDE?

I'd like to automatically checkout a file when I start to edit it in Delphi 7 IDE. ClearCase is my version control system and I really hate the need to checkout a file before starting to edit. It always breaks my thought flow: I'm trying to solve a…
neves
  • 33,186
  • 27
  • 159
  • 192
35
votes
5 answers

ClearCase vs. Git version control

We are using a multisite ClearCase repository, and often we require to merge and build our system. This merge and replication takes almost three days to be available across sites. Hence to be more efficient, we are planning to move to Git version…
Anant
  • 351
  • 1
  • 3
  • 3
31
votes
9 answers

Flexible vs static branching (Git vs Clearcase/Accurev)

My question is about the way in which Git handles branches: whenever you branch from a commit, this branch won’t ever receive changes from the parent branch unless you force it with a merge. But in other systems such us Clearcase or Accurev, you can…
jbhope
  • 313
  • 1
  • 3
  • 6
30
votes
6 answers

Command to find all view private files in the current directory recursively

What is the clearcase Command to find all view private files in the current directory recursively?
eeerahul
  • 1,629
  • 4
  • 27
  • 38
22
votes
4 answers

How do I integrate Beyond Compare with ClearCase?

I would like to integrate Beyond Compare with ClearCase so that I can use it for diffing and merging files, instead of the awful tools provided by ClearCase. Does anyone have instructions for performing this integration?
Dónal
  • 185,044
  • 174
  • 569
  • 824
20
votes
5 answers

How to find the files modified under a clearcase branch

I modified and checked-in a bunch of files under my branch. Now I need to get the list of files I modified. Is there any scripts to do so?
sarat
  • 10,512
  • 7
  • 43
  • 74
19
votes
2 answers

A clearcase equivalent of svn blame / git blame?

In Rational Software's Clearcase, is there a cleartool subcommand, or other command line tool, equivalent to the blame command in SVN or in git?
sarat
  • 10,512
  • 7
  • 43
  • 74
19
votes
4 answers

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

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…
JXG
  • 7,263
  • 7
  • 32
  • 63
18
votes
3 answers

How to list all my check-ins using ClearCase?

Is it possible to get a list of all the check-ins I've made within a given source code directory tree using cleartool? If possible I'd like to see when the check-in was made and the file version. I'm using Windows. Thanks in advance.
John Topley
  • 113,588
  • 46
  • 195
  • 237
17
votes
1 answer

Integration stream vs integration view in ClearCase

In clear case terminology, what is the difference between integration stream and integration view? Development stream and development view? More specifically, why "joining an UCM project" involves creating both integration and development views? If…
Victor
  • 16,609
  • 71
  • 229
  • 409
1
2 3
99 100