List<Revision> canditates = new ArrayList<Revision>();
for (Map.Entry<String, List<RemoteConfig>> entry : repoMap.entrySet()) {
FilePath workspace = new FilePath(localWorkspace);
if (StringUtils.isNotEmpty(entry.getKey()) && !entry.getKey().equals(".")) {
workspace = workspace.child(entry.getKey());
}
IGitAPI git = new GitAPI(gitExe, workspace, listener, environment);
if (git.hasGitRepo()) {
// Repo is there - do a fetch
listener.getLogger().println("Fetching changes from the remote Git repositories");