Package org.tmatesoft.svn.core.internal.wc

Examples of org.tmatesoft.svn.core.internal.wc.SVNPath


        if (!getSVNEnvironment().isQuiet()) {
            client.setEventHandler(new SVNNotifyPrinter(getSVNEnvironment()));
        }
        Collection pathsList = new ArrayList(targets.size());
        for(int i = 0; i < targets.size(); i++) {
            SVNPath target = new SVNPath((String) targets.get(i));
            if (target.isFile()) {
                if ("".equals(target.getTarget())) {
                    if (isScheduledForAddition(target.getFile())) {
                        SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.WC_INVALID_OP_ON_CWD,
                                "Cannot revert addition of current directory; please try again from the parent directory");
                        SVNErrorManager.error(err, SVNLogType.CLIENT);
                    }
                }
                pathsList.add(target.getFile());
            }
        }
       
        Collection changeLists = getSVNEnvironment().getChangelistsCollection();
        File[] paths = (File[]) pathsList.toArray(new File[pathsList.size()]);
View Full Code Here

TOP

Related Classes of org.tmatesoft.svn.core.internal.wc.SVNPath

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.