Class SVNReplicationEditor

java.lang.Object
org.tmatesoft.svn.core.replicator.SVNReplicationEditor
All Implemented Interfaces:
ISVNDeltaConsumer, ISVNEditor

public class SVNReplicationEditor extends java.lang.Object implements ISVNEditor
The SVNReplicationEditor is an editor implementation used by a repository replicator as a bridge between an update editor for the source repository and a commit editor of the target one. This editor is provided to an update method of a source SVNRepository driver to properly translate the calls of that driver to calls to a commit editor of the destination SVNRepository driver.
Since:
1.2
Version:
1.3
See Also:
  • Field Details

    • ACCEPT

      private static final int ACCEPT
      See Also:
    • IGNORE

      private static final int IGNORE
      See Also:
    • DECIDE

      private static final int DECIDE
      See Also:
    • myCommitEditor

      private ISVNEditor myCommitEditor
    • myCopiedPaths

      private java.util.Map myCopiedPaths
    • myChangedPaths

      private java.util.Map myChangedPaths
    • myDeletedPaths

      private java.util.Set myDeletedPaths
    • myRepos

      private SVNRepository myRepos
    • myPathsToFileBatons

      private java.util.Map myPathsToFileBatons
    • myDirsStack

      private java.util.Stack myDirsStack
    • myPreviousRevision

      private long myPreviousRevision
    • myTargetRevision

      private long myTargetRevision
    • myCommitInfo

      private SVNCommitInfo myCommitInfo
    • mySourceRepository

      private SVNRepository mySourceRepository
  • Constructor Details

    • SVNReplicationEditor

      public SVNReplicationEditor(SVNRepository repository, ISVNEditor commitEditor, SVNLogEntry revision)
      Creates a new replication editor.

      repository must be created for the root location of the source repository which is to be replicated.

      Parameters:
      repository - a source repository
      commitEditor - a commit editor received from the destination repository driver (which also must be point to the root location of the destination repository)
      revision - log information of the revision to be copied
  • Method Details