clearcase

How to obtain Changeset of an activity?

依然范特西╮ 提交于 2019-12-01 13:09:19
We are able copy to clipboard changeset of our activities. But often we need to get changeset of our team member's activities. We are able to see it through GUI. but we would like to copy the list of changeset to some text file. Is it possible to get changeset using cleartool? I was trying with following command but still it fails V:\>cleartool lsactivity -l "PBI#503# to Model"\@My_PVOB This is the error i got : cleartool: Error: Unable to determine VOB for pathname "My_PVOB". V: is the drive where my integration stream is mapped Tamir Gefen You should specify activity ID instead of activity

clearcase snapshot hijacked files : how to checkout/checkin changed files

江枫思渺然 提交于 2019-12-01 13:08:04
Clearcase sucks a lot. It seems I cannot just save modifications to my project quickly. By quickly I mean in less than 1 second. The solution I have found is to use the combo clearcase + git. I'm using snapshots views because I can easily hijack my files without having to checkout all the files in my project every time I want to do refactoring. The problem is, when I play with git and navigate between new and old versions, clearcase think all the files are hijacked. Then I need to do the following. cleartool update cleartool ls -recurse | grep "hijacked" | xargs cleartool diff -prev [...] >

Re-synchronizing after changing permission to view in ClearCase

爱⌒轻易说出口 提交于 2019-12-01 13:07:58
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? I have never changed permission on the filesystem itself (in your case, the vws view storage root folder) If a cleartool desc -l

ClearCase SCM Adapter support for annotate

二次信任 提交于 2019-12-01 12:54:34
I wanted to annotate some code with version history. This is easy in Eclipse when using SVN, but the Rational ClearCase SCM Adapter plugin doesn't appear to support it. I quick Google search reveals that on the command line ClearCase supports annotate via: cleartool annotate -out - -fmt "%Vn |" -rm -nheader util.c I also found a number of non-free plugins that support annotate. Any free alternatives? VonC The cleartool annotate is the only form of annotation (or "blame") for ClearCase, and isn't available through the official plugins (ClearCase SCM adapter, or the CCRC plugin) That is why you

list elements by activity

老子叫甜甜 提交于 2019-12-01 12:40:33
I'm working on automated builds and need to be able to list elements that were worked on under particular activities. I'm new to ClearCase so I apologise for naiivety ... My downstream build process works fine and I now need to populate a 'pre-build' area by identifying the (checked-in) files associated with one or more activities, labels etc (in fact any combination the change/release manager wants) by listing the candidate files for a build and then copying them from the M: drive (Windows). We are using CC 7.1 with a back end on AIX and Win XP Pro desktops. We'll use ccperl to drive the find

Clearcase: moving a sub branch to a main branch

僤鯓⒐⒋嵵緔 提交于 2019-12-01 12:39:07
In clearcase I started work on a branch called main/release4/release5 . After I had began my work, release4 was merged into main. My coworkers started work on main/release5. Is there anyway I can move my main/release4/release5 work to main/release5 ? So far, I've tried to merge from main/release4/release5 to main/release5 but that didn't work. The files stayed on main/release4/release5 . Visual example of what it looks like in version tree: main | \ | release 4 | / \ main release 5 \ \ release 5 *move files from here \ *to here Here is the original config spec I was working with. element *

Cleartool command to copy the directory and its contents from local file system to VOB

人走茶凉 提交于 2019-12-01 12:35:49
How to Copy the directory and its contents from local file system to VOB (Source control) I know there are commands ( mkdir , mkelem ) to create directory , elements and copy the files one by one. But I would like to know is there any easy way to do this as there are thousands of sub directories and files inside parent directory? VonC Yes: you can use clearfsimport , which is made precisely for that. It will do the mkdir , and cleartool mkelem (or cleartool checkout if you import new versions on top of existing versioned elements) See also " How can I use ClearCase to “add to source control …”

ClearCase UCM - How to get only latest versions from latest baseline

北城余情 提交于 2019-12-01 12:32:42
How to get only latest versions from latest baseline - For example, First time in ClearCase, developers check in for the first time, we would have a.zip, b.zip ; ClearCase does the incremental baseline baseline_1. Then the build tool comes in, does it gets artifact..and deploy it - everything looks good. Second time in ClearCase, they check in c.zip and d.zip ; ClearCase does an incremental baseline again baseline_2... now how can I get the ClearCase snapshot view to only present the new files (c.zip and d.zip) so the buil tool can only get the latest files (or last baseline) This will go on

ClearTool: Finding changes from specific date

淺唱寂寞╮ 提交于 2019-12-01 12:23:40
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 VonC 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 wouldn't address the date issue. since a file deletion results in a new directory version (to record

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

断了今生、忘了曾经 提交于 2019-12-01 12:10:29
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? VonC 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 see that folder in the destination view. It is best to go to the parent folder in the destination view