package hudson.scm;

import hudson.scm.CVSChangeLogSet.CVSChangeLog;
import hudson.model.AbstractProject;
import hudson.model.Hudson;

import java.net.URL;
import java.io.IOException;

/**
 * {@link RepositoryBrowser} for CVS.
 *
 * @author Kohsuke Kawaguchi
 */
public abstract class CVSRepositoryBrowser extends RepositoryBrowser<CVSChangeLog> {
    /**
     * Determines the link to the diff between the version
     * in the {@link CVSChangeLogSet.File} to its previous version.
     *
     * @return
     *      null if the browser doesn't have any URL for diff.
     */
    public abstract URL getDiffLink(CVSChangeLogSet.File file) throws IOException;

    /**
     * Determines the link to a single file under CVS.
     * This page should display all the past revisions of this file, etc. 
     *
     * @return
     *      null if the browser doesn't have any suitable URL.
     */
    public abstract URL getFileLink(CVSChangeLogSet.File file) throws IOException;

        private static final long serialVersionUID = 1L;
}

@@ -968,20 +968,16 @@
 ption;%0A%0A
-    
     priv

formatting fix.