protected Map fetchAllChanges(FSFile changesFile, boolean prefolded) throws SVNException { Map changedPaths = new HashMap(); FSPathChange change = readChange(changesFile); while (change != null) { foldChange(changedPaths, change); if ((FSPathChangeKind.FS_PATH_CHANGE_DELETE == change.getChangeKind() || FSPathChangeKind.FS_PATH_CHANGE_REPLACE == change.getChangeKind()) && !prefolded) { for (Iterator curIter = changedPaths.keySet().iterator(); curIter.hasNext();) { String hashKeyPath = (String) curIter.next(); if (change.getPath().equals(hashKeyPath)) { continue; } if (SVNPathUtil.pathIsChild(change.getPath(), hashKeyPath) != null) { curIter.remove(); } } } change = readChange(changesFile); } return changedPaths; }
protected Map fetchAllChanges(FSFile changesFile, boolean prefolded) throws SVNException { Map changedPaths = new SVNHashMap(); FSPathChange change = readChange(changesFile); while (change != null) { foldChange(changedPaths, change); if ((FSPathChangeKind.FS_PATH_CHANGE_DELETE == change.getChangeKind() || FSPathChangeKind.FS_PATH_CHANGE_REPLACE == change.getChangeKind()) && !prefolded) { for (Iterator curIter = changedPaths.keySet().iterator(); curIter.hasNext();) { String hashKeyPath = (String) curIter.next(); if (change.getPath().equals(hashKeyPath)) { continue; } if (SVNPathUtil.getPathAsChild(change.getPath(), hashKeyPath) != null) { curIter.remove(); } } } change = readChange(changesFile); } return changedPaths; }
protected Map fetchAllChanges(FSFile changesFile, boolean prefolded) throws SVNException { Map changedPaths = new SVNHashMap(); FSPathChange change = readChange(changesFile); while (change != null) { foldChange(changedPaths, change); if ((FSPathChangeKind.FS_PATH_CHANGE_DELETE == change.getChangeKind() || FSPathChangeKind.FS_PATH_CHANGE_REPLACE == change.getChangeKind()) && !prefolded) { for (Iterator curIter = changedPaths.keySet().iterator(); curIter.hasNext();) { String hashKeyPath = (String) curIter.next(); if (change.getPath().equals(hashKeyPath)) { continue; } if (SVNPathUtil.getPathAsChild(change.getPath(), hashKeyPath) != null) { curIter.remove(); } } } change = readChange(changesFile); } return changedPaths; }
protected Map fetchAllChanges(FSFile changesFile, boolean prefolded) throws SVNException { Map changedPaths = new SVNHashMap(); FSPathChange change = readChange(changesFile); while (change != null) { foldChange(changedPaths, change); if ((FSPathChangeKind.FS_PATH_CHANGE_DELETE == change.getChangeKind() || FSPathChangeKind.FS_PATH_CHANGE_REPLACE == change.getChangeKind()) && !prefolded) { for (Iterator curIter = changedPaths.keySet().iterator(); curIter.hasNext();) { String hashKeyPath = (String) curIter.next(); if (change.getPath().equals(hashKeyPath)) { continue; } if (SVNPathUtil.getPathAsChild(change.getPath(), hashKeyPath) != null) { curIter.remove(); } } } change = readChange(changesFile); } return changedPaths; }