public void handleStatus(SVNStatus status) throws SVNException { countConflicts(status); String path = getSVNEnvironment().getRelativePath(status.getFile()); path = SVNCommandUtil.getLocalPath(path); if (status != null && status.getChangelistName() != null) { if (myStatusCache == null) { myStatusCache = new TreeMap(); } if (!myStatusCache.containsKey(status.getChangelistName())) { myStatusCache.put(status.getChangelistName(), new LinkedHashMap()); } ((Map) myStatusCache.get(status.getChangelistName())).put(path, status); return; } if (getSVNEnvironment().isXML()) { if (SVNStatusPrinter.combineStatus(status) == SVNStatusType.STATUS_NONE && status.getRemoteContentsStatus() == SVNStatusType.STATUS_NONE) { return; } StringBuffer xmlBuffer = printXMLStatus(status, path); getSVNEnvironment().getOut().print(xmlBuffer); } else { myStatusPrinter.printStatus(path, status, getSVNEnvironment().isVerbose() || getSVNEnvironment().isUpdate(), getSVNEnvironment().isVerbose(), getSVNEnvironment().isQuiet(), getSVNEnvironment().isUpdate()); } }
public void handleStatus(SVNStatus status) throws SVNException { countConflicts(status); String path = getSVNEnvironment().getRelativePath(status.getFile()); path = SVNCommandUtil.getLocalPath(path); if (status != null && status.getChangelistName() != null) { if (myStatusCache == null) { myStatusCache = new TreeMap(); } if (!myStatusCache.containsKey(status.getChangelistName())) { myStatusCache.put(status.getChangelistName(), new LinkedHashMap()); } ((Map) myStatusCache.get(status.getChangelistName())).put(path, status); return; } if (getSVNEnvironment().isXML()) { if (SVNStatusPrinter.combineStatus(status) == SVNStatusType.STATUS_NONE && status.getRemoteContentsStatus() == SVNStatusType.STATUS_NONE) { return; } StringBuffer xmlBuffer = printXMLStatus(status, path); getSVNEnvironment().getOut().print(xmlBuffer); } else { myStatusPrinter.printStatus(path, status, getSVNEnvironment().isVerbose() || getSVNEnvironment().isUpdate(), getSVNEnvironment().isVerbose(), getSVNEnvironment().isQuiet(), getSVNEnvironment().isUpdate()); } }
switched, false, lockToken, lockOwner, lockComment, lockCreationDate, reposLock, reposRev, reposDate, reposKind, reposAuthor, status.getChangelistName()); return st;
status.getLocalLock() != null || status.getChangelistName() != null || status.isFileExternal();
switched, false, lockToken, lockOwner, lockComment, lockCreationDate, reposLock, reposRev, reposDate, reposKind, reposAuthor, status.getChangelistName()); return st;
switched, false, lockToken, lockOwner, lockComment, lockCreationDate, reposLock, reposRev, reposDate, reposKind, reposAuthor, status.getChangelistName()); return st;
status.getLocalLock() != null || status.getChangelistName() != null || status.isFileExternal();
status.getLocalLock() != null || status.getChangelistName() != null || status.isFileExternal();
switched, false, lockToken, lockOwner, lockComment, lockCreationDate, reposLock, reposRev, reposDate, reposKind, reposAuthor, status.getChangelistName()); return st;
result.setChangedDate(SVNDate.fromDate(status.getCommittedDate())); result.setChangedRevision(revisionNumber(status.getCommittedRevision())); result.setChangelist(status.getChangelistName()); result.setConflicted(status.isConflicted()); result.setCopied(status.isCopied());