void (VcsAbstractHistorySession session) { List<VcsFileRevision> revisionList = session.getRevisionList(); while (myCheck.isOver(revisionList.size())) revisionList.remove(revisionList.size() - 1); mySession = session; }