Package org.evolizer.versioncontrol.svn.model.entities

Examples of org.evolizer.versioncontrol.svn.model.entities.SVNVersionedFile.addRevision()


                // I also need to create a new File, as it is actually done by the SVN
                // It's the same of the old one, but with a different path
                SVNVersionedFile newFile = (SVNVersionedFile) createFile(newRevisionFileName);
                newRevision.setChangeSet(changeSet);
                changeSet.addRevision(newRevision); // Transaction -> SVNRevision
                newFile.addRevision(newRevision); // File -> SVNRevision
                newRevision.setFile(newFile); // SVNRevision -> File
                // Keep track of a new file ancestor
                newRevision.setAncestor(oldRevision);
                // I check whether I'm connecting the new SVNRevision to a Branch or to a Release
                if ((branch != null) && (release == null)) {
View Full Code Here


            SVNRevision newRevision = new SVNRevision("" + currentRevisionNum);
            // Usual SVNRevision initialization
            changeSet.addRevision(newRevision); // Transaction -> SVNRevision
            newRevision.setChangeSet(changeSet); // SVNRevision -> Transaction
            newRevision.setAncestor(revision);
            toUpdate.addRevision(newRevision); // File -> SVNRevision
            newRevision.setFile(toUpdate); // SVNRevision -> File
            newRevision.setReport(report); // SVNRevision -> ModificationReport
            if (release != null) {
                release.addReleaseRevision(newRevision); // Release -> SVNRevision
                LOGGER.debug(NLS.bind(MapperMessages.SVNModelMapper_addedFileToRelease, new String[]{
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.