Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-08-23 18:12:06 +0000
committerMichael Valenta2004-08-23 18:12:06 +0000
commitfe6f389eba56a32f5f0412ed8147312e1ea5df08 (patch)
tree483b708cd4d6bc70519e748d5063cf774c1b09c0
parent2bfeca608a1cc013551012fa9dd9785df591b6db (diff)
downloadeclipse.platform.team-fe6f389eba56a32f5f0412ed8147312e1ea5df08.tar.gz
eclipse.platform.team-fe6f389eba56a32f5f0412ed8147312e1ea5df08.tar.xz
eclipse.platform.team-fe6f389eba56a32f5f0412ed8147312e1ea5df08.zip
Bug 72277 Prompted multiple times for authentication information on project set import
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSProjectSetCapability.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSProjectSetCapability.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSProjectSetCapability.java
index c5789642c..9ff5796f7 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSProjectSetCapability.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/CVSProjectSetCapability.java
@@ -50,6 +50,7 @@ import org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot;
import org.eclipse.team.internal.ccvs.core.resources.RemoteFolder;
import org.eclipse.team.internal.ccvs.core.resources.RemoteModule;
import org.eclipse.team.internal.ccvs.core.syncinfo.FolderSyncInfo;
+import org.eclipse.team.internal.ccvs.core.util.KnownRepositories;
/**
* An object for serializing and deserializing
@@ -277,6 +278,8 @@ public class CVSProjectSetCapability extends ProjectSetCapability {
return location;
}
}
+ // No existing location was found so add this location to the list of known repositories
+ KnownRepositories.getInstance().addRepository(newLocation, true);
return newLocation;
}

Back to the top