use of org.tigris.subversion.svnclientadapter.ISVNLogMessage in project subclipse by subclipse.
the class SubclipseLinkedTaskInfo method getText.
public String getText() {
if (comment == null && changeSet != null) {
try {
SyncInfoTree syncInfoSet = changeSet.getSyncInfoSet();
SVNStatusSyncInfo info = (SVNStatusSyncInfo) syncInfoSet.getSyncInfo(resource);
ISVNRemoteResource remoteResource = (ISVNRemoteResource) info.getRemote();
SVNRevision rev = remoteResource.getLastChangedRevision();
ISVNLogMessage[] messages = remoteResource.getLogMessages(rev, rev, SVNRevision.START, false, false, 1, false);
comment = messages[0].getMessage();
} catch (TeamException ex) {
comment = changeSet.getComment();
}
}
return comment;
}
Aggregations