Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2005-05-31 16:23:09 +0000
committerMichael Valenta2005-05-31 16:23:09 +0000
commit2ed88ca5fabc3758a4e7864df50a7a3736d78ba0 (patch)
treea8e6608d7192384fa1d10878f58bcff968e04232
parent96108cd0f321601211298e6915c62c2da4a1b189 (diff)
downloadeclipse.platform.team-2ed88ca5fabc3758a4e7864df50a7a3736d78ba0.tar.gz
eclipse.platform.team-2ed88ca5fabc3758a4e7864df50a7a3736d78ba0.tar.xz
eclipse.platform.team-2ed88ca5fabc3758a4e7864df50a7a3736d78ba0.zip
Bug 96122 New password not accepted after change
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java
index f1acf7b96..f2d68af89 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/connection/CVSRepositoryLocation.java
@@ -894,7 +894,10 @@ public class CVSRepositoryLocation extends PlatformObject implements ICVSReposit
public void setAllowCaching(boolean value) {
allowCaching = value;
- updateCache();
+ if (allowCaching)
+ updateCache();
+ else
+ flushCache();
}
public void updateCache() {

Back to the top