/*
  * Add a single log entry to the model.
  *
  * @param info
  * @param logs
  * @param remoteResource
  */
 private void addSingleRevision(
     SyncInfo info, LogEntryCache logs, ICVSRemoteResource remoteResource) {
   ILogEntry logEntry = logs.getLogEntry(remoteResource);
   if (remoteResource != null && !remoteResource.isFolder()) {
     // For incoming deletions grab the comment for the latest on the same branch
     // which is now in the attic.
     try {
       String remoteRevision = ((ICVSRemoteFile) remoteResource).getRevision();
       if (isDeletedRemotely(info)) {
         ILogEntry[] logEntries = logs.getLogEntries(remoteResource);
         for (int i = 0; i < logEntries.length; i++) {
           ILogEntry entry = logEntries[i];
           String revision = entry.getRevision();
           if (entry.isDeletion() && ResourceSyncInfo.isLaterRevision(revision, remoteRevision)) {
             logEntry = entry;
           }
         }
       }
     } catch (TeamException e) {
       // continue and skip deletion checks
     }
   }
   addRemoteChange(info, remoteResource, logEntry);
 }