clearcase

How to add a directory tree to a ClearCase repository in-place?

☆樱花仙子☆ 提交于 2020-01-24 12:18:29
问题 I previously asked this question regarding ClearCase, but it doesn't work when I have a private directory in a vob, and I want to add it recursively to the repository in-place. Is there any way to do that? 回答1: If you have a private directory, the nominal way would be to: rename it first (still keeping it in its same parent directory) use the new name of that directory as sources for your clearfsimport (that I describe in the SO question you mention in your question) That is not always ideal,

How to use ClearCase annotate sub-command?

你说的曾经没有我的故事 提交于 2020-01-24 06:27:30
问题 I'm trying to find out how to get a code history report in which I get the file version for each of code line. I don't need to get multiple rows for each code line. only one. The 'annotate' sub-command has many arguments and I can't find the good one for that purpose. Do you know how to get that? Many thanks 回答1: the file version for each of code line That almost looks like the last example of the cleartool annotate command: cleartool annotate -out - -fmt "%Vn |" -rm -nheader util.c Meaning:

How to use ClearCase annotate sub-command?

杀马特。学长 韩版系。学妹 提交于 2020-01-24 06:27:20
问题 I'm trying to find out how to get a code history report in which I get the file version for each of code line. I don't need to get multiple rows for each code line. only one. The 'annotate' sub-command has many arguments and I can't find the good one for that purpose. Do you know how to get that? Many thanks 回答1: the file version for each of code line That almost looks like the last example of the cleartool annotate command: cleartool annotate -out - -fmt "%Vn |" -rm -nheader util.c Meaning:

Why clearfsimport command adds file to source control with a size zero?

非 Y 不嫁゛ 提交于 2020-01-23 18:00:38
问题 I use clearfsimport command the file is added to source control but: the file size becomes zero and keep files are created. In the version tree of ClearCase, the version number of that file is zero. How can I fix this in order for the clearfsimport to work properly? 回答1: You need to make sure, when using clearfsimport (as in "How can I use ClearCase to “add to source control …” recursively?") that your source is different from your destination clearfsimport -preview -rec -nset c:\sourceDir\*

ClearCase merge-conflict-on-rebase mystery — why does manual merges are sometimes required when doing a rebase for a file that has NO local changes?

本小妞迷上赌 提交于 2020-01-23 17:09:07
问题 Here's a rather advanced question for true ClearCase experts: I frequently perform a rebase on a ClearCase snapshot view that has just a very limited number of small changes in few files (e.g. file1.c, file2.c, file3.c). I do it with the following on the UNIX command line: cleartool rebase -recommended -complete Sometimes, while this command runs, out of the blue, and for no exlained reasons (yet), I get prompted for manual input to solve some "merge" conflicts. But they make no sense to me,

unable to complete delivery

你离开我真会死。 提交于 2020-01-21 05:59:05
问题 I got the following error while trying to complete the posted delivery. Is there anything I can do it from the target site? cleartool: Error: Unable to check out "/vobs/amit_sumit/lost+found/pcs_i_ltf_odfc_set_sftp.c.842f38e667011e395ad0018fe6508eea". cleartool: Error: Some files could not be checked out in the target view. cleartool: Error: Unable to perform merge. cleartool: Error: Unable to do integration. cleartool: Error: Unable to deliver stream "banglore_atx_cl". 回答1: Yes. You can

How to import the files from folder A to folder B with latest version of folder A

萝らか妹 提交于 2020-01-14 06:50:14
问题 In clearcase v9.0.1.5, I need to import files from folder A to new folder B with the latest version of A. Meaning: the ClearCase versions of files in B should be same as that of A: if file version in A is 4 then after import the version of that file should show as 4 in B. Is there any possibility to perform this ? 回答1: You can easily use clearfsimport to import flat files to a branch in one command. That will duplicate the files from A to B, versioning them again in B. But that won't

dynamic and snapshot views in clearcase

安稳与你 提交于 2020-01-14 05:21:07
问题 I have been using clearcase snapshot views in my current project. so, it requires update to refresh content. does it mean any update I do on view is updated to the servers and any updates others do are updated to my view? . Also, If I try to checkout a file in snapshot view which somebody else has already checked out in his snapshot view but not updated, will I succeed? 回答1: does it mean any update I do on view is updated to the servers? Only if you do a cleartool checkin (commit the new

Clearcase error while merging code

本秂侑毒 提交于 2020-01-14 05:19:21
问题 I am not able to merge the code in regression branch for a specific package The error is: merge: Error: *** No Automatic Decision Possible merge: Error: *** Aborting... merge: Error: Unable to remove "C:\TEMP\tmp22349": Permission denied. Directory merges were necessary and -depth was specified Unable to evaluate all possible merge candidates How to avoid this error? please find attached screen for error. 回答1: Regarding " Unable to remove "C:\TEMP\tmp22349": Permission denied. ", launch a

Clearcase View and Branch explained

落爺英雄遲暮 提交于 2020-01-14 03:07:19
问题 I've recently started working on a new project for which the development team is using ClearCase for version control (the project is coded mostly in java and ExtJs). I'm hearing the terms 'View' and 'Branch' being thrown around a lot - are these terms interchangeable? If not, could you please provide a layman's explanation of a View and a Branch and how they relate to each other. Are Views and Branches particular to ClearCase or are these terms used in other version control systems as well?