Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-11-01 15:49:47 +0000
committerMichael Valenta2002-11-01 15:49:47 +0000
commit0797623a6f470864317da91528136cb7790cc343 (patch)
tree9e157af8f378b209333cdd4c35d92eec1a73f737
parent81936640f4f2798614f77e4d42cac4019d46aae7 (diff)
downloadeclipse.platform.team-0797623a6f470864317da91528136cb7790cc343.tar.gz
eclipse.platform.team-0797623a6f470864317da91528136cb7790cc343.tar.xz
eclipse.platform.team-0797623a6f470864317da91528136cb7790cc343.zip
Fixed startup with old state file
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryManager.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryManager.java
index b98f8f362..57fc7fe46 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryManager.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/repo/RepositoryManager.java
@@ -330,6 +330,7 @@ public class RepositoryManager {
}
} else {
IPath oldPluginStateLocation = CVSUIPlugin.getPlugin().getStateLocation().append(STATE_FILE);
+ file = oldPluginStateLocation.toFile();
if (file.exists()) {
try {
DataInputStream dis = new DataInputStream(new FileInputStream(file));

Back to the top