Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-05-17 15:37:22 -0400
committerMichael Valenta2002-05-17 15:37:22 -0400
commite0dd898e17ba2a8fb3c27446fc8db814e66f07cc (patch)
tree91cff00e59607d838544ddf48d8cc2ecfe68b988
parent2ffb3b6561d8dfaa88fae6d6939059b227a5eff4 (diff)
downloadeclipse.platform.team-e0dd898e17ba2a8fb3c27446fc8db814e66f07cc.tar.gz
eclipse.platform.team-e0dd898e17ba2a8fb3c27446fc8db814e66f07cc.tar.xz
eclipse.platform.team-e0dd898e17ba2a8fb3c27446fc8db814e66f07cc.zip
9735: To much info in checkout error
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Checkout.java13
1 files changed, 10 insertions, 3 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Checkout.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Checkout.java
index d781bf17a..57cb39150 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Checkout.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/client/Checkout.java
@@ -15,16 +15,16 @@ import org.eclipse.team.internal.ccvs.core.CVSStatus;
import org.eclipse.team.internal.ccvs.core.CVSTag;
import org.eclipse.team.internal.ccvs.core.ICVSFolder;
import org.eclipse.team.internal.ccvs.core.ICVSResource;
-import org.eclipse.team.internal.ccvs.core.ICVSResourceVisitor;
import org.eclipse.team.internal.ccvs.core.Policy;
+import org.eclipse.team.internal.ccvs.core.util.Assert;
+import org.eclipse.team.internal.ccvs.core.resources.RemoteModule;
import org.eclipse.team.internal.ccvs.core.client.Command.GlobalOption;
import org.eclipse.team.internal.ccvs.core.client.Command.LocalOption;
import org.eclipse.team.internal.ccvs.core.client.Command.Option;
import org.eclipse.team.internal.ccvs.core.client.listeners.ICommandOutputListener;
import org.eclipse.team.internal.ccvs.core.client.listeners.ModuleDefinitionsListener;
+import org.eclipse.team.internal.ccvs.core.client.listeners.UpdateListener;
import org.eclipse.team.internal.ccvs.core.connection.CVSServerException;
-import org.eclipse.team.internal.ccvs.core.resources.RemoteModule;
-import org.eclipse.team.internal.ccvs.core.util.Assert;
public class Checkout extends Command {
/*** Local options: specific to checkout ***/
@@ -34,6 +34,9 @@ public class Checkout extends Command {
return new LocalOption("-d", moduleName); //$NON-NLS-1$
}
+ /*** Default command output listener ***/
+ private static final ICommandOutputListener DEFAULT_OUTPUT_LISTENER = new UpdateListener(null);
+
/** Command options found in the CVSROOT/modules file */
public static LocalOption ALIAS = new LocalOption("-a"); //$NON-NLS-1$
public static LocalOption makeStatusOption(String status) {
@@ -45,6 +48,10 @@ public class Checkout extends Command {
return "co"; //$NON-NLS-1$
}
+ protected ICommandOutputListener getDefaultCommandOutputListener() {
+ return DEFAULT_OUTPUT_LISTENER;
+ }
+
protected ICVSResource[] computeWorkResources(Session session, LocalOption[] localOptions,
String[] arguments) throws CVSException {

Back to the top