remoteUrls.put(remote, remoteUrl); proj.setUrl(remoteUrl.resolve(proj.getName()).toString()) .setDefaultRevision(revision);
Map<String, List<RepoProject>> m = new TreeMap<>(); for (RepoProject proj : projects) { List<RepoProject> l = m.get(proj.getName()); if (l == null) { l = new ArrayList<>(); m.put(proj.getName(), l); boolean nameConflict = ps.size() != 1; for (RepoProject proj : ps) { String name = proj.getName(); if (nameConflict) { name += SLASH + proj.getPath();
projects.removeIf((p) -> p.getName().equals(name));
StringBuilder attributes = new StringBuilder(); for (RepoProject proj : renamedProjects) { String name = proj.getName(); String path = proj.getPath(); String url = proj.getUrl(); try (Git git = new Git(repo)) { for (RepoProject proj : filteredProjects) { addSubmodule(proj.getName(), proj.getUrl(), proj.getPath(), proj.getRevision(), proj.getCopyFiles(), proj.getLinkFiles(), git);
remoteUrls.put(remote, remoteUrl); proj.setUrl(remoteUrl + proj.getName()) .setDefaultRevision(revision);
Map<String, List<RepoProject>> m = new TreeMap<>(); for (RepoProject proj : projects) { List<RepoProject> l = m.get(proj.getName()); if (l == null) { l = new ArrayList<>(); m.put(proj.getName(), l); boolean nameConflict = ps.size() != 1; for (RepoProject proj : ps) { String name = proj.getName(); if (nameConflict) { name += SLASH + proj.getPath();
remoteUrls.put(remote, remoteUrl); proj.setUrl(remoteUrl.resolve(proj.getName()).toString()) .setDefaultRevision(revision);
projects.removeIf((p) -> p.getName().equals(name));
for (RepoProject proj : bareProjects) { String name = proj.getPath(); String nameUri = proj.getName(); ObjectId objectId; if (ObjectId.isId(proj.getRevision())
StringBuilder attributes = new StringBuilder(); for (RepoProject proj : renamedProjects) { String name = proj.getName(); String path = proj.getPath(); String url = proj.getUrl(); try (Git git = new Git(repo)) { for (RepoProject proj : filteredProjects) { addSubmodule(proj.getName(), proj.getUrl(), proj.getPath(), proj.getRevision(), proj.getCopyFiles(), proj.getLinkFiles(), git);