Examples of ItemLatestState


Examples of com.intellij.openapi.vcs.diff.ItemLatestState

        return;
      }
    }
    else
    {
      ItemLatestState itemLatestState = vcs.getDiffProvider().getLastRevision(vFile);
      if (itemLatestState == null)
      {
        return;
      }

      revision = itemLatestState.getNumber();
    }
   
    DiffActionExecutor.showDiff(vcs.getDiffProvider(), revision, vFile, project,
      VcsBackgroundableActions.COMPARE_WITH);
  }
View Full Code Here

Examples of com.intellij.openapi.vcs.diff.ItemLatestState

    {
      revision = vcs.parseRevisionNumber(review.getFileScope().getVcsAfterRev());
    }
    else
    {
      ItemLatestState itemLatestState = vcs.getDiffProvider().getLastRevision(vFile);
      if (itemLatestState == null)
      {
        return;
      }

      revision = itemLatestState.getNumber();
    }
   
    DiffActionExecutor.showDiff(vcs.getDiffProvider(), revision, vFile, project,
      VcsBackgroundableActions.COMPARE_WITH);
  }
View Full Code Here

Examples of com.intellij.openapi.vcs.diff.ItemLatestState

    @Nullable
    public ItemLatestState getLastRevision(@NotNull final VirtualFile virtualFile) {
        ArrayList<VcsException> errors = new ArrayList<VcsException>();
        GetRevisionInfo command = getRevisionInfo(virtualFile, errors);
        if (errors.isEmpty()) {
            return new ItemLatestState(command.getMemberRev(), true, false);
        } else {
            LOGGER.warn("error occurred org.intellij.vcs.mks.MksDiffProvider.getLastRevision");
            return null;
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.