IProgressMonitor monitor;
if (m == null)
monitor = new NullProgressMonitor();
else
monitor = m;
monitor.beginTask(NLS.bind(CoreText.PullOperation_TaskName, Integer
.valueOf(repositories.length)), repositories.length * 2);
IWorkspaceRunnable action = new IWorkspaceRunnable() {
public void run(IProgressMonitor mymonitor) throws CoreException {
for (int i = 0; i < repositories.length; i++) {
Repository repository = repositories[i];