clearcase

Cleartool command to list all files part of a changeset

对着背影说爱祢 提交于 2019-12-08 07:28:45
问题 I have a requirement where I want to use Cleartool and 1. I would like to pass a chageset number to Clearcase server and would like to see all files that would be part of that Changeset 2. Pass these file names to Clearcase server and copy the latest version of the files onto my local machine. Is there a way to achieve this functionality using cleartool? Can someone please suggest the commands with the necessary parameters that needs to be passed? Thanks in advance. 回答1: With ClearCase UCM,

Clearcase get file from repository

拜拜、爱过 提交于 2019-12-08 07:27:00
问题 I have file path in ClearCase repository: DWH/MSL/MAPP/META/SP.sql@@/main/10 . I have repository https path which is used for Remote Client: http://clearcase.net:12080/TeamWeb/services/Team I need to download the file from the repository. How can I do this? I've tried to read CC manuals and cleartool manuals but unfortunately it's still not clear. 回答1: That looks like a CCRC url (ClearCase Remote Client: see the feature comparison matrix with ClearCase). That means you need to create a web

how to list only the name of the baselines and name of the stream from particular component in UCM ClearCase

只愿长相守 提交于 2019-12-08 07:24:22
问题 Is there any way that I can list all baselines' name and stream name for those baselines from a particular component? 回答1: The basic command would be cleartool lsbl: cleartool lsbl -comp aComponent@\aPVob You can then use fmt_ccase to display the stream as well as the baseline. cleartool lsbl -fmt "%n %[bl_stream]Xp\n" -comp aComponent@\aPVob A similar command would be: cleartool lsbl -tree -comp aComponent@\aPVob (to see the stream, and its location within the UCM project). If that doesn't

Cleartool move moves only top directory

喜欢而已 提交于 2019-12-08 07:14:51
问题 We're trying to move a bunch of folders from one location to another in our vob. The process is that: we check out the target parent folder check out the source parent parent folder ct mv source target This unfortunately fails with moving only the top folder in the tree... On the other hand ct relocate works fine and we avoid checking out thousands of vob elements. Are there any drawbacks with that command? We assume that the source and the target are in the same vob. 回答1: We assume that the

Visual Studio 2017 debugger fails connected to a ClearCase mapped drive

点点圈 提交于 2019-12-08 07:04:18
问题 I'm using Visual Studio 2017 with a ClearCase dynamic view connected to a mapped drive. Starting a debugger session fails with: Unable to start program filename.exe. Operation is not supported. Unknown error: 0x80070057. Using a ClearCase snapshot view, the debugging session works as expected, without error message. Visual Studio 2013 works perfectly fine with a snapshot or dynamic view. Any help would be appreciated. 回答1: It depends on your exact ClearCase version, as seen in this PI45450

how to ignore files when finishing private ClearCase branch?

自古美人都是妖i 提交于 2019-12-08 07:02:31
问题 I created a private branch in dynamic view and checked out a Eclipse .project file. I modified the .project file along with other java classes. Now I want to finish the private branch and merge all the java files. But I don't want to merge the .project file. I can uncheckout the .project file to proceed but I am wondering if there is a way to tell Clearcase to ignore the file (like svn and git ignoring files) and continue to finish the private branch. Please let me how to ignore the .project

How to get a full description of an activity in cleartool?

寵の児 提交于 2019-12-08 06:56:54
问题 I used ClearQuest to export a query to a csv containing information about all my developer activities. However, the description is truncated. Is there a cleartool command that can output the full description of a given activity? 回答1: You can use something like... foreach act ( `cleartool lsact -s` ) set changeset = `cleartool lsact -fmt "%[versions]p" $act` echo $changeset | tr ' ' '\n' >> $tmpoutput end foreach line ( "`cat $tmpoutput`" ) set file=`echo $line | sed -e "s|\(.*\)@@.*|\1|"` end

What actually are tags in subversion (SVN)? And what tag tools does SVN offer built-in? (Compared to Clearcase)

大兔子大兔子 提交于 2019-12-08 06:56:20
问题 What actually are tags in subversion (SVN)? And what features does Subversion really offer built-in to make productive use of them? I ask because I would like to label collections of files at a certain revision as a tag. This would make for more meaningful release naming. I would also like to retrieve exactly those files with that tag, no more no less, to build software from those files at a certain release. In ClearCase tags are likely attibutes of a file, I believe. I get the worrying

List of unregistered views

♀尐吖头ヾ 提交于 2019-12-08 06:54:43
问题 We have a large number of unregistered views that still have tags. We are wanting to remove these tags and views. Does anyone know of a way to create a list of views which are unregistered with tags? 回答1: One way is to compare the view_tag and the view_object files present in the ClearCase registry. Any view uuid found in view_object which isn't in view_tag is an unregistered view. 来源: https://stackoverflow.com/questions/15501392/list-of-unregistered-views

clearcase rebase permission to specific person

穿精又带淫゛_ 提交于 2019-12-08 06:54:25
Is it possible to provide permission to rebase for a specific person only? Currently i can see clearcase can only "any user allow rebase" option. If possible please let me know how can I change the stream to allow permission to rebase for a specific person. The easiest way is to cleartool lock -nusers aUser a stream, but that will limit any command (not just rebase) to that person. cleartool lock -nusers aUser stream:astream@/vobs/apvob The more precise option is to make a pre-op trigger on rebase (with cleartool mktrtype ), which test the user and stream and allows or denied the rebase based