public void handleStatus(SVNStatus status) throws SVNException { if (deletedInRepository[0] && status.getEntry() != null) { status.setRemoteStatus(SVNStatusType.STATUS_DELETED, null, null, null); } handler.handleStatus(status); } };
public void handleStatus(SVNStatus status) throws SVNException { status.setRemoteStatus(SVNStatusType.STATUS_DELETED, null, null, null); getDefaultHandler().handleStatus(status); }
public void handleStatus(SVNStatus status) throws SVNException { status.setContentsStatus(SVNStatusType.STATUS_DELETED); getDefaultHandler().handleStatus(status); }
public void handleStatus(SVNStatus status) throws SVNException { status.setContentsStatus(SVNStatusType.STATUS_DELETED); getDefaultHandler().handleStatus(status); }
public void handleStatus(SVNStatus status) throws SVNException { status.setContentsStatus(SVNStatusType.STATUS_DELETED); getDefaultHandler().handleStatus(status); }
public void receive(SvnTarget target, SvnStatus status) throws SVNException { SVNWCContext context = getStatus.getOperationFactory().getWcContext(); handler.handleStatus(SvnCodec.status(context, status)); } });
public void handleStatus(SVNStatus status) throws SVNException { if (deletedInRepository[0] && status.getEntry() != null) { status.setRemoteStatus(SVNStatusType.STATUS_DELETED, null, null, null); } if (!SVNWCAccess.matchesChangeList(changeLists, status.getEntry())) { return; } handler.handleStatus(status); } };
public void handleStatus(SVNStatus status) throws SVNException { if (deletedInRepository[0] && status.getEntry() != null) { status.setRemoteStatus(SVNStatusType.STATUS_DELETED, null, null, null); } if (!SVNWCAccess.matchesChangeList(changeLists, status.getEntry())) { return; } handler.handleStatus(status); } };
special, getAll, false); if (status != null && handler != null) { handler.handleStatus(status); special, getAll, false); if (status != null && handler != null) { handler.handleStatus(status); getAll, false); if (status != null && handler != null) { handler.handleStatus(status);
special, getAll, false); if (status != null && handler != null) { handler.handleStatus(status); special, getAll, false); if (status != null && handler != null) { handler.handleStatus(status); getAll, false); if (status != null && handler != null) { handler.handleStatus(status);
special, getAll, false); if (status != null && handler != null) { handler.handleStatus(status); special, getAll, false); if (status != null && handler != null) { handler.handleStatus(status); getAll, false); if (status != null && handler != null) { handler.handleStatus(status);
private void handleStatusHash(SVNEntry dirEntry, Map hash, boolean deleted, boolean descend) throws SVNException { ISVNStatusHandler handler = deleted ? this : getDefaultHandler(); for(Iterator paths = hash.keySet().iterator(); paths.hasNext();) { File path = (File) paths.next(); SVNStatus status = (SVNStatus) hash.get(path); if (getWCAccess().isMissing(path)) { status.setContentsStatus(SVNStatusType.STATUS_MISSING); } else if (descend && status.getEntry() != null && status.getKind() == SVNNodeKind.DIR) { SVNAdminArea dir = getWCAccess().retrieve(path); getDirStatus(dirEntry, dir, null, true, isReportAll(), isNoIgnore(), null, true, handler); } if (deleted) { status.setRemoteStatus(SVNStatusType.STATUS_DELETED, null, null, null); } if (isSendableStatus(status)) { handler.handleStatus(status); } } }
private void handleStatusHash(SVNEntry dirEntry, Map hash, boolean deleted, SVNDepth depth) throws SVNException { ISVNStatusHandler handler = deleted ? this : getDefaultHandler(); for(Iterator paths = hash.keySet().iterator(); paths.hasNext();) { File path = (File) paths.next(); SVNStatus status = (SVNStatus) hash.get(path); if (status.getContentsStatus() != SVNStatusType.STATUS_OBSTRUCTED && status.getContentsStatus() != SVNStatusType.STATUS_MISSING && status.getEntry() != null && status.getKind() == SVNNodeKind.DIR && (depth == SVNDepth.UNKNOWN || depth == SVNDepth.IMMEDIATES || depth == SVNDepth.INFINITY)) { SVNAdminArea dir = getWCAccess().retrieve(path); SVNDepth depthMinusOne = depth; if (depthMinusOne == SVNDepth.IMMEDIATES) { depthMinusOne = SVNDepth.EMPTY; } getDirStatus(dirEntry, dir, null, depthMinusOne, isReportAll(), isNoIgnore(), null, true, handler); } if (deleted) { status.setRemoteStatus(SVNStatusType.STATUS_DELETED, null, null, null); } if (isSendableStatus(status)) { handler.handleStatus(status); } } }
private void handleStatusHash(SVNEntry dirEntry, Map hash, boolean deleted, SVNDepth depth) throws SVNException { ISVNStatusHandler handler = deleted ? this : getDefaultHandler(); for(Iterator paths = hash.keySet().iterator(); paths.hasNext();) { File path = (File) paths.next(); SVNStatus status = (SVNStatus) hash.get(path); if (status.getContentsStatus() != SVNStatusType.STATUS_OBSTRUCTED && status.getContentsStatus() != SVNStatusType.STATUS_MISSING && status.getEntry() != null && status.getKind() == SVNNodeKind.DIR && (depth == SVNDepth.UNKNOWN || depth == SVNDepth.IMMEDIATES || depth == SVNDepth.INFINITY)) { SVNAdminArea dir = getWCAccess().retrieve(path); SVNDepth depthMinusOne = depth; if (depthMinusOne == SVNDepth.IMMEDIATES) { depthMinusOne = SVNDepth.EMPTY; } getDirStatus(dirEntry, dir, null, depthMinusOne, isReportAll(), isNoIgnore(), null, true, handler); } if (deleted) { status.setRemoteStatus(SVNStatusType.STATUS_DELETED, null, null, null); } if (isSendableStatus(status)) { handler.handleStatus(status); } } }
private void handleStatusHash(SVNEntry dirEntry, Map hash, boolean deleted, SVNDepth depth) throws SVNException { ISVNStatusHandler handler = deleted ? this : getDefaultHandler(); for(Iterator paths = hash.keySet().iterator(); paths.hasNext();) { File path = (File) paths.next(); SVNStatus status = (SVNStatus) hash.get(path); if (status.getContentsStatus() != SVNStatusType.STATUS_OBSTRUCTED && status.getContentsStatus() != SVNStatusType.STATUS_MISSING && status.getEntry() != null && status.getKind() == SVNNodeKind.DIR && (depth == SVNDepth.UNKNOWN || depth == SVNDepth.IMMEDIATES || depth == SVNDepth.INFINITY)) { SVNAdminArea dir = getWCAccess().retrieve(path); SVNDepth depthMinusOne = depth; if (depthMinusOne == SVNDepth.IMMEDIATES) { depthMinusOne = SVNDepth.EMPTY; } getDirStatus(dirEntry, dir, null, depthMinusOne, isReportAll(), isNoIgnore(), null, true, handler); } if (deleted) { status.setRemoteStatus(SVNStatusType.STATUS_DELETED, null, null, null); } if (isSendableStatus(status)) { handler.handleStatus(status); } } }
SVNStatus status = assembleStatus(path, childDir, fullEntry, dirEntry, fileKind, special, getAll, false); if (status != null && handler != null) { handler.handleStatus(status); handler.handleStatus(status); SVNStatus status = assembleStatus(path, dir, entry, dirEntry, fileKind, special, getAll, false); if (status != null && handler != null) { handler.handleStatus(status);
private void sendUnversionedStatus(File file, String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) throws SVNException { boolean isIgnored = isIgnored(ignorePatterns, name); String path = dir.getRelativePath(myAdminInfo.getAnchor()); path = SVNPathUtil.append(path, name); boolean isExternal = isExternal(path); SVNStatus status = assembleStatus(file, dir, null, null, fileType, special, true, isIgnored); if (status != null) { if (isExternal) { status.setContentsStatus(SVNStatusType.STATUS_EXTERNAL); } if (handler != null && (noIgnore || !isIgnored || isExternal || status.getRemoteLock() != null)) { handler.handleStatus(status); } } }
private void sendUnversionedStatus(File file, String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) throws SVNException { boolean isIgnored = isIgnored(ignorePatterns, name); String path = dir.getRelativePath(myAdminInfo.getAnchor()); path = SVNPathUtil.append(path, name); boolean isExternal = isExternal(path); SVNStatus status = assembleStatus(file, dir, null, null, fileType, special, true, isIgnored); if (status != null) { if (isExternal) { status.setContentsStatus(SVNStatusType.STATUS_EXTERNAL); } if (handler != null && noIgnore || !isIgnored || isExternal || status.getRemoteLock() != null) { handler.handleStatus(status); } } }
private void sendUnversionedStatus(File file, String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) throws SVNException { String path = dir.getRelativePath(myAdminInfo.getAnchor()); path = SVNPathUtil.append(path, name); boolean isIgnored = isIgnored(ignorePatterns, file, getWCRootRelativePath(ignorePatterns, file)); boolean isExternal = isExternal(path); SVNStatus status = assembleStatus(file, dir, null, null, fileType, special, true, isIgnored); if (status != null) { if (isExternal) { status.setContentsStatus(SVNStatusType.STATUS_EXTERNAL); } if (handler != null && (noIgnore || !isIgnored || isExternal || status.getRemoteLock() != null)) { handler.handleStatus(status); } } }
private void sendUnversionedStatus(File file, String name, SVNNodeKind fileType, boolean special, SVNAdminArea dir, Collection ignorePatterns, boolean noIgnore, ISVNStatusHandler handler) throws SVNException { String path = dir.getRelativePath(myAdminInfo.getAnchor()); path = SVNPathUtil.append(path, name); boolean isIgnored = isIgnored(ignorePatterns, file, getWCRootRelativePath(ignorePatterns, file)); boolean isExternal = isExternal(path); SVNStatus status = assembleStatus(file, dir, null, null, fileType, special, true, isIgnored); if (status != null) { if (isExternal) { status.setContentsStatus(SVNStatusType.STATUS_EXTERNAL); } if (handler != null && (noIgnore || !isIgnored || isExternal || status.getRemoteLock() != null)) { handler.handleStatus(status); } } }