Replicates a repository either incrementally or totally.
If
incremental
is
true then copies a range of revisions from the source repository starting at the revision equal to
dst.getLatestRevision() + 1
(including) and expandig to
src.getLatestRevision()
.
If
incremental
is
false then the revision range to copy is
[1, src.getLatestRevision()]
.
Both
src
and
dst
must be created for the root locations of the repositories.
@param src a source repository to copy from
@param dst a destination repository to copy into
@param incremental controls the way of copying
@return the number of copied revisions
@throws SVNException
@see #replicateRepository(SVNRepository,SVNRepository,long,long)