clearcase

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

流过昼夜 提交于 2019-11-26 17:29:17
问题 I would like to get contents of some stream or project I can find in clearcase project explorer. 回答1: 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

Flexible vs static branching (Git vs Clearcase/Accurev)

巧了我就是萌 提交于 2019-11-26 17:27:00
问题 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 specify how branches get filled with some sort of inheritance mechanism : I mean, with Clearcase, using a config_spec, you can say “get all the files modified on branch /main/issue001 and then continue with the ones on /main or with this specific

How do I get latest clearcase label programmatically from C#?

天涯浪子 提交于 2019-11-26 17:18:35
问题 I am trying to put version information to my C# GUI framework retrieved from the latest ClearCase label. This was originally done from Visual Soursafe as below. vssDB = new VSSDatabaseClass(); vssDB.Open( databaseName, "vssadmin", "vssadmin" ); VSSItem item = vssDB.get_VSSItem( @"$\BuildDCP.bat", false ); foreach(VSSVersion vssVersion in item.get_Versions(0)) { // Pull the first non-blank label and use that if ( vssVersion.Label != "" ) { labelID = vssVersion.Label.ToString(); break; } } I am

clearcase latest version of a file on a particular branch

百般思念 提交于 2019-11-26 17:14:00
问题 I know the filename of a clearcase versioned file. How can i find the latest version of this file on a particular branch ? It should not pick any child branches. Also the parent branch names may not be know always. Thanks. 回答1: If you are using a dynamic view, you can directly access the LATEST version of a given branch by using the extended path : cat file@@/main/branch/subbranch/LATEST If you don't know the exact branch path (parent branches) this version is stored in, you can modify your

what clearcase plugin to use with eclipse

ぃ、小莉子 提交于 2019-11-26 17:13:00
问题 Which Clearcase plugin should I use for eclipse 3.5+? which is easiest to use? which is most reliable? can any of the plugins handle working with multiple views cleanly? 回答1: I found a clearcase adapter update site for windows on ibm at: http://www3.software.ibm.com/ibmdl/pub/software/rationalsdp/clearcase/60/update/windows/ The link at IBM Download is broken. 回答2: You can install CC plugin 3.4 without any problem in a shared bundle repository. Unzip them in order to have, in your own

Find files in Clearcase view newer than a specific date?

无人久伴 提交于 2019-11-26 17:09:28
问题 I've got to upload my changed files for code review, but I have the following issue: I need to find all the files in my view that have changed since my last code review upload. I thought I labeled all the files when I did the last review upload, but it appears that I didn't. How do I find all clearcase elements in my current view that have a date newer than the date of my last upload? There have been MANY check-ins since the last upload. 回答1: You could look for all versions in your view that

Clearcase: how to rollback all changes on specific branch?

我与影子孤独终老i 提交于 2019-11-26 17:07:45
问题 I made a bug fix on bug fix branch, but now I need to rollback all change on this branch. How to do that? I don't want to revert each file one by one, :(. 回答1: I didn't test it recently, but check out the perl script available with a ClearCase installation called cset.pl (also available here): ccperl cset.pl -undo myActivity It should undo an activity by performing a negative merge (or substractive merge). (That is, supposing you are using UCM since you are mentioning "changeset", which means

ClearCase : Loading Older Version of a specific Directory?

本小妞迷上赌 提交于 2019-11-26 16:48:41
How Can I load of older version of a directory in a UCM snapshot view? In our project one developer checked-in not complated and non compilable code to ClearCase. Other developer updated her view then he was not compiling project because of previous developers's not complated code. So developer only wants to get previous version of directory.How Can I do this in snahpshot view and only for a specific directory? VonC A first possibility would be to try and select the correct version of the sub-directory to revert, like: element /path/to/directory /main/[branch]/[version] But that would be plain

ClearCase : Making new baseline with old baseline activities

一个人想着一个人 提交于 2019-11-26 14:50:01
问题 In an integration stream Int , A1,A2,A3 are activities,B1 is baseline that includes A1,A2,A3 activities. (Int Stream)-----A1------A2------------------A3------[B1]----------------> We are going to deploy new version of software and our project manager said that he did not want to include A2 activity changeset in this version of software. Can we create new baseline B2 that only includes A1 and A3 activities in ClearCase? (Int Stream)-----A1------------------------A3------[B2]----------------> ?

How to obtain UCM stream and baseline with cleartool?

谁说我不能喝 提交于 2019-11-26 14:39:22
问题 For build logging, I need to obtain the current stream/baseline with cleartool , but I am stuck in determining which command will give me this information. How can I make cleartool tell me which stream/baseline I am currently looking at? It is no problem if the output needs preprocessing or filtering. 回答1: If you are in a view, you can: get the current stream cleartool lsstream -cview get all baselines for a component in that stream cleartool lsbl -comp myComp@\myPVob -stream myStream@\myPVob