|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc.admin.SVNAdminBasicClient org.tmatesoft.svn.core.wc.admin.SVNAdminClient
public class SVNAdminClient
The SVNAdminClient class provides methods that brings repository-side functionality and repository synchronizing features.
Repository administrative methods are analogues of the corresponding commands of the native Subversion 'svnadmin' utility, while repository synchronizing methods are the ones for the 'svnsync' utility.
Here's a list of the SVNAdminClient's methods matched against corresponing commands of the Subversion svnsync and svnadmin command-line utilities:
SVNKit | Subversion |
doInitialize() | 'svnsync initialize' |
doSynchronize() | 'svnsync synchronize' |
doInfo() | 'svnsync info' |
doCopyRevisionProperties() | 'svnsync copy-revprops' |
doDump() | 'svnadmin dump' |
doListTransactions() | 'svnadmin lstxns' |
doLoad() | 'svnadmin load' |
doRemoveTransactions() | 'svnadmin rmtxns' |
doVerify() | 'svnadmin verify' |
doPack() | 'svnadmin pack' |
Field Summary |
---|
Fields inherited from interface org.tmatesoft.svn.core.wc.ISVNEventHandler |
---|
UNKNOWN |
Fields inherited from interface org.tmatesoft.svn.core.ISVNCanceller |
---|
NULL |
Constructor Summary | |
---|---|
SVNAdminClient(ISVNAuthenticationManager authManager,
ISVNOptions options)
Creates a new admin client. |
|
SVNAdminClient(ISVNRepositoryPool repositoryPool,
ISVNOptions options)
Creates a new admin client. |
Method Summary | |
---|---|
void |
doCompleteSynchronize(SVNURL fromURL,
SVNURL toURL)
Completely synchronizes two repositories. |
void |
doCopyRevisionProperties(SVNURL toURL,
long startRevision,
long endRevision)
Copies revision properties from the source repository starting at startRevision and up to
endRevision to corresponding revisions of the destination repository represented by
toURL . |
SVNURL |
doCreateRepository(java.io.File path,
java.lang.String uuid,
boolean enableRevisionProperties,
boolean force)
Creates an FSFS-type repository. |
SVNURL |
doCreateRepository(java.io.File path,
java.lang.String uuid,
boolean enableRevisionProperties,
boolean force,
boolean pre14Compatible)
Creates an FSFS-type repository. |
SVNURL |
doCreateRepository(java.io.File path,
java.lang.String uuid,
boolean enableRevisionProperties,
boolean force,
boolean pre14Compatible,
boolean pre15Compatible)
Creates an FSFS-type repository. |
SVNURL |
doCreateRepository(java.io.File path,
java.lang.String uuid,
boolean enableRevisionProperties,
boolean force,
boolean pre14Compatible,
boolean pre15Compatible,
boolean pre16Compatible)
Creates an FSFS-type repository. |
SVNURL |
doCreateRepository(java.io.File path,
java.lang.String uuid,
boolean enableRevisionProperties,
boolean force,
boolean pre14Compatible,
boolean pre15Compatible,
boolean pre16Compatible,
boolean pre17Compatible,
boolean with17Compatible)
|
void |
doDump(java.io.File repositoryRoot,
java.io.OutputStream dumpStream,
SVNRevision startRevision,
SVNRevision endRevision,
boolean isIncremental,
boolean useDeltas)
Dumps contents of the repository to the provided output stream in a 'dumpfile' portable format. |
void |
doFilter(java.io.InputStream dumpStream,
java.io.OutputStream resultDumpStream,
boolean exclude,
boolean renumberRevisions,
boolean dropEmptyRevisions,
boolean preserveRevisionProperties,
java.util.Collection prefixes,
boolean skipMissingMergeSources)
Filters out nodes with or without the given prefixes from dumpStream
to resultDumpStream . |
void |
doHotCopy(java.io.File srcRepositoryRoot,
java.io.File newRepositoryRoot)
Makes a hot copy of a repository located at srcRepositoryRoot to one located at
newRepositoryRoot . |
SVNSyncInfo |
doInfo(SVNURL toURL)
Returns information about the synchronization repository located at toURL . |
void |
doInitialize(SVNURL fromURL,
SVNURL toURL)
Initializes synchronization between source and target repositories. |
void |
doListLocks(java.io.File repositoryRoot)
Walks through the repository tree found under repositoryRoot and reports all found locks
via calls to the caller's ISVNAdminEventHandler handler implementation. |
void |
doListTransactions(java.io.File repositoryRoot)
Lists all uncommitted transactions. |
void |
doLoad(java.io.File repositoryRoot,
java.io.InputStream dumpStream)
Reads the provided dump stream committing new revisions to a repository. |
void |
doLoad(java.io.File repositoryRoot,
java.io.InputStream dumpStream,
boolean usePreCommitHook,
boolean usePostCommitHook,
SVNUUIDAction uuidAction,
java.lang.String parentDir)
Reads the provided dump stream committing new revisions to a repository. |
void |
doPack(java.io.File repositoryRoot)
Compacts a repository into a more efficient storage model. |
void |
doRecover(java.io.File repositoryRoot)
Recovers the repository found under repositoryRoot . |
void |
doRemoveLocks(java.io.File repositoryRoot,
java.lang.String[] paths)
Removes locks from the specified paths in the repository found under
repositoryRoot . |
void |
doRemoveTransactions(java.io.File repositoryRoot,
java.lang.String[] transactions)
Removes the specified outstanding transactions from a repository. |
void |
doSetUUID(java.io.File repositoryRoot,
java.lang.String uuid)
Resets the repository UUID with the provided uuid for the repository located at
repositoryRoot . |
void |
doSynchronize(SVNURL toURL)
Synchronizes the repository at the given url. |
void |
doUpgrade(java.io.File repositoryRoot)
Upgrades the repository located at repositoryRoot to the latest supported
schema version. |
void |
doVerify(java.io.File repositoryRoot)
Verifies the data stored in the repository. |
void |
doVerify(java.io.File repositoryRoot,
SVNRevision startRevision,
SVNRevision endRevision)
Verifies repository contents found under repositoryRoot starting at startRevision
and up to endRevision . |
long |
getYoungestRevision(java.io.File repositoryRoot)
Returns the HEAD revision of the repository located at repositoryRoot . |
protected void |
handleNormalizedProperties(int normalizedRevPropsCount,
int normalizedNodePropsCount)
|
protected void |
handlePropertesCopied(boolean foundSyncProps,
long revision)
|
static SVNProperties |
normalizeRevisionProperties(SVNProperties revProps)
|
static java.lang.String |
normalizeString(java.lang.String string)
|
void |
setEventHandler(ISVNEventHandler handler)
Sets an event handler for this object. |
void |
setReplayHandler(ISVNLogEntryHandler handler)
Sets a replication handler that will receive a log entry object per each replayed revision. |
Methods inherited from class org.tmatesoft.svn.core.wc.admin.SVNAdminBasicClient |
---|
checkCancelled, createRepository, dispatchEvent, getDebugLog, getEventDispatcher, getOptions, handleEvent, setDebugLog, setIgnoreExternals, setOptions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVNAdminClient(ISVNAuthenticationManager authManager, ISVNOptions options)
authManager
- an auth manageroptions
- an options driverpublic SVNAdminClient(ISVNRepositoryPool repositoryPool, ISVNOptions options)
repositoryPool
- a repository pooloptions
- an options driverMethod Detail |
---|
public void setReplayHandler(ISVNLogEntryHandler handler)
Log entries dispatched to the handler may not contain changed paths and committed log message until this features are implemented in future releases.
handler
- a replay handlerpublic void setEventHandler(ISVNEventHandler handler)
ISVNAdminEventHandler
should be provided to SVNAdminClent
via this method also. But it does not mean that you can have two handler set, only
one handler can be used at a time.
setEventHandler
in class SVNAdminBasicClient
handler
- an event handlerpublic SVNURL doCreateRepository(java.io.File path, java.lang.String uuid, boolean enableRevisionProperties, boolean force) throws SVNException
SVNRepositoryFactory.createLocalRepository(File, String, boolean, boolean)
}.
If uuid
is null a new uuid will be generated, otherwise
the specified will be used.
If enableRevisionProperties
is true, an empty
pre-revprop-change hook will be placed into the repository /hooks subdir. This enables changes to
revision properties of the newly created repository.
If force
is true and path
already
exists, deletes that path and creates a repository in its place.
path
- a repository root dir pathuuid
- a repository uuidenableRevisionProperties
- enables/disables changes to revision propertiesforce
- forces operation to run
SVNException
doCreateRepository(File, String, boolean, boolean, boolean)
public SVNURL doCreateRepository(java.io.File path, java.lang.String uuid, boolean enableRevisionProperties, boolean force, boolean pre14Compatible) throws SVNException
SVNRepositoryFactory.createLocalRepository(File, String, boolean, boolean)
}.
If uuid
is null a new uuid will be generated, otherwise
the specified will be used.
If enableRevisionProperties
is true, an empty
pre-revprop-change hook will be placed into the repository /hooks subdir. This enables changes to
revision properties of the newly created repository.
If force
is true and path
already
exists, deletes that path and creates a repository in its place.
Set pre14Compatible
to true if you want a new repository
to be compatible with pre-1.4 servers.
path
- a repository root dir pathuuid
- a repository uuidenableRevisionProperties
- enables/disables changes to revision propertiesforce
- forces operation to runpre14Compatible
- true to
create a repository with pre-1.4 format
SVNException
public SVNURL doCreateRepository(java.io.File path, java.lang.String uuid, boolean enableRevisionProperties, boolean force, boolean pre14Compatible, boolean pre15Compatible, boolean pre16Compatible) throws SVNException
SVNRepositoryFactory.createLocalRepository(File, String, boolean, boolean)
}.
If uuid
is null a new uuid will be generated, otherwise
the specified will be used.
If enableRevisionProperties
is true, an empty
pre-revprop-change hook will be placed into the repository /hooks subdir. This enables changes to
revision properties of the newly created repository.
If force
is true and path
already
exists, deletes that path and creates a repository in its place.
Set pre14Compatible
to true if you want a new repository
to be compatible with pre-1.4 servers, pre15Compatible
- with pre-1.5 servers and
pre16Compatible
- with pre-1.6 servers.
There must be only one option (either pre14Compatible
or pre15Compatible
or pre16Compatible
)
set to true at a time.
path
- a repository root dir pathuuid
- a repository uuidenableRevisionProperties
- enables/disables changes to revision propertiesforce
- forces operation to runpre14Compatible
- true to
create a repository with pre-1.4 formatpre15Compatible
- true to
create a repository with pre-1.5 formatpre16Compatible
- true to
create a repository with pre-1.6 format
SVNException
public SVNURL doCreateRepository(java.io.File path, java.lang.String uuid, boolean enableRevisionProperties, boolean force, boolean pre14Compatible, boolean pre15Compatible, boolean pre16Compatible, boolean pre17Compatible, boolean with17Compatible) throws SVNException
SVNException
public SVNURL doCreateRepository(java.io.File path, java.lang.String uuid, boolean enableRevisionProperties, boolean force, boolean pre14Compatible, boolean pre15Compatible) throws SVNException
SVNRepositoryFactory.createLocalRepository(File, String, boolean, boolean)
}.
If uuid
is null a new uuid will be generated, otherwise
the specified will be used.
If enableRevisionProperties
is true, an empty
pre-revprop-change hook will be placed into the repository /hooks subdir. This enables changes to
revision properties of the newly created repository.
If force
is true and path
already
exists, deletes that path and creates a repository in its place.
Set pre14Compatible
to true if you want a new repository
to be compatible with pre-1.4 servers, pre15Compatible
- with pre-1.5 servers.
There must be only one option (either pre14Compatible
or pre15Compatible
)
set to true at a time.
path
- a repository root dir pathuuid
- a repository uuidenableRevisionProperties
- enables/disables changes to revision propertiesforce
- forces operation to runpre14Compatible
- true to
create a repository with pre-1.4 formatpre15Compatible
- true to
create a repository with pre-1.5 format
SVNException
public void doCopyRevisionProperties(SVNURL toURL, long startRevision, long endRevision) throws SVNException
startRevision
and up to
endRevision
to corresponding revisions of the destination repository represented by
toURL
.
This method is equivalent to the command 'copy-revprops' of the native Subversion svnsync utility.
Note that the destination repository given as toURL
must be synchronized with a source
repository. Please, see doInitialize(SVNURL, SVNURL)
} how to initialize such a synchronization.
provided
an event handler, the handler will
receive an SVNAdminEvent
with the SVNAdminEventAction.REVISION_PROPERTIES_COPIED
action
when the properties get copied.
toURL
- a url to the destination repository which must be synchronized
with another repositorystartRevision
- start revisionendRevision
- end revision
SVNException
- in the following cases:
SVNErrorCode.IO_ERROR
error code - if any of revisions
between startRevision
and endRevision
inclusively was not
synchronized yet
public void doInitialize(SVNURL fromURL, SVNURL toURL) throws SVNException
This method is equivalent to the command 'initialize' ('init') of the native Subversion svnsync utility. Initialization places information of a source repository to a destination one (setting special revision properties in revision 0) as well as copies all revision props from revision 0 of the source repository to revision 0 of the destination one.
fromURL
- a source repository urltoURL
- a destination repository url
SVNException
- in the following cases:
SVNErrorCode.IO_ERROR
error code - if
either the target repository's last revision is different from 0
, or
no SVNRevisionProperty.FROM_URL
property value found in the target
repository
exception with SVNErrorCode.RA_PARTIAL_REPLAY_NOT_SUPPORTED
error
code - if the source repository does not support partial replay
public SVNSyncInfo doInfo(SVNURL toURL) throws SVNException
toURL
.
toURL
- destination repository url
SVNException
public void doPack(java.io.File repositoryRoot) throws SVNException
repositoryRoot
- root of the repository to pack
SVNException
public void doCompleteSynchronize(SVNURL fromURL, SVNURL toURL) throws SVNException
This method initializes the destination repository and then copies all revision
changes (including revision properties)
from the given source repository to the destination one. First it
tries to use synchronization features similar to the native Subversion
'svnsync' capabilities. But if a server does not support
replay
functionality, SVNKit uses its own repository
replication feature (see SVNRepositoryReplicator
})
fromURL
- a url of a repository to copy fromtoURL
- a destination repository url
SVNException
public void doSynchronize(SVNURL toURL) throws SVNException
Synchronization means copying revision changes and revision properties from the source repository (that the destination one is synchronized with) to the destination one starting at the last merged revision. This method is equivalent to the command 'synchronize' ('sync') of the native Subversion svnsync utility.
toURL
- a destination repository url
SVNException
public void doListLocks(java.io.File repositoryRoot) throws SVNException
repositoryRoot
and reports all found locks
via calls to the caller's ISVNAdminEventHandler
handler implementation.
On each locked path found this method dispatches an SVNAdminEventAction.LOCK_LISTED
event
to the caller's handler providing the
lock information
.
repositoryRoot
- repository root location
SVNException
public void doRemoveLocks(java.io.File repositoryRoot, java.lang.String[] paths) throws SVNException
paths
in the repository found under
repositoryRoot
.
If any path of the paths
is not locked, then an event
with the
SVNAdminEventAction.NOT_LOCKED
action is dispatched to the caller's ISVNAdminEventHandler
handler.
If, on the contrary, a path is locked, it is unlocked and an event with the
SVNAdminEventAction.UNLOCKED
action is dispatched to the caller's handler providing the
lock information
.
If some error occurs while unlocking, an event with the SVNAdminEventAction.UNLOCK_FAILED
action
is dispatched to the caller's handler providing the error description
.
repositoryRoot
- repository root locationpaths
- paths to unlock
SVNException
public void doListTransactions(java.io.File repositoryRoot) throws SVNException
SVNAdminEvent
with action set to SVNAdminEventAction.TRANSACTION_LISTED
to the registered
ISVNAdminEventHandler
(if any). To register your ISVNAdminEventHandler
pass it to setEventHandler(ISVNEventHandler)
. For this operation the following
information can be retrieved out of SVNAdminEvent
:
SVNAdminEvent.getTxnName()
to get itSVNAdminEvent.getTxnDir()
to get it
repositoryRoot
- a repository root directory path
SVNException
public void doRemoveTransactions(java.io.File repositoryRoot, java.lang.String[] transactions) throws SVNException
SVNAdminEvent
with action set to SVNAdminEventAction.TRANSACTION_REMOVED
to the registered
ISVNAdminEventHandler
(if any). To register your ISVNAdminEventHandler
pass it to setEventHandler(ISVNEventHandler)
. For this operation the following
information can be retrieved out of SVNAdminEvent
:
SVNAdminEvent.getTxnName()
to get itSVNAdminEvent.getTxnDir()
to get it
repositoryRoot
- a repository root directory pathtransactions
- an array with transaction names
SVNException
public void doVerify(java.io.File repositoryRoot) throws SVNException
doVerify(repositoryRoot, SVNRevision.create(0), SVNRevision.HEAD)
.
repositoryRoot
- a repository root directory path
SVNException
- verification failed - a repository may be corruptedpublic void doVerify(java.io.File repositoryRoot, SVNRevision startRevision, SVNRevision endRevision) throws SVNException
repositoryRoot
starting at startRevision
and up to endRevision
. This method uses the dump implementation
(non incremental) passing a dummy output stream to it. This allows to check the integrity of the
repository data.
If startRevision
is invalid
, it defaults to 0
.
If endRevision
is invalid
, it defaults to the HEAD revision.
repositoryRoot
- a repository root directory pathstartRevision
- revision to start verification atendRevision
- revision to stop verification at
SVNException
- verification failed - a repository may be corruptedpublic void doDump(java.io.File repositoryRoot, java.io.OutputStream dumpStream, SVNRevision startRevision, SVNRevision endRevision, boolean isIncremental, boolean useDeltas) throws SVNException
On each revision dumped this method fires an SVNAdminEvent
with action set to SVNAdminEventAction.REVISION_DUMPED
to the registered
ISVNAdminEventHandler
(if any). To register your ISVNAdminEventHandler
pass it to setEventHandler(ISVNEventHandler)
. For this operation the following
information can be retrieved out of SVNAdminEvent
:
SVNAdminEvent.getRevision()
to get it
repositoryRoot
- a repository root directory pathdumpStream
- an output stream to write dumped contents tostartRevision
- the first revision to start dumping fromendRevision
- the last revision to end dumping atisIncremental
- if true
then the first revision dumped will be a
diff against the previous revision; otherwise
the first revision is a fulltext.useDeltas
- if true
deltas will be written instead of fulltexts
SVNException
public void doLoad(java.io.File repositoryRoot, java.io.InputStream dumpStream) throws SVNException
On each revision loaded this method fires an SVNAdminEvent
with action set to SVNAdminEventAction.REVISION_LOADED
to the registered
ISVNAdminEventHandler
(if any). To register your ISVNAdminEventHandler
pass it to setEventHandler(ISVNEventHandler)
. For this operation the following
information can be retrieved out of SVNAdminEvent
:
SVNAdminEvent.getOriginalRevision()
to get itSVNAdminEvent.getRevision()
to get it
A call to this method is equivalent to
doLoad(repositoryRoot, dumpStream, false, false, SVNUUIDAction.DEFAULT, null)
.
repositoryRoot
- the root directory path of the repository where
new revisions will be committeddumpStream
- stream with dumped contents of a repository
SVNException
doLoad(File, InputStream, boolean, boolean, SVNUUIDAction, String)
public void doLoad(java.io.File repositoryRoot, java.io.InputStream dumpStream, boolean usePreCommitHook, boolean usePostCommitHook, SVNUUIDAction uuidAction, java.lang.String parentDir) throws SVNException
On each revision loaded this method fires an SVNAdminEvent
with action set to SVNAdminEventAction.REVISION_LOADED
to the registered
ISVNAdminEventHandler
(if any). To register your ISVNAdminEventHandler
pass it to setEventHandler(ISVNEventHandler)
. For this operation the following
information can be retrieved out of SVNAdminEvent
:
SVNAdminEvent.getOriginalRevision()
to get itSVNAdminEvent.getRevision()
to get it
repositoryRoot
- the root directory path of the repository where
new revisions will be committeddumpStream
- stream with dumped contents of a repositoryusePreCommitHook
- if true
then calls a pre-commit hook before committingusePostCommitHook
- if true
then calls a post-commit hook after committinguuidAction
- one of the three possible ways to treat uuidsparentDir
- if not null
then loads at this directory in the repository
SVNException
public void doRecover(java.io.File repositoryRoot) throws SVNException
repositoryRoot
.
This method can recover only FSFS type repositories and is identical to the 'svnadmin recover'
command.
If the caller has provided
an event handler, the handler will
receive an SVNAdminEvent
with the SVNAdminEventAction.RECOVERY_STARTED
action before
the recovery starts.
repositoryRoot
- repository root location
SVNException
public void doUpgrade(java.io.File repositoryRoot) throws SVNException
repositoryRoot
to the latest supported
schema version. This method is identical to the 'svnadmin upgrade'
command.
This functionality is provided as a convenience for repository administrators who wish to make use of
new Subversion functionality without having to undertake a potentially costly full repository dump
and load operation. As such, the upgrade performs only the minimum amount of work needed to accomplish
this while still maintaining the integrity of the repository. It does not guarantee the most optimized
repository state as a dump and subsequent load would.
If the caller has provided
an event handler, the handler will
receive an SVNAdminEvent
with the SVNAdminEventAction.UPGRADE
action before
the upgrade starts.
repositoryRoot
- repository root location
SVNException
public void doSetUUID(java.io.File repositoryRoot, java.lang.String uuid) throws SVNException
uuid
for the repository located at
repositoryRoot
. This method is identical to the 'svnadmin setuuid'
command.
If no uuid
is specified, then SVNKit
will generate a new one and will use it to
reset the original UUID.
repositoryRoot
- repository root locationuuid
- new UUID to set
SVNException
- exception with SVNErrorCode.BAD_UUID
error code - if the uuid
is malformedpublic void doHotCopy(java.io.File srcRepositoryRoot, java.io.File newRepositoryRoot) throws SVNException
srcRepositoryRoot
to one located at
newRepositoryRoot
. This method is identical to the 'svnadmin hotcopy'
command.
srcRepositoryRoot
- repository to copy data fromnewRepositoryRoot
- repository to copy data to
SVNException
public long getYoungestRevision(java.io.File repositoryRoot) throws SVNException
repositoryRoot
.
Identical to the 'svnlook youngest'
svn command.
repositoryRoot
- repository root location
SVNException
public void doFilter(java.io.InputStream dumpStream, java.io.OutputStream resultDumpStream, boolean exclude, boolean renumberRevisions, boolean dropEmptyRevisions, boolean preserveRevisionProperties, java.util.Collection prefixes, boolean skipMissingMergeSources) throws SVNException
prefixes
from dumpStream
to resultDumpStream
. This method is similar to the functionality provided by the
'svndumpfilter'
utility.
If exclude
is true then filters out nodes with
prefixes
, otherwise nodes without prefixes
.
If the caller has provided
an event handler, the handler will
be called with different actions:
SVNAdminEventAction.DUMP_FILTER_TOTAL_REVISIONS_DROPPED
- use SVNAdminEvent.getDroppedRevisionsCount()
to retrieve the total number of dropped revisions.
SVNAdminEventAction.DUMP_FILTER_DROPPED_RENUMBERED_REVISION
- is sent only when
renumberRevisions
is true and informs that an original
revision (which is provided as SVNAdminEvent.getRevision()
) was dropped.
SVNAdminEventAction.DUMP_FILTER_RENUMBERED_REVISION
- is sent only when
renumberRevisions
is true and informs that the original
revision (provided as SVNAdminEvent.getOriginalRevision()
) was renumbered to SVNAdminEvent.getRevision()
.
SVNAdminEventAction.DUMP_FILTER_DROPPED_NODE
- says that SVNAdminEvent.getPath()
was
dropped.
SVNAdminEventAction.DUMP_FILTER_TOTAL_NODES_DROPPED
- use SVNAdminEvent.getDroppedNodesCount()
to retrieve the total number of dropped nodes.
SVNAdminEventAction.DUMP_FILTER_REVISION_COMMITTED
- is sent to inform that the original
revision SVNAdminEvent.getOriginalRevision()
resulted in SVNAdminEvent.getRevision()
in the output.
SVNAdminEventAction.DUMP_FILTER_REVISION_SKIPPED
- is sent to inform that the original
revision SVNAdminEvent.getRevision()
is dropped (skipped).
dumpStream
- the input repository dump streamresultDumpStream
- the resultant (filtered) dump streamexclude
- whether to exclude or include paths with the specified
prefixes
renumberRevisions
- if true, renumbers revisions left
after filteringdropEmptyRevisions
- if true, then removes revisions
emptied by filteringpreserveRevisionProperties
- if true, then does not filter
revision propertiesprefixes
- prefixes of the path to filterskipMissingMergeSources
- if true, then skips missig merge
sources
SVNException
protected void handlePropertesCopied(boolean foundSyncProps, long revision) throws SVNException
SVNException
protected void handleNormalizedProperties(int normalizedRevPropsCount, int normalizedNodePropsCount) throws SVNException
SVNException
public static SVNProperties normalizeRevisionProperties(SVNProperties revProps) throws SVNException
SVNException
public static java.lang.String normalizeString(java.lang.String string) throws SVNException
SVNException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |