clearcase

How to undo checkout a file checked out from another user?

大城市里の小女人 提交于 2020-01-01 19:06:48
问题 In this example, the user5628 (which is actually sick) has a checked out file in its dynamic view. How can I cancel this checkout? $ ct lsco -all | ag foo 2013-08-29 user52001 checkout version "L:\a\path\foo.c" from \main\branch_a\0 (reserved) 2014-04-10 user5030 checkout version "L:\a\path\foo.c" from \main\branch_b\0 (reserved) --11-18T08:29 user52212 checkout version "L:\a\path\foo.c" from \main\branch_c\1 (reserved) --04-15T14:24 user5628 checkout version "L:\a\path\foo.c" from \main

ClearCase: how to generate a patch (unified diff) file from an activity?

梦想的初衷 提交于 2020-01-01 16:50:50
问题 Is it possible to generate an patch file from the changeset of a UCM Activity in ClearCase? I can generate the list of changes this way: cleartool lsactivity -l activity:my_activity_name 回答1: The main approach is list all the files within an activity, and use cleartool diff -pred -diff_format in order to generate a diff. With the -diff_format option, you would get headers and differences in the same style as the UNIX and Linux diff utility. But that would require some scripting, as I

Clearcase: Activity dependencies for integration stream merging (patches)

一个人想着一个人 提交于 2019-12-31 04:08:27
问题 We have a patch model where we're intending on using cset.pl -findmerge <activity> to selectively merge cumulative activities to a patch stream (integration stream to integration stream). Note that we're using a single stream model; although support for teams working with their own dev stream would be supported (i.e. when they join a project they would be working with the integration by default). However there's the issue of activity dependencies we're trying to solve. So say you have

How to add a directory tree to a ClearCase repository?

橙三吉。 提交于 2019-12-31 02:21:35
问题 I have a directory tree with sub-directories, and I want to add it to a ClearCase repository. Currently I need to rename the directory, use CC's mkdir, and so forth for every dir. Is there a way to do this automatically (maybe a ClearCase command I don't know about, or a script)? 回答1: I would recommend using clearfsimport . See: "How can I use ClearCase to “add to source control …” recursively?". "Creating a new subdirectory structure in ClearCase?" What is nice with this script is that is

How to list ClearCase activities in certain streams?

柔情痞子 提交于 2019-12-30 12:22:20
问题 I'm wondering if there is a way to specify which streams to get a list of activitis for in one command line call? Right now I'm building a list of activities based on either a vob or an individual stream, using either: ct lsact -invob vob_name or ct lsact -in stream:stream_name However, now I'm trying to filter it a little bit to remove activities from streams that are on locked/obsolete projects. I've got the list of streams that are on unlocked projects already, but I don't know of any way

Clearcase 7.1.2, VOB Splitting

与世无争的帅哥 提交于 2019-12-30 12:20:49
问题 We have a current set up of VOB such that source code and documents reside in the same VOB. To reduce the VOB download time we now want to move the documents to a new VOB, so that only the code part remain in the old VOB. Since there are lot of folders and files, its not possible to manually relocate each file/folder. To do this, we need to write a script which will detect file types by their extension and move file types such as .doc,.pdf, .txt to the new VOB. VOB server is Windows Windows

Manually undo delivery in ClearCase

醉酒当歌 提交于 2019-12-30 11:05:29
问题 I currently have a jacked-up delivery from a child stream to a parent in ClearCase. If I try to undo the delivery it tells me I can't because the "integration activity has checkins" or "checked in versions". If I try to resume the delivery it says it encountered an error attempting to checkout or merge an element, but doesn't specifically tell me which one. So I'm looking for a way to either: Manually stop the delivery (undo all checkouts in the parent stream?) Find out what element is

Manually undo delivery in ClearCase

橙三吉。 提交于 2019-12-30 11:05:19
问题 I currently have a jacked-up delivery from a child stream to a parent in ClearCase. If I try to undo the delivery it tells me I can't because the "integration activity has checkins" or "checked in versions". If I try to resume the delivery it says it encountered an error attempting to checkout or merge an element, but doesn't specifically tell me which one. So I'm looking for a way to either: Manually stop the delivery (undo all checkouts in the parent stream?) Find out what element is

How would you select versions from a specific branch in ClearCase?

╄→尐↘猪︶ㄣ 提交于 2019-12-30 10:38:14
问题 I would like to get all the files checked-in a private branch and only the those files checked in. What config spec would you recommend? Let's say prvt is the private branch: element * .../prvt/LATEST Would that work? What if I want to load only those elements which are branched out only in prvt branch not any other element as I suppose element /myVob/myPath /main/LATEST element /myVob /main/LATEST might get files which branch out from the main latest also in myPath directory. But this is

ClearCase hijack functionality in subversion

試著忘記壹切 提交于 2019-12-30 10:02:15
问题 Is there a way to "hijack" a file in subversion like there is in ClearCase. Googling so far has not given me a definitive answer. For non ClearCase users Hijacking a file means temporarily removing it from version control. 回答1: SVN operates on a "copy-modify-merge" model, meaning it's always possible to make local modifications to your working copy, without needing to "lock" or "hijack" it. http://svnbook.red-bean.com/en/1.2/svn.basic.vsn-models.html#svn.basic.vsn-models.copy-merge.sb-1 回答2: