Showing posts with label Merge. Show all posts
Showing posts with label Merge. Show all posts

Saturday, December 18, 2010

merge of directories in clearcase

It depends on the history of the two versions of a directory being merged from one branch to another:

if one version has removed files (i.e. has less files than the other version)if said version is merged onto the other,

the resulting version will have less files than initially shown in the view.

That could be because:

that view is not the one used for the mergethat view is the correct one, but with an eclipsed or hijacked content (privates files replacing versioned files)

In any case, what would help in the mentioned view is:

a 'cleartool ls' in the directory mergeda 'cleartool ls' in the parent directory of the directory merged.

The output of those two commands would help to confirm the exact status of the files merged within that directory, as well as the status of the directory itself.


View the original article here

Tuesday, November 30, 2010

RSA 7.5 + Clearcase 7.0 issue: manual merge resulting in loss of stereotype

This question is not answered.

Posts: 1
Registered: Nov 26, 2010 12:46:15 PM RSA 7.5 + Clearcase 7.0 issue: manual merge resulting in loss of stereotype
Posted: Nov 26, 2010 01:18:37 PM I'm using Rational Software Architect 7.5 + Clearcase 7.0 to handle a fragmented uml model. When I have two or more users working on the same fragment, and one of them need to reorder attributes(stereotyped) of a stereotyped Class, after merging the stereotypes are lost. Do you have any idea how to solve this issue?Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

Sunday, November 21, 2010

Clearcase: How do I merge in a specific file from one view, into another, to avoid the Evil Twin scenario?

I no longer have access to a clearcase environment, so this is from memory, but what you want is to link in a version from another branch into the one that you are working with.

Let's assume that you have a file new_file that have been added on the branch new_feature (the latest version is new_file@@/main/new_feature/5) which you want to merge/bring into the branch maintenance.

prompt>cleartool checkout -nc .checking out some_dir@@/main/maintenance/2...prompt>cleartool ln .@@/main/new_feature/LATEST/new_file/main/new_feature/5 ....prompt>cleartool ci -c "linked in .@@/main/new_feature/LATEST/new_file/main/new_feature/5"prompt>

The commands above are probably not 100% correct, but should give you the idea. You want to use cleartool ln to avoid evil twins, because that will bring in a version from the already existing element (i.e. not creating a new twin).


View the original article here

Friday, November 12, 2010

Re: Merge Manager question


Posts: 208
Registered: Oct 31, 2006 04:24:09 PM Merge Manager question
Posted: Oct 06, 2010 06:06:09 PM Hi guys,

When performing an ordinary merge from a development branch to the main branch, Merge Manager skips the merge of directory versions that are identical to those on the main branch, which is of course perfectly normal.

cleartool findmerge . -fversion