clearcase

Clearcase: findmerge usage

人走茶凉 提交于 2019-12-17 16:39:33
问题 I have a branch B1 and another branch B2. I want all files/subfolders (recursively) inside a particular folder X (and not on entire VOB) on B1 to be merged onto B2. What exact findmerge command do I need to use? The below commands will work for entire vob or if I run them by getting into the directory in question, that will suffice for me? cleartool findmerge . -type dir -nc -fver .../dev/LATEST -merge cleartool findmerge . -nc -type file -fver .../dev/LATEST -print Thanks a lot in advance.

Team Foundation Server branching characteristics, compared to others

独自空忆成欢 提交于 2019-12-17 16:28:48
问题 What are the branching characteristics of TFS? Early Branching/Heavy Branching If we look at the tools Perforce, Subversion, CVS, for instance, we see that branching is taking a copy of the trunk. It is "early branching" all of the files which are defined to be branched, irrespective of whether those files are changed in that branch. This methodology starts creating new versions of files, at the time the decision to create a branch is made, for the entire tree of files. One of the biggest

Migrating from clearcase to mercurial

给你一囗甜甜゛ 提交于 2019-12-17 16:28:24
问题 What tools are available to migrate from clearcase to mercurial? Is it possible to move history? What kind of limitations are there? 回答1: Do not forget that ClearCase ( Central VCS) and Mercurial ( Distributed VCS) are very different. See Core ClearCase concepts for a full list. In the case of a migration, that means you are dealing with a repository-centric VCS (Mercurial) which implies "working with timelines" (a timeline being a commit, building a new changeset) In ClearCase though, there

Undo remove file in ClearCase

若如初见. 提交于 2019-12-17 16:27:56
问题 I have a ClearCase view with a folder, and two files. I check out the folder, remove a file and check the folder back in. I am left with one folder and one file. Is there a way to get my file back? I'm using the standard Windows suite of tools, which include cleartool. 回答1: Yes, it is possible to get the file back. This is an important feature of ClearCase (and a life-saver on occasion). Let's say that your directory is /vobs/somevob/somedir . The version of the directory with two files in it

How to search files by label

∥☆過路亽.° 提交于 2019-12-17 16:23:05
问题 As title, I'd like to list all the files with a given label under a directory. Which clearcase command can help me to do that ? 回答1: cleartool find is a good start. You can execute those anywhere within your (snapshot or dynamic) view To generate the list of those elements which contain a version with a predetermined label (REL1) attached, use the following syntax of the cleartool find command: UNIX and Linux: % cleartool find -all -element '{lbtype_sub(REL1)}' -print Windows: cleartool find

How to find the files modified under a clearcase branch

两盒软妹~` 提交于 2019-12-17 16:17:05
问题 I modified and checked-in a bunch of files under my branch. Now I need to get the list of files I modified. Is there any scripts to do so? 回答1: The cleartool command find should help you find any element (file) with at least one version on a given branch. The following will find all the files on a branch cleartool find . -type f -branch "brtype(mybranch)" -print See find examples or "Additional examples of the cleartool find command" for more examples. The OP sarath adds: it gives me a

How to open a dynamic view in clear case with a given config spects using command prompt?

穿精又带淫゛_ 提交于 2019-12-17 14:58:16
问题 I have config spects for a view and I need to create a view in Clear Case using command prompt. Please let me about the commands I can use with some example. Thanks in Advance! 回答1: That would be using: cleartool mkview followed by cleartool setcs -tag yourDynView pname, with pname being "a text file whose contents are to become the view's new config spec". For creating a dynamic view: cleartool mkview -tag yourDynView \\shared\path\to\viewStorage\yourDynView.vws That will create a dynamic

ClearCase: Working offline hijacking files, then checking out / merging

断了今生、忘了曾经 提交于 2019-12-17 14:47:16
问题 I'm looking at a scenario where I have an offline clear case view and I modify files in this view clearing the read-only attribute (hijacking) on the files I modify then several days later I take the view online and need to get my offline changes into the stream. What I would do is check out the hijacked files and check them back in (merging when necessary). Is it always safe to work this way? Is it possible that while adding my changes I would accidentally overwrite other people's changes

Merge arrow in clear case

隐身守侯 提交于 2019-12-17 13:28:34
问题 I have to merge all objects from a sub branch to main branch recursively. I would like to merge manually by check in the code from sub branch to main branch instead of using merge command in clear case. So after the check in into the main branch I would like to draw arrow recursively to all my objects. ic from sub branch to main branch I have used this command cleartool mkhlink -unidir Merge <sub branch path>>@@/main/<<sub branch>> <<main brach path>>@@/main/LATEST But when I dit it, it is

How to delete clearcase views created by other users?

给你一囗甜甜゛ 提交于 2019-12-17 13:05:33
问题 My friend who recently left our organisation also left his ClearCase view undeleted. Now we wanted to delete it. I was trying to delete but it did not allow. It said: Unable to remove "\\hostname\viewsharefolder\Viewname.vws" Operation not permitted Can administrator only delete his views? If I deleted the ( .vws ) folder associated with view, for ex: " Components_int.vws ", will it be enough? 回答1: Yes you can (for any view, snapshot or dynamic, UCM or base ClearCase). You also can remove it