public SVNStatusType getCombinedNodeAndContentsStatus() { int workingCopyFormat = getWorkingCopyFormat(); SVNStatusType nodeStatus = getNodeStatus(); SVNStatusType contentsStatus = getContentsStatus(); boolean versioned = isVersioned(); boolean conflicted = isConflicted(); return combineNodeAndContentsStatus(workingCopyFormat, nodeStatus, contentsStatus, versioned, conflicted); }
public void printStatus(String path, SVNStatus status, boolean detailed, boolean showLastCommitted, boolean skipUnrecognized, boolean showReposLocks) throws SVNException { if (status == null || (skipUnrecognized && !(status.isVersioned() || status.getTreeConflict() != null || status.getNodeStatus() == SVNStatusType.STATUS_EXTERNAL)) || (combineStatus(status) == SVNStatusType.STATUS_NONE && status.getRemoteContentsStatus() == SVNStatusType.STATUS_NONE)) { return; String wcRevision; char remoteStatus; if (!status.isVersioned()) { wcRevision = ""; } else if (status.isCopied()) { String commitAuthor = ""; if (status.isVersioned() && status.getCommittedRevision().isValid()) { commitRevision = status.getCommittedRevision().toString(); } else if (status.isVersioned()) { commitRevision = " ? "; if (status.isVersioned() && status.getAuthor() != null) { commitAuthor = status.getAuthor(); } else if (status.isVersioned()) { commitAuthor = " ? ";
public void printStatus(String path, SVNStatus status, boolean detailed, boolean showLastCommitted, boolean skipUnrecognized, boolean showReposLocks) throws SVNException { if (status == null || (skipUnrecognized && !(status.isVersioned() || status.getTreeConflict() != null || status.getNodeStatus() == SVNStatusType.STATUS_EXTERNAL)) || (combineStatus(status) == SVNStatusType.STATUS_NONE && status.getRemoteContentsStatus() == SVNStatusType.STATUS_NONE)) { return; String wcRevision; char remoteStatus; if (!status.isVersioned()) { wcRevision = ""; } else if (status.isCopied()) { String commitAuthor = ""; if (status.isVersioned() && status.getCommittedRevision().isValid()) { commitRevision = status.getCommittedRevision().toString(); } else if (status.isVersioned()) { commitRevision = " ? "; if (status.isVersioned() && status.getAuthor() != null) { commitAuthor = status.getAuthor(); } else if (status.isVersioned()) { commitAuthor = " ? ";
xmlMap.put("file-external", "true"); if (status.isVersioned() && !status.isCopied()) { xmlMap.put("revision", status.getRevision().toString()); if (status.isVersioned() && status.getCommittedRevision().isValid()) { xmlBuffer = openXMLTag("commit", SVNXMLUtil.XML_STYLE_NORMAL, "revision", status.getCommittedRevision().toString(), xmlBuffer); xmlBuffer = openCDataTag("author", status.getAuthor(), xmlBuffer); if (status.isVersioned() && status.getLocalLock() != null) { xmlBuffer = openXMLTag("lock", SVNXMLUtil.XML_STYLE_NORMAL, null, xmlBuffer); xmlBuffer = openCDataTag("token", status.getLocalLock().getID(), xmlBuffer);
xmlMap.put("file-external", "true"); if (status.isVersioned() && !status.isCopied()) { xmlMap.put("revision", status.getRevision().toString()); if (status.isVersioned() && status.getCommittedRevision().isValid()) { xmlBuffer = openXMLTag("commit", SVNXMLUtil.XML_STYLE_NORMAL, "revision", status.getCommittedRevision().toString(), xmlBuffer); xmlBuffer = openCDataTag("author", status.getAuthor(), xmlBuffer); if (status.isVersioned() && status.getLocalLock() != null) { xmlBuffer = openXMLTag("lock", SVNXMLUtil.XML_STYLE_NORMAL, null, xmlBuffer); xmlBuffer = openCDataTag("token", status.getLocalLock().getID(), xmlBuffer);
result.setVersioned(status.isVersioned()); result.setWcLocked(status.isLocked());