Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CompareRemoteWithTagAction.java')
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CompareRemoteWithTagAction.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CompareRemoteWithTagAction.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CompareRemoteWithTagAction.java
index cd6c7e6a3..1b00dfbef 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CompareRemoteWithTagAction.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/actions/CompareRemoteWithTagAction.java
@@ -48,8 +48,12 @@ public class CompareRemoteWithTagAction extends CVSAction {
if (tag[0] == null) return;
// Run the compare operation in the background
- new RemoteCompareOperation(getTargetPart(), resource, tag[0])
- .run();
+ try {
+ RemoteCompareOperation.create(getTargetPart(), resource, tag[0])
+ .run();
+ } catch (CVSException e) {
+ throw new InvocationTargetException(e);
+ }
}
/**

Back to the top