public void showHistory(IResource resource, boolean refetch) { if(!refetch && this.resource != null && resource.equals(this.resource)) {
public void showHistory(ISVNRemoteResource remoteResource, boolean refetch) { if (remoteResource == null) { tableHistoryViewer.setInput(null); setContentDescription(Policy.bind("HistoryView.title")); setTitleToolTip("");
	public void showHistory(IResource resource, boolean refetch) {		if(!refetch && this.resource != null && resource.equals(this.resource)) {			return;		} 				RepositoryProvider teamProvider = RepositoryProvider.getProvider(resource.getProject(), SVNProviderPlugin.getTypeId());		if (teamProvider != null) {			try {				ISVNLocalResource localResource = SVNWorkspaceRoot.getSVNResourceFor(resource);				if ( localResource != null				        && !localResource.getStatus().isAdded()				        && localResource.getStatus().isManaged() ) {					ISVNRemoteResource baseResource = localResource.getBaseResource();					historyTableProvider.setRemoteResource(baseResource);					tableHistoryViewer.setInput(baseResource);					setContentDescription(Policy.bind("HistoryView.titleWithArgument", baseResource.getName())); //$NON-NLS-1$					setTitleToolTip(baseResource.getRepositoryRelativePath());					this.resource = resource;				}			} catch (TeamException e) {				SVNUIPlugin.openError(getViewSite().getShell(), null, null, e);			}						}	}