clearcase

Whats the easiest way to completely remove a directory element & all its sub-contents from VOB?

╄→гoц情女王★ 提交于 2019-11-27 06:30:49
问题 What I know is, using rmelem to remove the folder first, and this will cause all of its child elements to be moved to lost+found . Then, go into lost+found , and repeatedly execute rmelem * until all of the elements are removed. Is there a better way? 回答1: The technote about lost+found is quite clear: if you rmelem a directory, all its content will indeed be moved to lost+found , where it will has to lost+found . The technote adds: Note: If a directory element is deleted from lost+found with

ClearCase: Is it possible to cancel checkouts not made from your own view?

只谈情不闲聊 提交于 2019-11-27 06:18:13
问题 Can the project manager force cancellation of checkouts of files/directories made in any view/stream/project? How? 回答1: A ClearCase administrator can force all files of a given view to be considered as "not checked out" (which is the equivalent of canceling their checkout status), with cleartool rmview: cleartool rmview -force -uuid (uuid_of_the_view) -vob \aVob You can get the uuid by grepping the user in the output of: cleartool descr -l vob:\aVob See technote "Removing checked-out

Config specs and Load rules difference

断了今生、忘了曾经 提交于 2019-11-27 06:08:42
问题 What is the difference between Config specs and Load rules in Clearcase? Are both of them edited using "cleartool editcs -tag " command only? 回答1: A config spec is a collection of: selection rules (for selection the right versions) load rules (only for snapshot view) for loading into your "workspace" (the snapshot view) the files selected by... the selection rules just above! You can edit both with ct edcs (just " ct edcs " if you are anywhere in a ClearCase view). Of course, in a dynamic

How can I interact with ClearCase from Perl?

岁酱吖の 提交于 2019-11-27 05:38:30
My project needs couple of things to be extracted from ClearCase data using the Perl script in a excel sheet,those are - By giving two particular time line or two baseline. all the activity associated within that baseline (column header "activity") Owner's id (column header-Owner) all the element associated within a particular activity. (column header-"element details") For each element the versions associated (column header-"Versions") for each element the total number of lines of code,total number of lines of code added,total number of lines of code deleted,total number of lines of code

Clearcase UCM - Cross delivering vs. delivering upwards?

梦想与她 提交于 2019-11-27 05:31:59
We have two Clearcase UCM streams in a hierarchy at the same level (i.e. same parent stream). If the two child streams are both rebased to the same parent baseline, does that mean that Delivering the activities of both streams up to the parent (one, then the other) Would be equivalent to: Delivering the activities of one child stream to the other child stream, and then simply delivering the one child stream to the parent Is this in fact true? It seems it should be, assuming any manual/user selected merges for all deliveries are made in the same way. VonC This is correct, but first a few

Delete ClearCase Views Script

白昼怎懂夜的黑 提交于 2019-11-27 05:22:58
(This is a repost of a deleted question) (on request) What is the best ClearCase View deletion Script? I found the following on http://www.cmcrossroads.com/forums?func=view&id=44045&catid=31 written by Yossi Sidi below The 2 things this script misses are the deletion of the entries in the session.dat file for CCRC views and the cleaning of server view storage and cached file directories. The manual steps can be found here: http://www-01.ibm.com/support/docview.wss?uid=swg21172246 rmview.pl ============== # # rmview.pl # # This script is used to delete a view.. # -------------------------------

Recursive checkin using Clearcase

我只是一个虾纸丫 提交于 2019-11-27 04:41:50
I want to check in a directory and all the sub-directories into the clear case. Is there a specific command to achieve it? Currently I am going into each directory and manually checking in each file. VonC I would recommend this question : Now the problem is to checkin everything that has changed. It is problematic since often not everything has changed, and ClearCase will trigger an error message when trying to check in an identical file. Meaning you will need 2 commands: ct lsco -r -cvi -fmt "ci -nc \"%n\"\n" | ct ct lsco -r -cvi -fmt "unco -rm %n\n" | ct (with 'ct being 'cleartool' : type

What is the difference between a reserved checkout and an unreserved checkout?

吃可爱长大的小学妹 提交于 2019-11-27 04:39:18
问题 When I check out a file in ClearCase it asks me if I want to check out the file "Reserved" or "Unreserved". What are the differences between these types of checkouts and when are the appropriate times to use them? 回答1: As mentioned in "What are the basic clearcase concepts every developer should know?", ClearCase support a locking mechanism which is both: "pessimistic": reserved checkout doesn't actually prevent other people to do their own checkout, but they will have to wait for the person

Command line to delete all ClearCase view-private files

拟墨画扇 提交于 2019-11-27 04:06:39
I'm looking for a command line to remove all view-private files and directories from a ClearCase view on Windows. I have Cygwin available as well. The script available at this article is not quite what I want, since I'm working with a large number of files and want to delete them all without having to select each one. VonC A few remarks: ct lsprivate is great for dynamic views, not snapshot views ct ls -rec -view_only as well as ct lsprivate also list your checked-out files... I am not sure you want to delete those... For listing private files (only private ones, not hijacked ones you may want

How to merge changes from a specific UCM activity from one ClearCase stream to another

孤人 提交于 2019-11-27 03:05:57
问题 This should in theory be quite simple, i.e. merge the changes from a specific UCM activity from one stream to another. I had thought that I might just be able to use the Deliver command in the GUI and then select just the required activity to deliver, but it seems that the target stream is set to not allow deliveries from other streams. From searching the documentation it seems that I might instead be able to do this via the command line using the findmerge tool, but it's not at all clear