revisionStart = SVNRevision.HEAD; ISVNLocalResource localResource = SVNWorkspaceRoot.getSVNResourceFor(resource); try { if (localResource != null && !localResource.getStatus().isAdded()) { ISVNRemoteResource baseResource = localResource.getBaseResource(); historyTableProvider.setRemoteResource(baseResource); tableHistoryViewer.refresh(); } } catch (SVNException e) { SVNUIPlugin.openError(getHistoryPageSite().getShell(), null, null, e);
if(entries != null && tableHistoryViewer != null && !tableHistoryViewer.getTable().isDisposed()) {  if(entries.length > 0) { lastEntry = entries[ entries.length - 1]; long lastEntryNumber = lastEntry.getRevision().getNumber(); revisionStart = new SVNRevision.Number(lastEntryNumber - 1); } tableHistoryViewer.refresh(); selectRevision(revisionId);
      	public void run() {      		revisionStart = SVNRevision.HEAD;      		ISVNLocalResource localResource = SVNWorkspaceRoot.getSVNResourceFor(resource);      		try {                  if (localResource != null && !localResource.getStatus().isAdded()) {                  	ISVNRemoteResource baseResource = localResource.getBaseResource();                  	historyTableProvider.setRemoteResource(baseResource);                  	tableHistoryViewer.refresh();                  }              } catch (SVNException e) {                  SVNUIPlugin.openError(getHistoryPageSite().getShell(), null, null, e);              }      	}