clearcase

can't update snapshot view in windows with some permision issue but from dynamic view it is ok to co/ci

风流意气都作罢 提交于 2019-12-23 04:12:22
问题 this is not a problem with CLEARCASE_PRIMARY_GROUP but it is something different. I checked the dir of the file and has permision 775. Group is Ok. Some other people are having this problem as well. what might be the issue here? Unable to load "". Unable to copy "...." to "....": Permission denied. Unable to load "". Unable to copy "" to "": Permission denied. Unable to load "". 回答1: Once the update is done (and failed), you should do a cd /path/to/parent/folder cleartool ls That will give

How to find which CRs in clearcase modified given lines in source code file (like 'git blame -L' does)?

本小妞迷上赌 提交于 2019-12-23 03:58:21
问题 I have tried to find a way in clearcase , using cleartool to identify CRs - which introduced specific lines in source code for a given file. I'm looking for equivalent or very similar functionality to: git blame -L <line_num1>,<line_num2> <filename> , which is documented at git blame . Is it possible to query clearcase repository to retrieve this information ? I can grep trough all visible file branches, but this is not exactly what I'm searching for. Thanks in advance. 回答1: The main command,

rebasing config spec in clear case

大城市里の小女人 提交于 2019-12-23 03:47:11
问题 I am new clearcase I am trying to rebase the branch m_tool. Could you please tell me how should i go about rebasing for the following config spec? element * CHECKEDOUT element * DATASOURCE element /entities/... /main/LATEST element * .../m_tool/LATEST mkbranch m_tool element * .../branch2011/LATEST element * TAG_2010_OCT_02 element * .../m_dd_lt_hfix/LATEST element * TAG_2010_02_DEV_BASE element * /main/LATEST end mkbranch m_tool Thank you, Dennis 回答1: " Rebasing " is a merge between a parent

ClearCase: Files in 2 branches obscure each other

☆樱花仙子☆ 提交于 2019-12-23 03:35:07
问题 I have checked in the same file (filename) twice in 2 different branches (say, development and release). This breaks just about anything, so I want to take 1 version and "properly" copy/merge it to the other branch, later merging in the lost changes manually (from a backup). Then I would lose history for 1 file but at least the 2 files would be connected again. How to do it? Also note, since the connection is broken, I cannot mere, also, when doing a Version Tree, both files have different

ClearCase Find files pointing to version 0

走远了吗. 提交于 2019-12-23 03:35:06
问题 I'm trying to find a list of fiels pointing to Version 0 in a view. I have tried several options with the find command and could get the output that i wanted. Can someone help/direct me here? Any help is much appreciated. Thanks. 回答1: You can do that for a given branch, as I mention in "Command to delete branches of Clearcase element with “0” versions": cleartool find -avobs -branch'{ brtype(mybranch)&&! (version(.../mybranch/1))}' -print You can replace mybranch by the name of a stream for

moved symlink disappears from Windows Explorer

橙三吉。 提交于 2019-12-23 03:23:21
问题 I'd like to change the structure of our source code inside ClearCase before using a custom script to export that to another SCM system. As the original code may still change slightly, I did this by symlinking the contents of the existing folders into the new structure. Now the desired folder structure has changed and I need to move those symlinks (or start the whole process over, which is my fall-back strategy if no one can help me here). But after moving any symlinks (inside the same VOB in

ClearCase view that ONLY shows files/directories attached to a label (not latest)

拟墨画扇 提交于 2019-12-23 03:22:47
问题 I am using a Config spec such as element * CHECKEDOUT element * MYLABEL element * /main/LATEST Since the creation of MYLABEL , I have added new files and directories. I would prefer not to see the new stuff. I left off the " element * /main/LATEST " and that doesn't help. Any ideas? It doesn't seem like should have to resort to TIME or DATE qualifiers. Shouldn't the label by itself be enough? 回答1: You need to change the order of the section rules, and ends with : element * MYLABEL Starts with

ClearCase view that ONLY shows files/directories attached to a label (not latest)

让人想犯罪 __ 提交于 2019-12-23 03:22:14
问题 I am using a Config spec such as element * CHECKEDOUT element * MYLABEL element * /main/LATEST Since the creation of MYLABEL , I have added new files and directories. I would prefer not to see the new stuff. I left off the " element * /main/LATEST " and that doesn't help. Any ideas? It doesn't seem like should have to resort to TIME or DATE qualifiers. Shouldn't the label by itself be enough? 回答1: You need to change the order of the section rules, and ends with : element * MYLABEL Starts with

rebasing a set of baselines

谁说我不能喝 提交于 2019-12-23 03:11:26
问题 I want to rebase a set of baselines.Separating each baseline to be mentioned in the rebase command with a comma is one option and the other is to take each and every baseline separately and give the rebase -baseline [name of baseline] - complete command as many number of times as the there are number of baselines, both of which are time consuming. Is there a way to rebase quickly with least effort? 回答1: One cleartool rebase command, with baselines separated by coma, is certainly quicker. Note

How to change Vob owner and vob group?

夙愿已清 提交于 2019-12-23 03:05:28
问题 I tried to change vob owner and vob group. It throws an error like: Error:No "ClearCase" group found Error:unknown protection styles 回答1: You can check out the technote "About changing the ownership of a VOB and its objects on Windows" Run the fix_prot utility as follows: fix_prot -r -root -chown <new_owner> -chgrp <new_primary_group> <path to VOB storage directory> fix_prot will remove all additional groups from the VOBs group list. If there were additional groups in the VOBs group list, add