Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-10-13 20:16:17 -0400
committerspingel2009-10-13 20:16:17 -0400
commitc1a9ae2235d6b30386a0490a237dcbb1e698b52d (patch)
tree1cd713e6f94d978c2bd67eb707114b65983f80b4 /org.eclipse.mylyn.tasks.core
parent230b062edeec3e68086ab88ec0c36cd24f7772c1 (diff)
downloadorg.eclipse.mylyn.tasks-c1a9ae2235d6b30386a0490a237dcbb1e698b52d.tar.gz
org.eclipse.mylyn.tasks-c1a9ae2235d6b30386a0490a237dcbb1e698b52d.tar.xz
org.eclipse.mylyn.tasks-c1a9ae2235d6b30386a0490a237dcbb1e698b52d.zip
NEW - bug 221939: [releng] manage branches
https://bugs.eclipse.org/bugs/show_bug.cgi?id=221939
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeRepositoriesJob.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeRepositoriesJob.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeRepositoriesJob.java
index 2b1b74f6e..03444dbb8 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeRepositoriesJob.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SynchronizeRepositoriesJob.java
@@ -91,7 +91,7 @@ public class SynchronizeRepositoriesJob extends SynchronizationJob {
monitor.beginTask(Messages.SynchronizeRepositoriesJob_Processing, repositories.size() * 100);
if (TRACE_ENABLED) {
- trace("Starting repository synchronization");
+ trace("Starting repository synchronization"); //$NON-NLS-1$
}
for (TaskRepository repository : repositories) {
if (monitor.isCanceled()) {
@@ -100,7 +100,7 @@ public class SynchronizeRepositoriesJob extends SynchronizationJob {
if (repository.isOffline()) {
if (TRACE_ENABLED) {
- trace("Skipping synchronization for " + repository.getRepositoryLabel());
+ trace("Skipping synchronization for " + repository.getRepositoryLabel()); //$NON-NLS-1$
}
monitor.worked(100);
continue;
@@ -124,20 +124,17 @@ public class SynchronizeRepositoriesJob extends SynchronizationJob {
if (isUser() || queries.isEmpty()) {
monitor.worked(20);
} else {
- if (TRACE_ENABLED) {
- trace("Updating configurarion for " + repository.getRepositoryLabel());
- }
// occasionally request update of repository configuration attributes as part of background synchronizations
updateRepositoryConfiguration(repository, connector, new SubProgressMonitor(monitor, 20));
}
if (TRACE_ENABLED) {
- trace("Synchronizing queries for " + repository.getRepositoryLabel());
+ trace("Synchronizing queries for " + repository.getRepositoryLabel()); //$NON-NLS-1$
}
updateQueries(repository, connector, queries, monitor);
}
if (TRACE_ENABLED) {
- trace("Completed repository synchronization");
+ trace("Completed repository synchronization"); //$NON-NLS-1$
}
// it's better to remove the job from the progress view instead of having it blocked until all child jobs finish
// if (isUser()) {
@@ -192,6 +189,9 @@ public class SynchronizeRepositoriesJob extends SynchronizationJob {
Messages.SynchronizeRepositoriesJob_Updating_repository_configuration_for_X,
repository.getRepositoryUrl()), 100);
if (connector.isRepositoryConfigurationStale(repository, monitor)) {
+ if (TRACE_ENABLED) {
+ trace("Updating configuration for " + repository.getRepositoryLabel()); //$NON-NLS-1$
+ }
connector.updateRepositoryConfiguration(repository, monitor);
repository.setConfigurationDate(new Date());
}

Back to the top