Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2004-05-03 21:04:11 -0400
committerJean Michel-Lemieux2004-05-03 21:04:11 -0400
commit791fe9a6b32aae724bf042ed7087b4b5fe9fa2cf (patch)
tree7e1e101aca21b896f7dc56673d96652b5b26fb8c
parent420351be01c290aefa4035124d3ee7f5899c9d21 (diff)
downloadeclipse.platform.team-791fe9a6b32aae724bf042ed7087b4b5fe9fa2cf.tar.gz
eclipse.platform.team-791fe9a6b32aae724bf042ed7087b4b5fe9fa2cf.tar.xz
eclipse.platform.team-791fe9a6b32aae724bf042ed7087b4b5fe9fa2cf.zip
Bug 60439 [CVS Compare] comparing remote resources still opens editor
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CompareRemoteResourcesAction.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CompareRemoteResourcesAction.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CompareRemoteResourcesAction.java
index 3a4f87c88..fba19c81d 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CompareRemoteResourcesAction.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CompareRemoteResourcesAction.java
@@ -47,7 +47,7 @@ public class CompareRemoteResourcesAction extends CVSAction {
}
protected boolean isSameFolder(ICVSRemoteResource[] editions) {
- return editions[0].getRepository().equals(editions[1].getRepository())
+ return editions[0].isContainer() && editions[0].getRepository().equals(editions[1].getRepository())
&& editions[0].getRepositoryRelativePath().equals(editions[1].getRepositoryRelativePath());
}

Back to the top