org.tmatesoft.svn.core.replicator
public class SVNReplicationEditor extends Object implements ISVNEditor
Since: 1.1.0
Version: 1.1.1
See Also: SVNRepository
Constructor Summary | |
---|---|
SVNReplicationEditor(SVNRepository repository, ISVNEditor commitEditor, SVNLogEntry revision)
Creates a new replication editor.
|
Method Summary | |
---|---|
void | abortEdit() |
void | absentDir(String path) |
void | absentFile(String path) |
void | addDir(String path, String copyFromPath, long copyFromRevision) |
void | addFile(String path, String copyFromPath, long copyFromRevision) |
void | applyTextDelta(String path, String baseChecksum) |
void | changeDirProperty(String name, String value) |
void | changeFileProperty(String path, String name, String value) |
void | closeDir() |
SVNCommitInfo | closeEdit() |
void | closeFile(String path, String textChecksum) |
void | deleteEntry(String path, long revision) |
SVNCommitInfo | getCommitInfo()
Returns commit information on the revision
committed to the replication destination repository.
|
void | openDir(String path, long revision) |
void | openFile(String path, long revision) |
void | openRoot(long revision) |
void | targetRevision(long revision) |
OutputStream | textDeltaChunk(String path, SVNDiffWindow diffWindow) |
void | textDeltaEnd(String path) |
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
Returns: commit info (revision, author, date)