diff options
author | Eike Stepper | 2013-03-18 16:44:32 +0000 |
---|---|---|
committer | Eike Stepper | 2013-03-18 16:44:32 +0000 |
commit | 82755bda9360b58cda1e14359a806035d3950e90 (patch) | |
tree | ad123b75a200bebd6341bed5c127c9c18ad81733 /plugins/org.eclipse.emf.cdo.ui.team | |
parent | f8cbd61bb2875664281ab37f54ca58c02b1775ef (diff) | |
download | cdo-82755bda9360b58cda1e14359a806035d3950e90.tar.gz cdo-82755bda9360b58cda1e14359a806035d3950e90.tar.xz cdo-82755bda9360b58cda1e14359a806035d3950e90.zip |
[402371] CDOCompareUtil.compare fails with models that use Containment
Proxies
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402371
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.ui.team')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.ui.team/src/org/eclipse/emf/cdo/ui/internal/team/history/CDOHistoryPage.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui.team/src/org/eclipse/emf/cdo/ui/internal/team/history/CDOHistoryPage.java b/plugins/org.eclipse.emf.cdo.ui.team/src/org/eclipse/emf/cdo/ui/internal/team/history/CDOHistoryPage.java index 342bc962f4..f5e59d1aaa 100644 --- a/plugins/org.eclipse.emf.cdo.ui.team/src/org/eclipse/emf/cdo/ui/internal/team/history/CDOHistoryPage.java +++ b/plugins/org.eclipse.emf.cdo.ui.team/src/org/eclipse/emf/cdo/ui/internal/team/history/CDOHistoryPage.java @@ -16,6 +16,7 @@ import org.eclipse.emf.cdo.common.commit.CDOCommitInfo; import org.eclipse.emf.cdo.common.commit.CDOCommitInfoHandler; import org.eclipse.emf.cdo.common.commit.CDOCommitInfoManager; import org.eclipse.emf.cdo.eresource.CDOResourceFolder; +import org.eclipse.emf.cdo.internal.ui.LegacyModeRegistry; import org.eclipse.emf.cdo.session.CDOSession; import org.eclipse.emf.cdo.spi.common.branch.CDOBranchUtil; import org.eclipse.emf.cdo.transaction.CDOTransaction; @@ -24,6 +25,7 @@ import org.eclipse.emf.cdo.ui.compare.CDOCompareEditorUtil; import org.eclipse.emf.cdo.ui.widgets.CommitHistoryComposite; import org.eclipse.emf.cdo.ui.widgets.CommitHistoryComposite.Input; import org.eclipse.emf.cdo.ui.widgets.CommitHistoryComposite.LabelProvider; +import org.eclipse.emf.cdo.util.CDOUtil; import org.eclipse.emf.cdo.view.CDOView; import org.eclipse.net4j.util.event.IListener; @@ -116,6 +118,8 @@ public class CDOHistoryPage extends HistoryPage try { CDOSession session = input.getSession(); + CDOUtil.setLegacyModeDefault(LegacyModeRegistry.isLegacyEnabled(session)); + leftView = session.openView(commitInfo); rightView = session.openView(previous); |