clearcase

How to bridge git to ClearCase?

廉价感情. 提交于 2019-11-26 05:52:12
问题 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 use git locally as a front-end to ClearCase using some tricks, configuration or scripting with any measure of success? If so can you please explain the method used? 回答1: Here's a method that avoids hijacks, which our team used this method quite

In ClearCase, how can I view old version of a file in a static view, from the command line?

十年热恋 提交于 2019-11-26 02:58:58
问题 In a static view, how can I view an old version of a file? Given an empty file (called empty in this example) I can subvert diff to show me the old version: % cleartool diff -ser empty File@@/main/28 This feels like a pretty ugly hack. Have I missed a more basic command? Is there a neater way to do this? (I don\'t want to edit the config spec - that\'s pretty tedious, and I\'m trying to look at a bunch of old versions.) Clarification : I want to send the version of the file to stdout, so I

What is the difference between Full baseline and Incremental baseline in Clearcase UCM?

巧了我就是萌 提交于 2019-11-26 02:15:29
问题 I have applied full baseline for my release. for ex. Baseline \"MYProj_2.0.0.20\". Then testing team found some major issue. To fix that development team has delivered few changes. After completing the build , I have applied the same baseline again \"MYProj_2.0.0.20. But this time i have applied Incremental baseline. As per UCM, the baseline MYProj_2.0.0.20 was turned as MYProj_2.0.0.20.3452 (some random number at end to made it unique). Now If i consider MYProj_2.0.0.20.3452 as release

Evil twin problem and subtractive merge

两盒软妹~` 提交于 2019-11-26 02:13:44
问题 Could anyone explain what is a Evil Twin and Subtractive merge in Clearcase? 回答1: Evil Twin An Evil Twin is an element that you have removed (using rmname) and want to re-add, but it's 'evil twin' exists in previous versions of the directory. You have to remember that each element had a unique ID, so you are attempting to add an element with the same name - but with a different UID. This is not allowed. The best way to deal with an Evil Twin is to relink the newest version you can find of the

Python and ClearCase setview

为君一笑 提交于 2019-11-26 01:38:12
问题 I would like to set to a clearcase view from a python script, and then execute commands within that view. I have tried using various methods outlined here: subprocess but I have not had any success. Does anyone know how to accomplish this? 回答1: I wouldn't recommend setting a view, because setview itself spawn a new process. I really prefer working with /view/viewTag/aVob/... after starting the view ( cleartool startview viewTag ) The "spawn process" issue makes the all thing too complex in my

What are the differences between a snapshot view and a dynamic view?

十年热恋 提交于 2019-11-25 23:59:42
问题 I have seen in ClearCase that there is a Snapshot view and a Dynamic view. What are the differences between these types of views (I\'m assuming there are only two types of views) and when are the appropriate times to use them? 回答1: Snapshot views are based on the local filesystem (like a workspace in Subversion): you load files anywhere you want on your hard drive you have to ' cleartool update ' to refresh its content Dynamic views are based on network content: they represent the dynamic (as

What are the basic clearcase concepts every developer should know? [closed]

对着背影说爱祢 提交于 2019-11-25 23:57:20
问题 What are the core concepts of the Clearcase version control system every developer should know? 回答1: Core concepts? centralized(-replicated) VCS : ClearCase is halfway between the centralized VCS world (one or several "centralized" repos or VOBS - Version Object Bases - every developer must access to commit) and the distributed VCS world. But it also supports a "replicated" mode allowing you to replicate a repo in a distant site (MultiSite ClearCase), sending deltas, and managing ownership.

Why can't Perl find my file that is in ClearCase?

房东的猫 提交于 2019-11-25 23:38:14
问题 This piece of Perl is telling me that a file in ClearCase doesn\'t exist when it does; $x = \"PATH/TO/FILE\" if (-e $x) { print \"This file exists on the file system\"; } else { print \"I can\'t see this file\"; } Has anyone seen this before? Some files return fine. Got me stumped. Clearcase view is dynamic, hosted on unix. This piece of code is returning that a file exists and another doesn\'t when they are in the same folder on the same view. 回答1: Clearcase stores its 'files' as directories

How can I use ClearCase to “add to source control …” recursively?

一个人想着一个人 提交于 2019-11-25 23:16:41
问题 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 tree? (I\'m on a Windows system, but have Cygwin installed.) 回答1: I would rather go with the clearfsimport script, better equipped to import multiple times the same set of files, and automatically: add new files, make new version of existing files