Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-05-12 14:33:45 +0000
committerMichael Valenta2004-05-12 14:33:45 +0000
commitd7485f19256f1de07f4bee9cee32899e28ec1777 (patch)
treea11683fe8df6522e76e72b8ab72b20daa57c2226
parenta073ce7cd27d73ad473c1d7ecb5de19288cd7d6e (diff)
downloadeclipse.platform.team-d7485f19256f1de07f4bee9cee32899e28ec1777.tar.gz
eclipse.platform.team-d7485f19256f1de07f4bee9cee32899e28ec1777.tar.xz
eclipse.platform.team-d7485f19256f1de07f4bee9cee32899e28ec1777.zip
52475: Selecting "No" on overwrite prompt appears to be the same as "Cancel"
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java
index 6bc819f9d..dd37169c2 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CheckoutProjectOperation.java
@@ -303,7 +303,8 @@ public abstract class CheckoutProjectOperation extends CheckoutOperation {
IProject project = projects[i];
Policy.checkCanceled(monitor);
if (needsPromptForOverwrite(project) && !promptToOverwrite(remoteFolder, project)) {
- Policy.cancelOperation();
+ // User said no to this project but not no to all
+ return new CVSStatus(IStatus.INFO, CVSStatus.CANCEL, "Checkout of remote folder {0} cancelled by user" + remoteFolder.getRepositoryRelativePath());
}
}
// Create the projects and remove any previous content

Back to the top