clearcase

Reference for properties that can be passed to -fmt?

耗尽温柔 提交于 2019-12-22 13:58:39
问题 The fmt_ccase documentation for cleartool gives this as a formatting option: %[p]p Property value: Displays the value of the property specified in square brackets. If multiple values are returned, they are separated by spaces. However, the page doesn't list the possible values for [p] as far as I can tell, and I can't find any other reference to this anywhere in the ClearCase documentation. I would like to use this to format output from lstype for scripting purposes, to print out properties

How can I quickly checkin a large number of files in clearcase

て烟熏妆下的殇ゞ 提交于 2019-12-22 12:24:09
问题 I have a large number of files that I am trying to check in. This process needs to be done several times and is time and resource consuming. I am using the follow command to do this: cleartool lsco -cvi -all -s | awk '{print "cleartool ci -c \"<Name of checkin>\" " <path to vob> | sh This command does work, but it takes a very long time to run, as each file is checked in individually. Is it possible to checkin all files at once, or perhaps a faster method of checkin in the files individually.

How can I quickly checkin a large number of files in clearcase

爱⌒轻易说出口 提交于 2019-12-22 12:24:02
问题 I have a large number of files that I am trying to check in. This process needs to be done several times and is time and resource consuming. I am using the follow command to do this: cleartool lsco -cvi -all -s | awk '{print "cleartool ci -c \"<Name of checkin>\" " <path to vob> | sh This command does work, but it takes a very long time to run, as each file is checked in individually. Is it possible to checkin all files at once, or perhaps a faster method of checkin in the files individually.

ClearCase UCM: Is it possible to delete a project?

浪尽此生 提交于 2019-12-22 12:20:46
问题 Can a ClearCase administrator or a project manager delete a project including all its streams, views, baselines, activities etc.? How? 回答1: You cannot easily delete a project, unless all its streams are deleted You cannot easily delete a stream if there are versions created on a branch made from that streams (or if there are any views or any activities attached to that stream). You cannot easily activities unless you have deleted first every versions in it (or move them to another activity)

Clearcase: list all changed files between 2 baselines

南笙酒味 提交于 2019-12-22 11:26:33
问题 I want to know all files that changed between 2 baselines. I need to have a list in text. Through the interface I need to enter in each activity of baseline. In this dialog, I list the files, but can't copy the names to a text editor. 回答1: The normal command is: cleartool diffbl -ver baseline1@\apvob baseline2@\apvob But be aware it will list all the versions changed between the two baselines, not just the elements (files or directory). That means a file could be listed multiple times,

Find all files modified in a specific ClearCase branch?

牧云@^-^@ 提交于 2019-12-22 10:48:19
问题 Is there a way I can create a view that will give me a snapshot of all the files modified in a specific ClearCase branch? For example, say I have two branches: product_1.0_dev product_migration_1.0_dev The second branch is conceived as a testing ground for upgrading our core framework dependencies. I know that if I modify a file in product_migration_1.0_dev, then I will have a \1 version under this branch, so there has to be a way to write a load rule to get this info easily into a snapshot.

Maven, Hudson and Dynamic Clearcase Views

北城余情 提交于 2019-12-22 09:23:42
问题 This led on from the question about asking if Apache Maven and IBM Rational ClearCase integrated well. Thought I should write up what I found out - will require various edits, but I shall eventually get round to adding it all I hope. Environment ClearCase - Version 7.0.1.2 of ClearCase. Maven - All of them, from the Maven website. Hudson - Version 1.307 downloaded straight from the Hudson website Questions Does Maven run from a VOB? I installed all the versions of Maven2 into a VOB 'stacked',

how to remove a version in clearcase

空扰寡人 提交于 2019-12-22 05:42:11
问题 I want to check out a directory , let's say /vobs/myvob/src/ to add a new file in this directory. But by mistake rather than checked out /vobs/myvob/src I checked out /vobs/myvob/scr/ and even worse checked in it. Then directory scr has a new version : scr@mybranch/1 (let's say I'm working on branch mybranch ) After realized that I've made a mistake, I remove the newly created version by: ct rmver scr@myranch/1 then use ct ls parent_dir_of_scr to do the double check and I found although scr

Getting present working view in Clearcase

倾然丶 夕夏残阳落幕 提交于 2019-12-22 00:16:39
问题 I need to find a command to get the active view name from Clearcase, so I can ask the user if they would like to set that as their default path. The following does not work. Any options besides this? out, err = subprocess.Popen([r"cleartool", "xxx", "-xxxxx"], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() return out 回答1: cleartool pwv will only give you the name of the view. To get the path: cleartool pwv -root G:\ means probably a snapshot view, since all dynamic views are

Is there a git equivalent to clearcase catcr

删除回忆录丶 提交于 2019-12-21 18:02:06
问题 My only experience of version control systems is clearcase and, while it's served its purpose well, I would now like to move to a free tool. I've read about and experimented with Git & SVN and certainly see the advantages in the commit based approach as opposed to the file based approach that clearcase uses. However, there are parts of Clearcase that I would miss if there is no equivalent in the other tools. Clearcase could distinguish between files that were written by the user and files