Ensured we log when transitional history is converted
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/HistoryStoreConverter.java b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/HistoryStoreConverter.java index 7584821..338fa9b 100644 --- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/HistoryStoreConverter.java +++ b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/HistoryStoreConverter.java
@@ -31,13 +31,14 @@ return Status.OK_STATUS; IPath indexFile = location.append(HistoryStore.INDEX_FILE); if (!indexFile.toFile().isFile()) { - IPath newIndexDir = location.append(".buckets"); + IPath newIndexDir = location.append(".buckets"); //$NON-NLS-1$ if (!newIndexDir.toFile().isDirectory()) // nothing to be converted return Status.OK_STATUS; - MultiStatus status = new MultiStatus(ResourcesPlugin.PI_RESOURCES, IStatus.INFO, Policy.bind("history.conversionTransitional"), null); //$NON-NLS-1$ + MultiStatus status = new MultiStatus(ResourcesPlugin.PI_RESOURCES, IStatus.OK, Policy.bind("history.conversionTransitional"), null); //$NON-NLS-1$ convertFromTransitionalFormat(status, newIndexDir.toFile(), destination); Workspace.clear(newIndexDir.toFile()); + status.add(new ResourceStatus(IStatus.INFO, IStatus.OK, null, Policy.bind("history.conversionSucceeded"), null)); return status; } // visit all existing entries and add them to the new history store
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/messages.properties b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/messages.properties index 066e3ba..36b081a 100644 --- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/messages.properties +++ b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/messages.properties
@@ -383,7 +383,7 @@ ### history store -history.conversionTransitional = Conversion of transitional local history performed. +history.conversionTransitional = Performing conversion of transitional local history. history.conversionFailed = Conversion of local history completed. history.conversionSucceeded = Conversion of local history completed successfully. history.corrupt = The history store got corrupted. Local history is lost. A new store is being created.