Package ru.batrdmi.svnplugin.logic

Examples of ru.batrdmi.svnplugin.logic.FileHistoryRetriever$ExtendedScanManager


            revs[1] = e.getData(SVNRevisionGraph.CURRENT_REVISION);
        } else {
            return;
        }
        Arrays.sort(revs, new Revision.RevisionNumberComparator());
        final FileHistoryRetriever historyRetriever = new FileHistoryRetriever(svn, filePath.getVirtualFile());
        new Task.Modal(project, "Loading properties from repository", false) {
            DiffRequest diffRequest;

            @Override
            public void run(@NotNull ProgressIndicator indicator) {
                try {
                    indicator.setText("Loading properties for " + revs[0]);
                    SVNProperties p1 = historyRetriever.getFileProperties(revs[0]);
                    indicator.setText("Loading properties for " + revs[1]);
                    SVNProperties p2 = historyRetriever.getFileProperties(revs[1]);
                    diffRequest = createDiffRequest(project, revs[0], p1, revs[1], p2);
                } catch (SVNException e) {
                    log.error("Error retrieving properties", e);
                }
            }
View Full Code Here


        final Revision revision = event.getData(SVNRevisionGraph.SELECTED_REVISION);
        FilePath filePath = event.getData(SVNRevisionGraph.SRC_FILE);
        if (filePath == null || revision == null) {
            return;
        }
        final FileHistoryRetriever historyRetriever = new FileHistoryRetriever(svn, filePath.getVirtualFile());
        new Task.Modal(project, "Loading properties for " + revision, false) {
            SVNProperties result;

            @Override
            public void run(@NotNull ProgressIndicator indicator) {
                try {
                    result = historyRetriever.getFileProperties(revision);
                } catch (SVNException e) {
                    log.error("Error retrieving properties", e);
                }
            }
View Full Code Here

TOP

Related Classes of ru.batrdmi.svnplugin.logic.FileHistoryRetriever$ExtendedScanManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.