SVNURL topURL = SVNURLUtil.condenceURLs(urls, paths, false); if (paths.isEmpty()) { paths.add("");
SVNURL topURL = SVNURLUtil.condenceURLs(urls, paths, false); if (paths.isEmpty()) { paths.add("");
SVNURL topURL = SVNURLUtil.condenceURLs(urls, paths, false); if (paths.isEmpty()) { paths.add("");
SVNURL topURL = SVNURLUtil.condenceURLs(urls, paths, false); if (paths.isEmpty()) { paths.add("");
SVNURL topURL = SVNURLUtil.condenceURLs(urls, paths, false); if (paths.isEmpty()) { paths.add("");
SVNURL topURL = SVNURLUtil.condenceURLs(urls, paths, false); if (paths.isEmpty()) { paths.add("");
SVNURL topURL = SVNURLUtil.condenceURLs(urls, paths, false); if (paths.isEmpty()) { paths.add("");
SVNURL topURL = SVNURLUtil.condenceURLs(urls, paths, false); if (paths.isEmpty()) { paths.add("");
SVNURL[] urls = (SVNURL[]) lockInfo.keySet().toArray(new SVNURL[lockInfo.size()]); Collection urlPaths = new SVNHashSet(); final SVNURL topURL = SVNURLUtil.condenceURLs(urls, urlPaths, false); if (urlPaths.isEmpty()) { urlPaths.add("");
SVNURL[] urls = (SVNURL[]) lockInfo.keySet().toArray(new SVNURL[lockInfo.size()]); Collection urlPaths = new SVNHashSet(); final SVNURL topURL = SVNURLUtil.condenceURLs(urls, urlPaths, false); if (urlPaths.isEmpty()) { urlPaths.add("");
final SVNURL topURL = SVNURLUtil.condenceURLs(urls, urlPaths, false); if (urlPaths.isEmpty()) { urlPaths.add("");
SVNURL[] urls = (SVNURL[]) lockInfo.keySet().toArray(new SVNURL[lockInfo.size()]); Collection urlPaths = new HashSet(); final SVNURL topURL = SVNURLUtil.condenceURLs(urls, urlPaths, false); if (urlPaths.isEmpty()) { urlPaths.add("");
@Override protected SVNLock run() throws SVNException { int i = 0; SVNURL[] urls = new SVNURL[getOperation().getTargets().size()]; for (SvnTarget target : getOperation().getTargets()) { urls[i++] = target.getURL(); } Collection<String> paths = new SVNHashSet(); SVNURL topURL = SVNURLUtil.condenceURLs(urls, paths, false); if (paths.isEmpty()) { paths.add(""); } Map<String, Long> pathsToRevisions = new SVNHashMap(); for (Iterator<String> p = paths.iterator(); p.hasNext();) { String path = (String) p.next(); path = SVNEncodingUtil.uriDecode(path); pathsToRevisions.put(path, null); } checkCancelled(); SVNRepository repository = getRepositoryAccess().createRepository(topURL, null, true); repository.lock(pathsToRevisions, getOperation().getLockMessage(), getOperation().isStealLock(), this); return getOperation().first(); }
SVNURL[] urls = (SVNURL[]) lockInfo.keySet().toArray(new SVNURL[lockInfo.size()]); Collection urlPaths = new SVNHashSet(); final SVNURL topURL = SVNURLUtil.condenceURLs(urls, urlPaths, false); if (urlPaths.isEmpty()) { urlPaths.add("");
@Override protected SVNLock run() throws SVNException { int i = 0; SVNURL[] urls = new SVNURL[getOperation().getTargets().size()]; for (SvnTarget target : getOperation().getTargets()) { urls[i++] = target.getURL(); } Collection<String> paths = new SVNHashSet(); SVNURL topURL = SVNURLUtil.condenceURLs(urls, paths, false); if (paths.isEmpty()) { paths.add(""); } Map<String, String> pathsToTokens = new SVNHashMap(); for (Iterator<String> p = paths.iterator(); p.hasNext();) { String path = (String) p.next(); path = SVNEncodingUtil.uriDecode(path); pathsToTokens.put(path, null); } checkCancelled(); SVNRepository repository = getRepositoryAccess().createRepository(topURL, null, true); if (!getOperation().isBreakLock()) { pathsToTokens = fetchLockTokens(repository, pathsToTokens); } repository.unlock(pathsToTokens, getOperation().isBreakLock(), this); return getOperation().first(); }
SVNURL rootURL = SVNURLUtil.condenceURLs(urls, paths, false); if (rootURL == null) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_ILLEGAL_URL,
SVNURL rootURL = SVNURLUtil.condenceURLs(urls, paths, false); if (rootURL == null) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_ILLEGAL_URL, "Can not compute common root URL for specified URLs");
SVNURL rootURL = SVNURLUtil.condenceURLs(urls, paths, true); if (rootURL == null) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_ILLEGAL_URL, "Can not compute common root URL for specified URLs");
SVNURL rootURL = SVNURLUtil.condenceURLs(urls, paths, true); if (rootURL == null) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_ILLEGAL_URL,
SVNURL rootURL = SVNURLUtil.condenceURLs(urls, paths, false); if (rootURL == null) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_ILLEGAL_URL, "Can not compute common root URL for specified URLs");