clearcase

Using WinMerge as ClearCase diff viewer for xml files

浪尽此生 提交于 2019-12-10 21:27:36
问题 I just installed WinMerge and checked its "Integrate with ClearCase" option. ClearCase now runs Winmerge when i execute "compare with previous version" on my java source files. However, when I run the same command on an xml file, it opens xml diff merge. How can I get it to open Winmerge instead? 回答1: See for instance "How do I integrate Beyond Compare with ClearCase?" You need to modify # up to ClearCase 7.0 c:\program files\rational\ClearCase\lib\mgrs or # ClearCase 7.1 and more c:\program

Clearcase - Find out when view was created

我只是一个虾纸丫 提交于 2019-12-10 19:58:03
问题 We have many old snapshot views lying around and I need to find out when these snapshot views were created. There is a twist - we are no longer running ClearCase and the hardware we used to run it is no longer around. However, we still have all the files used internally by ClearCase still lying around, so I can go to a directory /usr7/viewstore/some_snapshot_sv and poke around. I've got a timestamp on these directories, but this is not necessarily when the view was created. I was wondering if

SVN for ClearCase user. How to use?

雨燕双飞 提交于 2019-12-10 17:43:27
问题 we used to work with IBM Rational ClearCase. now we started a new project on linux (ubuntu) and for that we use SVN (tortoise). i would like some help understanding it. for example: what is "making a baseline" in SVN? i don't understand all this versions numbers. we a a MAIN trunck/branch (which should be equivalent to a stream with a view on it in clear case) and under it everyone have their own branches (their own stream with thier own views on it). if i press the svn version tree i see a

Sub-branching in ClearCase?

天大地大妈咪最大 提交于 2019-12-10 17:08:08
问题 When I want to use a branch in CC, I usually put something like this in the config spec: element * .../first_branch/LATEST element * .../Main/LATEST -mkbranch first_branch element * ../Main/LATEST Now, I want to create a branch that is a sub-branch of the first one. Let's say it's called second_branch (I'm creative today). How would that config spec look like? 回答1: Like this: element * .../second_branch/LATEST element * .../first_branch/LATEST -mkbranch second_branch element * .../Main/LATEST

preserving history when using mercurial ontop of clearcase

不问归期 提交于 2019-12-10 16:55:49
问题 I work in a ClearCase shop and CC does a good job of integrating the team's work though our code review process prevents me from using it to track my daily changes. Creating an hg repository on top of my CC view works really well. I can track my changes and easily make backups on the file server, produce diffs for people etc. This is all well and good until I move to a new CC view and have to leave my history behind. I would love to be able to ?pull? my previous history in and have everything

listing files checked in during last 2 days

妖精的绣舞 提交于 2019-12-10 16:15:32
问题 In clearcase I want to list the files /file versions checked in during the last 2 days. Can anyone help me with the command or script for the same. 回答1: You will find plenty of cleartool find examples, including: "find all file versions created since a certain date" List all the files versions below the current directory created since a certain date, cleartool find . -type f -version "created_since(01-Mar)" –print Note: Add the –follow options if you want to follow any symbolic links that are

VS2008 and ClearCase : opening solution requests a checkout for no reason

筅森魡賤 提交于 2019-12-10 13:47:41
问题 I have a little issue that's causing my automated builds to fall over. When we open a solution recently converted from VS2005 to VS2008 VS through ClearCase requests that we checkout the solution file. If we allow it then it makes no changes anyway and by default ClearCase doesn't like checkins without changes. So we undo the checkout - and from then on VS is happy, it was able to write the .suo file. If we un-read protect the solution file, start up VS2008 it creates the .suo file ok, if we

List of directories off of the root of VOB in cleartool

爱⌒轻易说出口 提交于 2019-12-10 11:46:56
问题 If I am in a vob (pwd command displays the correct vob) and lsvob <VOB_NAME> returns some info about the vob, how can I get a list of all the directories from the root? The setview command has also been run. When I do ls , I get: Error: Pathname is not within a VOB: "." 回答1: cd /vobs/myvob cleartool ls # or cleartool find . -type d -print The first one lists all elements within the view. The other one lists all the directories. The OP foampile mentions: cleartool mount /vob/<MY_VOB> i tried

How to annotate a folder in cleartool

南楼画角 提交于 2019-12-10 11:44:29
问题 I am trying to annotate a folder with command cleartool annotate folderName getting error cleartool: Error: Unable to create file "test_tut_element_vob.ann": Permission denied. I am able to annotate the files. 回答1: The cleartool annotate man page mentions the following caveat: The annotate command extracts information from the element's versions. To do so, it invokes the annotate method of the element's type manager. Only the text_file_delta and z_text_file_delta type managers (which

How to recover checked out file in Clearcase?

落花浮王杯 提交于 2019-12-10 11:08:43
问题 Let's say there is a file called myfile.java. I checked it out and I was working on it. Before checking it in, I have lost my hard drive and I had to get a new hard drive. Next time that I want to check out the file, it says that I can not check out. It was already checked out in the old view which has gone. I have to mention that I am using the option "re-use development stream option". Is there anything I can do to be able to checkout the file once again? 回答1: You can completely unregister