clearcase

clearfsimport does not remove files at the component root dir

孤街醉人 提交于 2019-12-30 07:39:05
问题 I am using this command line to import files into a VOB: clearfsimport -recurse -rmname -nsetevent -filter <sourceDir>/* <vobComponentRootDir> Content of sourceDir: fileA fileB Content of vobComponentRootDir before import: fileC Content of vobComponentRootDir after import: fileA fileB fileC fileC is not removed, despite I used '-rmname' option. I suspect it is because it is at the root of the component I want to automate this import and have the same content in sourceDir and

Clearcase: How do I merge in a specific file from one view, into another, to avoid the Evil Twin scenario?

跟風遠走 提交于 2019-12-30 07:35:22
问题 I have a file that needs to be brought into a different branch. How do I do this from the command line. Everything seems to be geared to merging, where the file already exists in both branches. 回答1: I no longer have access to a clearcase environment, so this is from memory, but what you want is to link in a version from another branch into the one that you are working with. Let's assume that you have a file new_file that have been added on the branch new_feature (the latest version is new

Clearcase: How do I merge in a specific file from one view, into another, to avoid the Evil Twin scenario?

两盒软妹~` 提交于 2019-12-30 07:35:11
问题 I have a file that needs to be brought into a different branch. How do I do this from the command line. Everything seems to be geared to merging, where the file already exists in both branches. 回答1: I no longer have access to a clearcase environment, so this is from memory, but what you want is to link in a version from another branch into the one that you are working with. Let's assume that you have a file new_file that have been added on the branch new_feature (the latest version is new

clearcase ucm baseline

为君一笑 提交于 2019-12-29 09:22:13
问题 Is there any way to get the composte baseline information from the current view in command line . I am using the comand in my script. It's displaying the list of the commands which include composite and ovverride component baselines in my view . cleartool lsstream -fmt "%[found_bls]NXp\n" -view $VIEW_NAME I need only the composite baseline as output for my command. Is there any command to findout the composite baseline in current view ? pls help . 回答1: I guess your composite baselines are

clearcase ucm baseline

两盒软妹~` 提交于 2019-12-29 09:22:07
问题 Is there any way to get the composte baseline information from the current view in command line . I am using the comand in my script. It's displaying the list of the commands which include composite and ovverride component baselines in my view . cleartool lsstream -fmt "%[found_bls]NXp\n" -view $VIEW_NAME I need only the composite baseline as output for my command. Is there any command to findout the composite baseline in current view ? pls help . 回答1: I guess your composite baselines are

Create composite baseline via command line

我们两清 提交于 2019-12-29 08:19:48
问题 I must be missing something but not sure what. Trying to replicate the function of the ClearProjExp steps to create project with a component and a composite baseline using the command line and scripts to automate out processes. ClearCase 8.0.0.3 / AIX. Select New Project ... Step 1 of the Wizard: y_project_1.0, my_project_1.0_int, Traditional Parallel Dev, Next Step 2, seed the project from the selected mainline baseline, Next Step 3, add the component and the composite, remove other

solution for clearcase evil twins?

三世轮回 提交于 2019-12-29 08:14:10
问题 I have an issue with ClearCase merge: Instead of a ClearCase merge for a file, I have performed " add to source control " (merging a file from one branch to my branch). Now I don't get the version history and I am not able to see merge arrow from source branch to mine. After google it, I found that my problem is " evil twins ". Actually I am unaware of that the file should not have been added to a branch if same one already exists. Many forum say I can fix it by renaming the file. But, there

ClearCase: How to Uncheckout Files in Shapshot View Deleted From File System

霸气de小男生 提交于 2019-12-29 07:16:11
问题 Four months ago a colleague had a shapshot view that he deleted from the file system while there were still directory checkouts on a certain branch, say branch 'A'. Now some of directories are obsolete and need to be rmname 'd from other views, but this cannot happen apparently while they are still checked out on branch A. What is the most direct way to unco these directories on branch a? 回答1: You can unregister completely this view (even if the actual view is gone from the filesystem). See

How to use ClearCase Annotate

走远了吗. 提交于 2019-12-29 07:12:11
问题 I'm trying to use annotate but have a problem: The output ignores some information (date and username) if it was displayed for the same version before. I'd like to display them in any line. This is my command: cleartool annotate -out - -rm -nhe -fmt "%Sd ||| %-12.12u ||| %Vn ||| ,,%Vn ||| " -rmf "" "G:\views\myview\myprojectvob\Form1.frm@@\main\john_myprject\12" That's the output. I'd like to get date and username for the second and third lines as well. Do you know if that's possible? 2008-05

How can I retrieve a file through Label in Config Spec?

雨燕双飞 提交于 2019-12-29 07:04:14
问题 I have labelled a file " Test.java " with a label called " My_Label ". When I try creating a view with the below config specs, I am unable to get the file in Clearcase Explorer. element * CHECKEDOUT element * My_Label Could anyone please tell where am I going wrong in the above config spec? 回答1: That selection rule alone isn't enough. You need to add, before that rule, other rules that will select the right version of the parent directories. In other words, if your parent directory (or one of