clearcase

clearcase - apply label over multiple labels

假装没事ソ 提交于 2019-12-02 04:12:16
I need to apply a label on a set of two or more labels that are already created using cleartool. I know how to create and apply a label using cleartool and have studied mklabel command. But couldn't find any provision to apply a label over multiple labels. Can anyone please provide solution for the same?? VonC You could try and find all the relevant versions (the ones with the right labels) and perform a mklabel . cleartool find can be combined with an exec directive including a mklabel. cleartool find . -ver "lbtype(LBL1) || lbtype(LBL2)" \ -exec "cleartool mklabel -replace NEW_LBL \"

Need Command line for label difference

荒凉一梦 提交于 2019-12-02 03:54:58
问题 I would like to display the content changed between two labels for a file specified. I did this using find command of cleartool earlier, but this was a two way process: First determine the elements changed between two labels using the -version switch in find and then pass the two versions for a file in the diff serial switch to display the output. What I need now is to have the same done using a single command wherein I will specify the filename and the two labels. Any help will be

Check in to ClearCase fails

雨燕双飞 提交于 2019-12-02 03:53:26
I am trying to add a file into ClearCase, but I am getting the following error: Error adding 'C:\PATH\file.dbc' to source control. Changed Protection on "C:\PATH\file.dbc". Created branch "C:\PATH\file.dbc" version "\main\0". Type manager "text_file_delta" failed create_version operation. Checked the following: There are lines that have over 8000 characters and they must stay that way, so it can not use the "text_file_delta" as the type manager. I changed the type of one file to "compressed_file" and I was able to check it in. I tried to add dbc compressed_file -name "*.[dD][bB][cC]" ; to the

How do you check for a merge in Clearcase?

廉价感情. 提交于 2019-12-02 03:45:58
问题 I'm trying to figure out how to look at a file's merge history in Clearcase. I know it can be done graphically, but I need it returned to stdout. ct lshistory <file> returns the file history, but unless it's specifically commented you don't know what has been merged to what. I basically have three branches: main, int, and dev. I'm trying to determine if there are versions in the dev branch past what has been merged and labeled to the int branch. 回答1: This is about finding the merge hyperlinks

How to add all the files in a folder to source control via cleartool command?

那年仲夏 提交于 2019-12-02 03:17:25
问题 I am having a folder where lot of files and subfolders , adding it to source control via UI is consuming much time. How to add all the files (including files inside subfolder) to source control using cleartool? (I am using clearcase UCM) 回答1: As mentioned in "How can I use ClearCase to “add to source control …” recursively?", clearfsimport is the way to go. However, clearfsimport will take a source an import it in your view, so: it is best to keep the source outside your view (to avoid

How do you check for a merge in Clearcase?

人盡茶涼 提交于 2019-12-02 02:51:44
I'm trying to figure out how to look at a file's merge history in Clearcase. I know it can be done graphically, but I need it returned to stdout. ct lshistory <file> returns the file history, but unless it's specifically commented you don't know what has been merged to what. I basically have three branches: main, int, and dev. I'm trying to determine if there are versions in the dev branch past what has been merged and labeled to the int branch. This is about finding the merge hyperlinks: see " How files and directories are merged " The find and lsvtree -merge commands can locate versions with

Need Command line for label difference

若如初见. 提交于 2019-12-02 02:37:20
I would like to display the content changed between two labels for a file specified. I did this using find command of cleartool earlier, but this was a two way process: First determine the elements changed between two labels using the -version switch in find and then pass the two versions for a file in the diff serial switch to display the output. What I need now is to have the same done using a single command wherein I will specify the filename and the two labels. Any help will be appreciated. VonC If you know the branch in which the labels have been applied, you can use the extended pathname

How do I determine via Windows command line whether ALBD service is running?

一曲冷凌霜 提交于 2019-12-02 02:29:07
问题 OK, I know how to start and stop ALBD, but how do I determine whether it is currently running? This is something I want to put in a Perl or DOS script, so it would have to be a non-GUI solution. 回答1: See this technote "Start and stop ClearCase from the Windows command line", and note that albd isn't the only service you should be checking . And if you have trouble starting albd on Windows, see "Troubleshooting ALBD startup failures on Windows". CLEARCASE The ClearCase server processes

Is there RTC-equivalent “Suspend mode” in ClearCase?

落花浮王杯 提交于 2019-12-02 02:20:24
I found "Suspend Change-set" in RTC to be very useful, and since we're working with ClearCase as well (dozens of users) I'm wondering if that feature is also available in ClearCase as well. If not - could it be generated by script/trigger/hook ? We use UCM, and I'd like to explain my question: if I have to deliver and I want to skip delivering one activity, I can decide not to deliver it (if no dependencies...) , so my question is regarding working on my current stream: Is that possible to "suspend" an activity from my current stream ? Thanks in advance VonC Simply put, not easily. RTC is

Is there RTC-equivalent “Suspend mode” in ClearCase?

非 Y 不嫁゛ 提交于 2019-12-02 02:19:01
问题 I found "Suspend Change-set" in RTC to be very useful, and since we're working with ClearCase as well (dozens of users) I'm wondering if that feature is also available in ClearCase as well. If not - could it be generated by script/trigger/hook ? We use UCM, and I'd like to explain my question: if I have to deliver and I want to skip delivering one activity, I can decide not to deliver it (if no dependencies...) , so my question is regarding working on my current stream: Is that possible to