Package org.tmatesoft.svn.core.internal.io.fs

Examples of org.tmatesoft.svn.core.internal.io.fs.FSTransactionInfo


        } catch (SVNException svne) {
            throw DAVException.convertError(svne.getErrorMessage(), HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
                    "could not determine youngest revision", null);
        }
       
        FSTransactionInfo txnInfo = null;
        try {
            txnInfo = FSTransactionRoot.beginTransactionForCommit(revision, properties, fsfs);
        } catch (SVNException svne) {
            throw DAVException.convertError(svne.getErrorMessage(), HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
                    "could not begin a transaction", null);
View Full Code Here


       
        return ifHeaders;
    }
   
    public static FSTransactionInfo openTxn(FSFS fsfs, String txnName) throws DAVException {
        FSTransactionInfo txnInfo = null;
        try {
            txnInfo = fsfs.openTxn(txnName);
        } catch (SVNException svne) {
            if (svne.getErrorMessage().getErrorCode() == SVNErrorCode.FS_NO_SUCH_TRANSACTION) {
                throw DAVException.convertError(svne.getErrorMessage(), HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
View Full Code Here

            } catch (SVNException svne) {
                throw DAVException.convertError(svne.getErrorMessage(), HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
                        "Could not determine youngest revision", null);
            }
           
            FSTransactionInfo txnInfo = null;
            try {
                txnInfo = FSTransactionRoot.beginTransactionForCommit(youngestRev, revisionProps, fsfs);
            } catch (SVNException svne) {
                throw DAVException.convertError(svne.getErrorMessage(), HttpServletResponse.SC_INTERNAL_SERVER_ERROR,
                        "Could not begin a transaction", null);
View Full Code Here

    protected DAVRequest getDAVRequest() {
        return null;
    }

    private void makeActivity(DAVResource resource) throws DAVException {
        FSTransactionInfo txnInfo = DAVServletUtil.createActivity(resource, myFSFS);
        DAVServletUtil.storeActivity(resource, txnInfo.getTxnId());
        resource.setExists(true);
        resource.setTxnName(txnInfo.getTxnId());
    }
View Full Code Here

TOP

Related Classes of org.tmatesoft.svn.core.internal.io.fs.FSTransactionInfo

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.