/**
  * @see
  *     org.eclipse.emf.diffmerge.connector.core.ext.AbstractRevisionScopeDefinitionFactory#getURIConverterForRevision(org.eclipse.team.core.history.IFileRevision)
  */
 @Override
 protected URIConverter getURIConverterForRevision(IFileRevision revision_p) throws CoreException {
   URIConverter result = null;
   IResourceVariant variant = getVariant(revision_p);
   if (variant instanceof BaseFileVariant) {
     // Ancestor
     ILocalResource res = ((BaseFileVariant) variant).getResource();
     IRepositoryLocation location =
         SVNRemoteStorage.instance().getRepositoryLocation(res.getResource());
     result =
         new SVNHistoryURIConverter(
             location, SVNRevision.fromString(variant.getContentIdentifier()));
   } else {
     // Remote
     result = new ExtensibleURIConverterImpl();
   }
   return result;
 }
 /**
  * @see
  *     org.eclipse.emf.diffmerge.connector.core.ext.AbstractRevisionScopeDefinitionFactory#getURIForRevision(org.eclipse.team.core.history.IFileRevision)
  */
 @Override
 protected URI getURIForRevision(IFileRevision revision_p) throws CoreException {
   URI result = null;
   IResourceVariant variant = getVariant(revision_p);
   if (variant instanceof BaseFileVariant) {
     // Ancestor
     ILocalResource res = ((BaseFileVariant) variant).getResource();
     IRepositoryLocation location =
         SVNRemoteStorage.instance().getRepositoryLocation(res.getResource());
     result =
         URI.createURI(
             location.getRepositoryRootUrl()
                 + ((BaseFileVariant) variant).getResource().getResource().getFullPath(),
             true);
   } else {
     // Remote
     IStorage storage = getStorage(revision_p);
     if (storage != null) result = toFileURI(storage.getFullPath().toString());
   }
   return result;
 }