clearcase

Moving from ClearCase to Git

末鹿安然 提交于 2019-12-01 11:26:05
问题 I'm coming from a ClearCase background where we (simply speaking) had a workflow made up of three steps where the leftmost trunk was unstable, middle trunk is Quality Assurance and the rightmost was stable. i.e.) A A A | | | B C | | /| | C | E | | / D E | / E As you can see the stable trunk contains only the versions that have been qualified. I'm having problems replicating this workflow in Git as versions B, C and D are also pushed into the QA trunk and subsequently the stable trunk. In my

Manually undo delivery in ClearCase

时光总嘲笑我的痴心妄想 提交于 2019-12-01 11:19:40
I currently have a jacked-up delivery from a child stream to a parent in ClearCase. If I try to undo the delivery it tells me I can't because the "integration activity has checkins" or "checked in versions". If I try to resume the delivery it says it encountered an error attempting to checkout or merge an element, but doesn't specifically tell me which one. So I'm looking for a way to either: Manually stop the delivery (undo all checkouts in the parent stream?) Find out what element is causing the delivery problem (is it same as the one causing the undo problem) or Find out what element is

Clearcase: moving a sub branch to a main branch

…衆ロ難τιáo~ 提交于 2019-12-01 11:18:32
问题 In clearcase I started work on a branch called main/release4/release5 . After I had began my work, release4 was merged into main. My coworkers started work on main/release5. Is there anyway I can move my main/release4/release5 work to main/release5 ? So far, I've tried to merge from main/release4/release5 to main/release5 but that didn't work. The files stayed on main/release4/release5 . Visual example of what it looks like in version tree: main | \ | release 4 | / \ main release 5 \ \

How to fetch history of elements using ClearCase CM API?

萝らか妹 提交于 2019-12-01 11:18:29
I want to fetch history of file elements like pdf files, doc files, etc. which are under clearcase control using Rational CM API which are provided by clearcase. I have written following code to fetch the history but it is incomplete so please help me out here. public void fetchFileElementHistory() { try { CcFile fetchElement = provider.ccFile(provider.filePathLocation(testFile)); // file under Clearcase control PropertyRequest wantedProps = new PropertyRequest(CcFile.DISPLAY_NAME, CcFile.CREATION_DATE,CcFile.VIEW_RELATIVE_PATH,CcFile.CLIENT_PATH,CcFile.VERSION_HISTORY,CcFile.PREDECESSOR_LIST

How do I check if I have a base clearcase or UCM?

时光总嘲笑我的痴心妄想 提交于 2019-12-01 11:11:49
问题 I am new to ClearCase . I have used rational synergy before. We use ClearCase in our project for version control. In my old project, I have used rational synergy, in which we used to create "tasks" for any modifications in the files. I got to know that we have activities in ClearCase, which I want to use in our projects. As of now, we just check-out the files and modify and checkin the changes. But when I check my ClearCase --> Actions, I don't see the option ->WorkOn to start creating an

Cleartool command to copy the directory and its contents from local file system to VOB

↘锁芯ラ 提交于 2019-12-01 11:10:23
问题 How to Copy the directory and its contents from local file system to VOB (Source control) I know there are commands ( mkdir , mkelem ) to create directory , elements and copy the files one by one. But I would like to know is there any easy way to do this as there are thousands of sub directories and files inside parent directory? 回答1: Yes: you can use clearfsimport , which is made precisely for that. It will do the mkdir , and cleartool mkelem (or cleartool checkout if you import new versions

list elements by activity

家住魔仙堡 提交于 2019-12-01 11:07:48
问题 I'm working on automated builds and need to be able to list elements that were worked on under particular activities. I'm new to ClearCase so I apologise for naiivety ... My downstream build process works fine and I now need to populate a 'pre-build' area by identifying the (checked-in) files associated with one or more activities, labels etc (in fact any combination the change/release manager wants) by listing the candidate files for a build and then copying them from the M: drive (Windows).

Command to find labels applied on particular branch

江枫思渺然 提交于 2019-12-01 10:48:09
Command to find labels applied on particular branch.. Suppose i have a branch name called BR_test , i want to know what are all the labels applied on this branch. VonC If this was UCM, a simple lsbl would be enough: cleartool lsbl -stream myStream@\mypvob But if this is base ClearCase, the simple way would be to determine what element (directory or file) is always labeled (typically a root directory), and fetch all the labels on that element for a given branch , through a combination of cleartool find and cleartool describe , based on fmt_ccase format (Windows syntax here): C:\mySnapshotView

Porting perl script to graphical user interfaces for clearcase

匆匆过客 提交于 2019-12-01 10:47:28
问题 We got quite a number of perl scripts running in our environment. Even creating branch and view for it are done via script. Now we have in the process of porting this perl script to GUI based environment. What language do you prefer for this ? We have some inhouse tools return in C# (developer are not with us). This may also get ported. ENV -> Windows. 回答1: Even for GUI, perl remains the safest road (as you saw in "How can I interact with ClearCase from Perl?") but it also can depend on your

Find if current stream contains baseline in ClearCase

ε祈祈猫儿з 提交于 2019-12-01 10:44:13
Let us say I have a baseline called A1. What I then want to see if there is any way for me to be on another stream, anywhere in the same project, to see if I have A1 in my stream? I.e. do I have the code changes made in A1 in my stream? Is there any fast way to do this? Thank you in advance. VonC ClearCase works based on activities, and you should determine is an activity has been delivered by using cleartool lsact -contrib : See " Activities delivered since the last baseline ", and a more complete example at " Describe baseline and expand deliver and rebase activities ". You can list all