handler
. This method invokes handler
on each log entry from startRevision
to endRevision
. startRevision
may be greater or less than endRevision
; this just controls whether the log messages are processed in descending or ascending revision number order.
If startRevision
or endRevision
is invalid, it defaults to the youngest.
If targetPaths
has one or more elements, then only those revisions are processed in which at least one of targetPaths
was changed (i.e., if a file text or properties changed; if dir properties changed or an entry was added or deleted). Each path is relative to the repository location that this object is set to.
If changedPath
is true, then each SVNLogEntry passed to the handler will contain info about all paths changed in that revision it represents. To get them call {@link org.tmatesoft.svn.core.SVNLogEntry#getChangedPaths()} that returns a map,which keys are the changed paths and the values are SVNLogEntryPath objects. If changedPath
is false, changed paths info will not be provided.
If strictNode
is true, copy history will not be traversed (if any exists) when harvesting the revision logs for each path.
Target paths can be both relative to the location of this driver and absolute to the repository root (starts with "/"
).
NOTE: you may not invoke methods of this SVNRepository object from within the provided handler
.
@param targetPaths paths that mean only those revisions at which they were changed
@param startRevision a revision to start from
@param endRevision a revision to end at
@param changedPath if true thenrevision information will also include all changed paths per revision, otherwise not
@param strictNode if true then copy history (if any) is not to be traversed
@param handler a caller's handler that will be dispatched log entry objects
@return the number of revisions traversed
@throws SVNException if a failure occured while connecting to a repository or the user's authentication failed (see {@link org.tmatesoft.svn.core.SVNAuthenticationException})
@see #log(String[],Collection,long,long,boolean,boolean)
@see #log(String[],long,long,boolean,boolean,long,ISVNLogEntryHandler)
@see org.tmatesoft.svn.core.ISVNLogEntryHandler
@see org.tmatesoft.svn.core.SVNLogEntry
@see org.tmatesoft.svn.core.SVNLogEntryPath
|
|