public static String getLastModifiedBy(File localPath) throws SVNException { final SVNStatus status = SVNClientManager.newInstance().getStatusClient().doStatus(localPath, false); return status != null ? status.getAuthor() : null; }
lastChangedDate = d.getTime() * 1000; String lastCommitAuthor = status.getAuthor(); int textStatus = getStatusValue(status.getContentsStatus()); int propStatus = getStatusValue(status.getPropertiesStatus());
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.getCommittedDate() != null) { xmlBuffer = openCDataTag("date", SVNDate.formatDate(status.getCommittedDate()), xmlBuffer);
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.getCommittedDate() != null) { xmlBuffer = openCDataTag("date", SVNDate.formatDate(status.getCommittedDate()), xmlBuffer);
lastChangedDate = d.getTime() * 1000; String lastCommitAuthor = status.getAuthor(); int textStatus = getStatusValue(status.getContentsStatus()); int propStatus = getStatusValue(status.getPropertiesStatus());
lastChangedDate = d.getTime() * 1000; String lastCommitAuthor = status.getAuthor(); int textStatus = getStatusValue(status.getContentsStatus()); int propStatus = getStatusValue(status.getPropertiesStatus());
lastChangedDate = d.getTime() * 1000; String lastCommitAuthor = status.getAuthor(); int textStatus = getStatusValue(status.getContentsStatus()); int propStatus = getStatusValue(status.getPropertiesStatus());
lastChangedDate = d.getTime() * 1000; String lastCommitAuthor = status.getAuthor(); int textStatus = getStatusValue(status.getContentsStatus()); int propStatus = getStatusValue(status.getPropertiesStatus());
result.setChangedAuthor(status.getAuthor()); result.setChangedDate(SVNDate.fromDate(status.getCommittedDate())); result.setChangedRevision(revisionNumber(status.getCommittedRevision()));
addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); if (status.getCommittedDate() != null) { addTag(DATE_TAG, SVNTimeUtil.formatDate(status.getCommittedDate()));
addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); if (status.getCommittedDate() != null) { addTag(DATE_TAG, SVNDate.formatDate(status.getCommittedDate()));
addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); if (status.getCommittedDate() != null) { addTag(DATE_TAG, SVNDate.formatDate(status.getCommittedDate()));
addAttribute(REVISION_ATTR, status.getCommittedRevision().toString()); openTag(COMMIT_TAG); addTag(AUTHOR_TAG, status.getAuthor()); if (status.getCommittedDate() != null) { addTag(DATE_TAG, SVNDate.formatDate(status.getCommittedDate()));