clearcase

Merge changes from clearcase label to git branch

旧城冷巷雨未停 提交于 2019-12-01 12:02:37
We are using clearcase and git for version control. I have a situation where my fellow colleague has released few changes in a developer label in clear case. Now i want to pull those particular changes to git branch. Is there a way to achieve this? Yes, make a snapshot view with a config spec selecting that label. Then from your separate git working tree folder, do git --work-tree=path/to/snapshot/view add . # or, to limit files added: git --work-tree=path/to/snapshot/view add -- afile git --work-tree=path/to/snapshot/view add -- a folder That will instruct git to add files modifications from

How to list ClearCase activities in certain streams?

妖精的绣舞 提交于 2019-12-01 12:01:45
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 to pass this in to "cleartool lsact". Running "ct lsact -invob", then filtering the output takes too

Cleartool removing a checkedout file from a folder with rmname

别等时光非礼了梦想. 提交于 2019-12-01 12:00:57
How can I use cleartool rmname to remove a file, that is checkedout by some one else, from a folder? Is this possible? The command-line cleartool rname -force is only necessary when the file is checked out in another branch. That allows to bypass the error message: 'file' has checkouts In that case, you need to check out the parent directory first, rmname , and then don't forget to check in the parent directory, or your file will still be visible by others. See more at the technote "About cleartool rmname and checkouts" There is a -force option available for cleartool rmname from command line

Moving from ClearCase to Git

一笑奈何 提交于 2019-12-01 11:55:22
I'm coming from a ClearCase background where we (simply speaking) had a workflow made up of three steps where the leftmost trunk was unstable, middle trunk is Quality Assurance and the rightmost was stable. i.e.) A A A | | | B C | | /| | C | E | | / D E | / E As you can see the stable trunk contains only the versions that have been qualified. I'm having problems replicating this workflow in Git as versions B, C and D are also pushed into the QA trunk and subsequently the stable trunk. In my eyes this defeats the purpose of a "clean" trunk containing only stable versions. Now there's obviously

Porting perl script to graphical user interfaces for clearcase

∥☆過路亽.° 提交于 2019-12-01 11:50:20
We got quite a number of perl scripts running in our environment. Even creating branch and view for it are done via script. Now we have in the process of porting this perl script to GUI based environment. What language do you prefer for this ? We have some inhouse tools return in C# (developer are not with us). This may also get ported. ENV -> Windows. VonC Even for GUI, perl remains the safest road (as you saw in " How can I interact with ClearCase from Perl? ") but it also can depend on your ClearCase version: with 8.X and ClearTeam (new CCRC), the CLI rcleartool (also detailed here ) can be

How to delete file elements by file extension in ClearCase?

扶醉桌前 提交于 2019-12-01 11:43:37
I have tons of xxx.cmd files that sit in multiple folders (e.g. child1 , child2 , child3 , etc), they have a parent folder parent Is there a cleartool command that I can executes on the parent folder that deletes all the .cmd files in all children folders? VonC Not easily, because you need to checkout any parent directory including those files, before doing the cleartool rmname . The easiest would be to: Copy all your elements outside the view. remove all the *.cmd file (using any find utility you want, nothing to do with clearcase) clearfsimport back those files into your view (minus the *

Re-synchronizing after changing permission to view in ClearCase

烂漫一生 提交于 2019-12-01 11:41:26
问题 I created a new ClearCase view on a Linux machine. And it was synchronized into the Windows machine where the developers work. However, I found that the permissions for the view was wrong and I modified the permission for the view using the chgrp command in Linux. I have two questions: Is this the correct way to change permissions for the view in ClearCase in Unix? Is there a possibility to re-synchronize with Windows region after the change in permission is made? 回答1: I have never changed

Cleartool removing a checkedout file from a folder with rmname

你。 提交于 2019-12-01 11:40:29
问题 How can I use cleartool rmname to remove a file, that is checkedout by some one else, from a folder? Is this possible? 回答1: The command-line cleartool rname -force is only necessary when the file is checked out in another branch. That allows to bypass the error message: 'file' has checkouts In that case, you need to check out the parent directory first, rmname , and then don't forget to check in the parent directory, or your file will still be visible by others. See more at the technote

ClearTool: Finding changes from specific date

a 夏天 提交于 2019-12-01 11:40:06
问题 I am at loss on how to list all files and directores that were deleted from branch "xyz" on date Mar-1. List all directories that had their contents changed on that same day. I tried transcribe the patterns from Cleartool - find unloaded/removed files from branches to dates, with no success. Thanks a million Adam 回答1: The find commands I mentioned in "Cleartool - find unloaded/removed files" are for files only. You can use them for directory if you use -type d (instead of -type f ) But that

how to merge new folder from a sub branch to the main branch in clearcase?

試著忘記壹切 提交于 2019-12-01 11:35:09
问题 How can I merge a newly created folder in a sub branch to the main branch? I went to the version tree and did create merge by drawing. But it still I cannot see the folder in main branch and the version on main branch is 0. Can someone help? 回答1: Merging only the folder (by drawing a red arrow between the version of the folder and the destination branch) is not enough. That new folder has been introduced in a parent folder, which needs to be merged as well. That is what would allow you see to