All Classes and Interfaces
Class
Description
Base class for operations that change repository.
Provides methods allowing to check out, update, switch and
relocate a working copy as well as export an unversioned directory or file
from a repository.
AbstractXMLLogger is a basic XML formatter for all
XML handler classes which are provided in this package.
The BasicAuthenticationManager is a simple implementation of
ISVNAuthenticationManager for storing and providing credentials without
using auth providers.
This interface is used to receive every single line for a file on a
the
ISVNClient.blame(java.lang.String, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Revision, boolean, boolean, org.apache.subversion.javahl.callback.BlameCallback)
call.This interface is used to receive every single line for a file on a
the SVNClientInterface.blame call.
This interface is used to receive every single line for a file on a
the SVNClientInterface.blame call.
This interface is used to receive every single line for a file on a
the SVNClientInterface.blame call.
Implementation of
BlameCallback
interface.Class represeting one line of the lines, i.e.
This interface is used to receive every status item for
the
ISVNClient.status(java.lang.String, org.apache.subversion.javahl.types.Depth, boolean, boolean, boolean, boolean, java.util.Collection<java.lang.String>, org.apache.subversion.javahl.callback.StatusCallback)
call.This interface is used to receive every status item for
the SVNClientInterface.status call.
Actions which may have occurred to this path.
Kinds of checksum
This exception is thrown whenever something goes wrong in the
Subversion JavaHL binding's JNI interface.
This exception is thrown whenever something goes wrong in the
Subversion JavaHL binding's JNI interface.
Subversion notification interface.
The event passed to the
ClientNotifyCallback.onNotify(org.apache.subversion.javahl.ClientNotifyInformation)
API to notify ISVNClient
of relevant events.The type of action triggering the notification
This interface is used to receive commit information from APIs which
generate such.
This class describes a item which will be committed.
This class describes a item which will be committed.
This class describes a item which will be committed.
the class for the commit item state flags.
the class for the commit item state flags.
The constants in this interface describe the changes to an item to
be committed.
The constants in this interface describe the changes to an item to
be committed.
This is callback interface which has to implemented by the client
to receive which files will be committed and to enter the log
message.
This is callback interface which has to implemented by the client
to receive which files will be committed and to enter the log
message.
The description of a merge conflict, encountered during
merge/update/switch operations.
The description of a merge conflict, encountered during
merge/update/switch operations.
Rich man's enum for
svn_wc_conflict_action_t
.Rich man's enum for
svn_wc_conflict_kind_t
.Rich man's enum for
svn_wc_conflict_reason_t
.The callback API used to handle conflicts encountered during
merge/update/switch operations.
The callback API used to handle conflicts encountered during
merge/update/switch operations.
The result returned by the callback API used to handle conflicts
encountered during merge/update/switch operations.
The result returned by the callback API used to handle conflicts
encountered during merge/update/switch operations.
The description of a merge conflict, encountered during
merge/update/switch operations.
The description of a merge conflict, encountered during
merge/update/switch operations.
A description of a copy source.
A description of a copy source.
This is a default implementation for ISVNCommitHandler.
DefaultSVNCommitParameters is the default commit parameters
implementation.
DefaultSVNDiffGenerator is a default implementation of
ISVNDiffGenerator.
The DefaultSVNRepositoryPool class is a default implementation of
the ISVNRepositoryPool interface.
The concept of depth for directories.
The concept of depth for directories.
Options that control the output of
ISVNClient#diff
.The event passed to the
DiffSummaryCallback.onSummary(org.apache.subversion.javahl.DiffSummary)
API
in response to path differences reported by ISVNClient.diffSummarize(java.lang.String, org.apache.subversion.javahl.types.Revision, java.lang.String, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Depth, java.util.Collection<java.lang.String>, boolean, org.apache.subversion.javahl.callback.DiffSummaryCallback)
.The event passed to the
DiffSummaryReceiver.onSummary(DiffSummary)
API in response to path
differences reported by SVNClientInterface.diffSummarize(java.lang.String, org.tigris.subversion.javahl.Revision, java.lang.String, org.tigris.subversion.javahl.Revision, int, java.lang.String[], boolean, org.tigris.subversion.javahl.DiffSummaryReceiver)
.The type of difference being summarized.
The type of difference being summarized.
Subversion diff summarization interface.
Subversion diff summarization interface.
A general subversion directory entry.
A general subversion directory entry.
Provide mappings from error codes generated by the C runtime to meaningful
Java values.
A modification of FNV-1a algorithm.
The kind of change that occurred on the path.
Base class for negotiate authentication support.
Factory interface for Negotiate authentication support.
This interface is used to filter imported nodes in the
{@link ISVNClient#import} call.
this class is returned by
ISVNClient.info2(java.lang.String, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Depth, java.util.Collection<java.lang.String>, org.apache.subversion.javahl.callback.InfoCallback)
and contains information
about items in the repository or working copyGive information about one subversion item (file or directory) in the
working copy
this class is returned by SVNClientInterface.info2 and contains information
about items in the repository or working copy
This interface is used to retrieve info each result in a
ISVNClient.info2(java.lang.String, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Depth, java.util.Collection<java.lang.String>, org.apache.subversion.javahl.callback.InfoCallback)
call.This interface is used to retrieve info each result in a
SVNClientInterface.info2 call.
This interface is used to return regular and inherited property
lists for each path in a
ISVNClient.properties(java.lang.String, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Depth, java.util.Collection<java.lang.String>, org.apache.subversion.javahl.callback.ProplistCallback)
call.Describes properties inherited from one parent.
Interface for data to be received from subversion
used for SVNAdmin.load and SVNAdmin.dump
Represents callback that invokes when inconsistent EOLs are found in text files being scheduled for addition.
The ISVNAddParameters is an interface for a callback which is invoked
when there are inconsistent EOLs found in text files which are being scheduled for addition.
Describes an action add operation should undertake in case of a inconsistent EOLs.
This class is simply used to define an action add
operation should undertake in case of a inconsistent EOLs.
The ISVNAdminEventHandler is used in several methods of SVNAdminClient
to notify callers of operation progress.
The ISVNAnnotateHandler interface should be implemented to be further
provided to SVNLogClient's doAnnotate() methods for processing
annotation information per each text line.
The ISVNAuthenticationManager is implemented by manager
classes used by SVNRepository drivers for user authentication purposes.
The ISVNAuthenticationProvider interface is implemented by user
credentials providers.
The ISVNAuthenticationStorage interface is used to implement custom
runtime authentication storage managers, that are responsible for caching
user credentials as well as for retrieving cached credentials from the
storage of a preferable type (it may be an in-memory cache, or a disk cache).
The ISVNCanceller interface is used in
SVNKit
for cancelling operations.The ISVNChangedDirectoriesHandler is used to process changed
directory paths.
The ISVNChangeEntryHandler is the interface for handling changed paths
in SVNLookClient's
doGetChanged()
methods.The ISVNChangelistHandler is an interface for handlers used in
changelist retrieval methods of
SVNChangelistClient
.This interface is the commom interface for all subversion
operations.
Implementing this interface allows to manage commit log messages for items to be committed in
a common transaction.
The ISVNCommitHandler should be implemented to
provide an ability to manage commit log messages for items to be committed in
a common transaction.
Interface describes the parameters defining behavior for the commit operation
that touches still versioned files or directories that are somehow missing.
ISVNCommitParameters is the interface for parameters
which set behaviour for a commit operation that touches
still versioned files or dirs that are somehow missing.
Describes an instruction that operation should take if it meets unversioned or missing item.
This class is simply used to define an action a commit
operation should undertake in case of a missing file/directory.
The ISVNConflictHandler interface defines a callback for resolving conflicts during the application
of a tree delta to a working copy.
The ISVNConnectionListener is an interface for listeners which are invoked by
SVNRepository
when its connection is opened or closed.The ISVNDeltaConsumer interface is implemented by receivers
of diff windows.
The ISVNDiffGenerator should be implemented by drivers generating
contents difference between files in order to be used in 'diff' operations
performed by SVNDiffClient.
The ISVNDiffStatusHandler is used to handle diff status operations supported by
the SVNDiffClient.
The ISVNDirEntryHandler interface is used to handle information
about directory entries while retrieving dir contents.
The ISVNEditor interface is used by SVNRepository to
update versioned files/dirs, check out files/dirs from a repository,
commit changes to a repository, take status of files/dirs,
get differences between files.
This interface may change until together SVN Ev2 (currently it is not released yet)
The ISVNEventHandler interface should be implemented in
order to be further provided to an SVN*Client
object as a handler of a sequence of events generated by
SVN*Client's do*() methods.
Implementing this interface allows handle an external definition and control whether
to skip externals definitions processing in some operations.
The
ISVNExternalsHandler
provides interface for user defined callbacks which
are used to skip externals definitions processing in some operations.The ISVNFileCheckoutTarget interface is used in the
SVNRepository.checkoutFiles(long, String[], ISVNFileCheckoutTarget)
method to receive versioned file data from the repository.ISVNFileFilter
is used by SVNCommitClient
during an import operation
to filter out undesired paths, so that those paths do not get to a repository.Implementing this interface allows to providing file list for directory.
The ISVNFileRevisionHandler interface should be implemented for handling
information about file revisions - that is file path, properties, revision properties
against a particular revision.
The ISVNGNUDiffGenerator is the interface for diff generators used
in diff operations of SVNLookClient.
The ISVNHistoryHandler is used in history retrieving
operations of SVNLookClient.
The ISVNInfoHandler interface should be implemented in order to
be further provided to some of SVNWCClient's doInfo() methods
to process information about Working Copy as well as remote (located in a
repository) items.
This public interface should be implemented for using within
SVNRepository.getLocations(String, long, long[], ISVNLocationEntryHandler)
.The ISVNLocationSegmentHandler is an interface for location segment handlers which is used in the
SVNRepository.getLocationSegments(String, long, long, long, ISVNLocationSegmentHandler)
method.The ISVNLockHandler interface is used to provide some extra
processing of locked/unlocked paths.
The ISVNLogEntryHandler interface should be implemented
in order to handle per revision commit information (in a kind of
a revisions history operation)- log entries (represented by
SVNLogEntry objects).
Merge driver interface used by
SVNKit
in merging operations.ISVNMerger is the merge driver interface used by
SVNKit
in merging operations.The ISVNMergerFactory interface should be implemented in
order to be used as a factory of merger drivers intended for
merging operations.
The ISVNMergeStrategy interface defines a number of methods
to be used for directories merging.
This interface describes the operation that can receive object(s).
Implementing this interface allows to handle the operation options:
event handler, canceler, options, pool of repositories and authentication manager.
This interface describes Svn* operation runner.
The ISVNOptions interface should be implemented to manage
global run-time configuration options.
The ISVNPathListHandler is used by SVN*Client classes as a callback in operations performed
on multiple paths.
The ISVNPropertyHandler interface should be implemented
to be further provided to SVNWCClient's property managing
methods for handling properties.
Implementing this interface allows to define properties to change.
The ISVNPropertyValueProvider interface should be implemented
to be further provided to
SVNWCClient.doSetProperty(java.io.File, ISVNPropertyValueProvider, boolean, org.tmatesoft.svn.core.SVNDepth, ISVNPropertyHandler, java.util.Collection)
method for defining properties to change.The ISVNProxyManager interface is used to manage http server
options.
The ISVNReplayHandler is used in
SVNRepository.replayRange(long, long, long, boolean, ISVNReplayHandler)
to provide and editor for replaying a revision.The ISVNReplicationHandler is the interface for the handlers
which are registered to a repository replicator to keep track of the
replicating process.
The ISVNReporter interface provides methods to describe
the state of local paths in order to get the differences in revisions
between those local paths and what is actually in the repository.
The ISVNReporterBaton interface should be implemented by callers
of update, checkout, etc.
interface to receive the messages
The ISVNRepositoryPool interface is used by
SVN*Client objects to create a low-level SVN protocol
driver that allows them to directly work with a repository.
The ISVNSession interface provides some extra handling operations over
SVNRepository objects.
The ISVNStatusHandler interface should be implemented in order to
be further provided to some of SVNStatusClient's doStatus() methods
to handle status information of Working Copy items.
The ISVNTreeHandler is used in traversing tree
operations of SVNLookClient.
The ISVNTunnelProvider is the interface for
providers of tunnel command lines matching a specific
"svn+xxx"
tunnel scheme.Working copy administrative database layer.
Enum indicating what kind of versioned object we're talking about.
Lock information.
Enumerated constants for how to open a WC datastore.
Enumerated values describing the state of a node.
The ISVNWorkspaceMediator interface is used for temporary
data storage (mainly instructions and new text data for deltas) as well
as for caching and getting some kind of wcprops.
This error is thrown by error in the native library.
This interface is used to receive every single line for a file on a
the
ISVNClient.list(java.lang.String, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Depth, int, boolean, org.apache.subversion.javahl.callback.ListCallback)
call.This interface is used to receive every single line for a file on a
the SVNClientInterface.blame call.
Class to describe a lock.
Class to describe a lock.
Holds date for a log message.
Holds date for a log message.
This class describes a single subversion revision with log message,
author and date.
This interface is used to receive every log message for the log
messages found by a
ISVNClient.logMessages(java.lang.String, org.apache.subversion.javahl.types.Revision, java.util.List<org.apache.subversion.javahl.types.RevisionRange>, boolean, boolean, boolean, java.util.Set<java.lang.String>, long, org.apache.subversion.javahl.callback.LogMessageCallback)
call.This interface is used to receive every log message for the log
messages found by a SVNClientInterface.logMessages call.
Merge history for a path.
Merge history for a path.
Constants to specify which collection of revisions to report in
getMergeinfoLog.
Constants to specify which collection of revisions to report in
getMergeinfoLog.
This exception is thrown whenever something goes wrong in the
Subversion JavaHL binding's JNI code.
This exception is thrown whenever something goes wrong in the
Subversion JavaHL binding's JNI code.
Handles activities related to management of native resouces
(e.g.
Rich man's enum for svn_node_kind_t
Poor mans enum for svn_node_kind_t
Deprecated.
Use Notify2 instead
The type of action occuring.
The type of notification that is occuring.
Subversion notification interface.
The type of action triggering the notification
The event passed to the
Notify2.onNotify(NotifyInformation)
API to notify SVNClientInterface
of relevant events.Status of the text or the property of the item triggering the
notification.
Provides an implementation for NTLMv1, NTLMv2, and NTLM2 Session forms of the NTLM
authentication protocol.
Cryptography support - HMACMD5 - algorithmically based on various web
resources by Karl Wright
Cryptography support - MD4.
NTLM message generation, base class
Type 1 message assembly class
Type 2 message class
Type 3 message assembly class
Created by alex on 7/3/14.
Poor mans enum for svn_wc_operation_t
Interface to send data to subversion used by SVNAdmin.load.
This interface is invoked before each patch in a
ISVNClient.patch(java.lang.String, java.lang.String, boolean, int, boolean, boolean, boolean, org.apache.subversion.javahl.callback.PatchCallback)
call.Subversion progress event interface.
The event passed to the
ProgressCallback.onProgress(org.apache.subversion.javahl.ProgressEvent)
API to inform
ISVNClient
of command progress (in terms of bytes).The event passed to the
ProgressListener.onProgress(ProgressEvent)
API to inform SVNClientInterface
of command progress (in terms of bytes).Subversion progress event interface.
The original interface for receiving callbacks for authentication.
Partial interface for receiving callbacks for authentication.
The interface for requesting authentication credentials from the
user.
This class describes standard Subversion known properties
This class describes one property managed by Subversion.
This interface is used to property lists for each path in a
ISVNClient.properties(java.lang.String, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Depth, java.util.Collection<java.lang.String>, org.apache.subversion.javahl.callback.ProplistCallback)
call.This interface is used to property lists for each path in a
SVNClientInterface.properties call.
Implementation of
ProplistCallback
interface.This interface is used to desfine an action to take while
repositories are frozen by
ISVNRepos.freeze
.Subversion notification interface.
The event passed to the
ReposNotifyCallback.onNotify(org.apache.subversion.javahl.ReposNotifyInformation)
API to notify ISVNClient
of relevant events.The type of action triggering the notification
Class to specify a revision in a svn command.
Class to specify a revision in a svn command.
class to specify a revision by a date
class to specify a revision by a date
Various ways of specifying revisions.
Various ways of specifying revisions.
class to specify a Revision by number
class to specify a Revision by number
Various ways of specifying revisions.
Object that describes a revision range
Object that describes a revision range
The schedule states an entry can be in.
Subversion status API.
Subversion status API.
class for kind status of the item or its properties
the constants are defined in the interface StatusKind for building
reasons
class for kind status of the item or its properties
the constants are defined in the interface StatusKind for building
reasons
This interface is used to receive every status item for
the
ISVNClient.status(java.lang.String, org.apache.subversion.javahl.types.Depth, boolean, boolean, boolean, boolean, java.util.Collection<java.lang.String>, org.apache.subversion.javahl.callback.StatusCallback)
call.This interface is used to receive every status item for
the SVNClientInterface.status call.
class for kind status of the item or its properties
This checked exception is thrown whenever something goes wrong with
the Subversion JavaHL bindings.
This checked exception is thrown whenever something goes wrong with
the Subversion JavaHL bindings.
interface to receive the messages
The SVNBasicClient is the base class of all
SVN*Client classes that provides a common interface
and realization.
The SVNAdminClient class provides methods that brings repository-side functionality
and repository synchronizing features.
The SVNAdminEvent is a type of an event used to notify callers' handlers
in several methods of SVNAdminClient.
The SVNAdminEventAction is an enumeration of possible actions that
may take place in different methods of SVNAdminClient.
SVNAdminEventAdapter is an adapter class for
ISVNAdminEventHandler
.The SVNAdminPath is used to pass path information
to ISVNHistoryHandler and ISVNTreeHandler
Represents annotate operation.
Provides information for annotate item in
SvnAnnotate
operation.The SVNAnnotationGenerator class is used to annotate files - that is
to place author and revision information in-line for the specified
file.
The SVNAuthentication is the base class that represents user
credentials.
An exception class that is used to signal about the fact that errors
occured exactly during an authentication try.
The SVNBasicClient is the base class of all SVN*Client
classes that provides a common interface and realization.
The SVNBasicClient is the base class of all SVN*Client
classes that provides a common interface and realization.
The SVNCancelException is used to signal about an operation
cancel event.
Canonicalizes all urls in the working copy
target
.This class contains enumeration that describes the repository capabilities or,
in other words, features that the repository may be capable of.
Represents cat operation.
SVNChangeEntry objects are used to pass path change information to clients.
The SVNChangelistClient provides API for managing changelists.
The SVNChangelistClient provides API for managing changelists.
Represents checkout operation.
Represents a checksum for SVN files.
Describes the kind of used hash algorithm for computing the checksum.
Represents cleanup operation.
This interface is the commom interface for all subversion
operations.
Class for the constants of the logging levels.
The SVNClientManager class is used to manage SVN*Client
objects as well as for providing them to a user what makes the user's work
easier and his code - pretty clear and flexible.
This class provides a threadsafe wrapped for SVNClient
Represents commit operation.
The SVNCommitClient class provides methods to perform operations that
relate to committing changes to an SVN repository.
The SVNCommitClient class provides methods to perform operations that
relate to committing changes to an SVN repository.
The SVNCommitInfo class represents information about a committed
revision.
Provides information about a committed
revision.
The SVNCommitItem represents a versioned item that is to be committed
to a repository.
Represents storage for
SvnCommitItem
objects which represent information on versioned items intended
for being committed to a repository.The SVNCommitPacket is a storage for SVNCommitItem
objects which represent information on versioned items intended
for being committed to a repository.
The SVNConflictAction represents the type of action being attempted on an object which leads to
a conflict.
The SVNConflictChoice is an enumeration of constants representing the way in which the conflict
callback
chooses a course of action.The SVNConflictDescription represents an object that describes a conflict that has occurred in the
working copy.
The SVNConflictReason class represents an enumeration of constants describing the reason of a
conflict state in a working copy produced by a merge operation.
The SVNConflictResult represents the decision of the user's
conflict handler
regarding a conflict situation.SVNConflictVersion represents Info about one of the conflicting versions of a node.
Represents copy operation.
The SVNCopyClient provides methods to perform any kinds of copying and
moving that SVN supports - operating on both Working Copies (WC) and URLs.
The SVNCopyClient provides methods to perform any kinds of copying and
moving that SVN supports - operating on both Working Copies (WC) and URLs.
Provides copy source information in copy operations.
The SVNCopySource class is used to provide copy source information in copy operations.
The SVNDeltaGenerator is intended for generating diff windows of
fixed size having a target version of a file against a source one.
The SVNDeltaProcessor is used to get a full text of a file
in series applying diff windows being passed to a processor.
Reads diff windows from stream and feeds them to the ISVNDeltaConsumer instance.
This class contains enumeration that describes depth,
that is used.
Represents diff operation.
The SVNDiffClient class provides methods allowing to get differences
between versioned items ('diff' operation) as well as ones intended for
merging file contents.
The SVNDiffClient class provides methods allowing to get differences
between versioned items ('diff' operation) as well as ones intended for
merging file contents.
The SVNDiffInstruction class represents instructions used as delta
applying rules.
The SVNDiffOptions class is used to contain some rules for controlling the
result of comparing two files.
Represents short information on path changes in
SvnDiffSummarize
operation.The SVNDiffStatus class is used to provide short information on path changes
during diff status operations.
Produces a diff summary which lists the changed items between
source
in its pegRevision
, as it changed
between startRevision
and endRevision
,
or diff summary between firstSource
at its pegRevision
and secondSource
at its pegRevision
.The SVNDiffWindow class represents a diff window that
contains instructions and new data of a delta to apply to a file.
The SVNDiffWindowApplyBaton class is used to provide the source
and target streams during applying diff windows.
The SVNDirEntry class is a representation of a versioned
directory entry.
The SVNErrorCode class represents possible predefined kinds
of errors with their own identifying information.
The SVNErrorMessage class represents error and warning messages describing
reasons of exceptions occurred during runtime.
The SVNEvent class is used to provide detailed information on
an operation progress to the ISVNEventHandler (if any) registered
for an SVN*Client object.
The SVNEventAction class is used to describe an action
which generated an SVNEvent object.
SVNEventAdapter is an adapter class for
ISVNEventHandler
.A main exception class that is used in the SVNKit library.
Represents export operation.
The SVNFileCheckoutEditor is an adapter which only handles file contents and properties during a
checkout and redirects that information to its
ISVNFileCheckoutTarget
handler.Describe the kind of item.
The SVNFileRevision class represents information on what path a file
is located at (in a repository) in a particular revision, contains file properties
and revision properties for that revision.
Gets paths belonging to the specified
changelists
discovered under the
specified targets
.Represents info command.
Returns mergeinfo as a
Map
with merge source URLs (as
SVNURL
) mapped to range lists (SVNMergeRangeList
).Represents proplist operation.
Represents status operation.
Represents status operation as local working copy summary status for
target
and all its children.Imports file or directory
source
into repository directory
defined in operation's target
at HEAD revision.Represents information details for versioned item's (located either
in a working copy or a repository).
The SVNInfo class is a wrapper for versioned item's (located either
in a Working Copy or a repository) information details.
This class connects a java.io.PipedInputStream to a OutputInterface.
Represents list operation.
The SVNLocationEntry represents a mapping of a path to its
revision.
The SVNLocationSegment is a representation of a segment of an object's version history with an
emphasis on the object's location in the repository as of various revisions.
The SVNLock class represents a file lock.
Represents log operation.
The SVNLogClient class is intended for such purposes as getting
revisions history, browsing repository entries and annotating file contents.
The SVNLogClient class is intended for such purposes as getting
revisions history, browsing repository entries and annotating file contents.
The SVNLogClient class is intended for such purposes as getting
revisions history, browsing repository entries and annotating file contents.
The SVNLogEntry class encapsulates such per revision information as:
a revision number, the datestamp when the revision was committed, the author
of the revision, a commit log message and all paths changed in that revision.
The SVNLogEntryPath class encapsulates information about a single
item changed in a revision.
Creates a
SVNLogEntry
object with the revisions merged from
mergeSource
(as of mergeSource
's pegRevision
) into
target
(as of target
's pegRevision
).The SVNLookClient class provides API for examining
different aspects of a Subversion repository.
Schedules
target
as being replaced.Represents merge operation.
The SVNMergeFileSet class holds information about the file that is to be merged.
The
SVNMergeInfo
represents information about merges to a certain repository path.This class contains enumeration that describes the ways of requesting merge information.
The SVNMergeRange class represents a range of merged revisions.
The SVNMergeRangeList represents an array of merge ranges applied to a single target.
Represents a result of a text or properties merge operation.
The SVNMergeResult represents a result of a text or properties merge operation.
The SVNMoveClient provides an extra client-side functionality over
standard (i.e.
The SVNMoveClient provides an extra client-side functionality over
standard (i.e.
The SVNNodeKind class is used to describe the kind of a
directory entry (node, in other words).
Base class for all Svn* classes representing some kind of information.
Base class for all Svn* operations.
SVNOperation represents the user operation that exposed a conflict.
Represents factory for the Svn* operations.
This class connects a java.io.PipedOutputStream to a InputInterface.
The SVNPasswordAuthentication class represents a simple
user credential pair - a username and password.
Data type to manage parsing of patches.
A single hunk inside a patch.
The SVNProperties class represents an object wrapper for
String
to SVNPropertyValue
mappings where
String
keys represent property names and values - property
values wrapped in SVNPropertyValue
objects.The SVNProperty class is a representation class for both versioned
properties (user-managed svn specials) and for metaproperties (untweakable)
supported by Subversion.
SVNPropertyConflictDescription brings a property conflict description.
SVNPropertyData is a wrapper for both versioned and unversioned
properties.
The SVNPropertyValue represents an object wrapper for string and binary version controlled
properties providing a set of specific methods to work with them.
Represents base class for all operations that can fetch object(s)
for custom processing.
Represents relocate operation.
Represents copy to repository operation.
Represents delete operation.
Creates directory(ies) in a repository.
Sets
propertyName
to propertyValue
on each targets
.SVNReplayHandler
is an implementation of ISVNReplayHandler
that is used in
SVNAdminClient.doSynchronize(org.tmatesoft.svn.core.SVNURL)
.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.
The abstract class SVNRepository provides an interface for protocol
specific drivers used for direct working with a Subversion repository.
Fetches file contents for the specified
target
in the given
transaction.SVNRepositoryFactory is an abstract factory that is responsible
for creating an appropriate SVNRepository driver specific for the
protocol to use.
The SVNRepositoryReplicator class provides an ability to
make a copy of an existing repository.
Represents resolve operation.
Represents revert operation.
SVNRevision is a revision wrapper used for an abstract representation
of revision information.
The SVNRevisionProperty class represents revision properties - those
unversioned properties supported by Subversion.
Represents a revision range between the start revision and the end revision.
The SVNRevisionRange class represents a revision range between a start revision and an end revision.
Describe the kind of schedule.
Represents add operation.
Represents remove operation.
Represents set changelist operation.
Represents operation for locking files.
Represents set property operation.
SVNSocketFactory
is a utility class that represents a custom
socket factory which provides creating either a plain socket or a secure one
to encrypt data transmitted over network.The SVNSSHAuthentication class represents a kind of credentials used
to authenticate a user over an SSH tunnel.
The SVNSSLAuthentication class represents user's credentials used
to authenticate a user in secure connections.
Provides detailed status information for
a working copy item as a result of a status operation invoked by a
SvnGetStatus
operation.The SVNStatus class is used to provide detailed status information for
a Working Copy item as a result of a status operation invoked by a doStatus()
method of SVNStatusClient.
The SVNStatusClient class provides methods for obtaining information
on the status of Working Copy items.
The SVNStatusClient class provides methods for obtaining information
on the status of Working Copy items.
Represents status summary information for local working copy item,
including all its children.
SVNStatusType provides information about versioned items'
status type.
Returns a collection of potential merge sources (expressed as full
repository
URLs
) for working copy target
at
target
's pegRevision
.Represents switch operation.
SVNSyncInfo represents information on repository synchronization
Represents target of the operation on whose operation will be executed.
SVNTextConflictDescription brings information about conflict on a file.
SVNTreeConflictDescription brings information on a tree conflict.
Represents operation for unlocking files.
Represents update operation.
UPDATE nodes SET presence = ?3, revision = ?4, repos_path = ?5 WHERE wc_id =
?1 AND local_relpath = ?2 AND op_depth = 0;
This class provides methods which allow to check out, update, switch and
relocate a Working Copy as well as export an unversioned directory or file
from a repository.
This class provides methods which allow to check out, update, switch and
relocate a Working Copy as well as export an unversioned directory or file
from a repository.
Represents operation for upgrading the metadata storage format for a working copy.
The SVNURL class is used for representing urls.
The SVNUserNameAuthentication class represents a simple
authentication credential class that uses only a username to
authenticate a user.
The SVNUUIDAction class is an enumeration of possible actions
that SVNAdminClient can perform with uuids when loading a dumpstream.
Deprecated.
SVNXDeltaAlgorithm
is used instead in all cases.The SVNWCClient class combines a number of version control operations
mainly intended for local work with Working Copy items.
The SVNWCClient class combines a number of version control operations
mainly intended for local work with Working Copy items.
INSERT OR REPLACE INTO nodes ( wc_id, local_relpath, op_depth,
parent_relpath, repos_id, repos_path, revision, presence, depth, kind,
changed_revision, changed_date, changed_author, checksum, properties,
dav_cache, symlink_target, file_external ) VALUES (?1, ?2, 0, ?3, ?4, ?5, ?6, ?7, ?8, ?9,
?10, ?11, ?12, ?13, ?14, ?15, ?16, ?17);
UPDATE actual_node SET conflict_old = NULL, conflict_new = NULL,
conflict_working = NULL
WHERE wc_id = ?1 AND local_relpath = ?2;
UPDATE actual_node SET conflict_old = NULL, conflict_new = NULL,
conflict_working = NULL
WHERE wc_id = ?1
AND (?2 = ''
OR local_relpath = ?2
OR (local_relpath > ?2 || '/' AND local_relpath < ?2 || '0'))
UPDATE actual_node SET properties = NULL, text_mod = NULL, changelist = NULL,
tree_conflict_data = NULL, conflict_old = NULL, conflict_new = NULL,
conflict_working = NULL, prop_reject = NULL, older_checksum = NULL,
left_checksum = NULL, right_checksum = NULL WHERE wc_id = ?1 and
local_relpath = ?2;
-- STMT_CLEAR_BASE_NODE_RECURSIVE_DAV_CACHE
UPDATE nodes SET dav_cache = NULL
WHERE
dav_cache IS NOT NULL
AND wc_id = ?1
AND op_depth = 0
AND (?2 = ''
OR local_relpath = ?2
OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2))
primary index: wc_id, local_relpath, op_depth
UPDATE nodes SET moved_here = NULL
WHERE wc_id = ?1
AND (local_relpath = ?2 OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2))
AND op_depth = ?3
UPDATE nodes SET moved_to = NULL
WHERE wc_id = ?1
AND IS_STRICT_DESCENDANT_OF(moved_to, ?2)
UPDATE NODES SET moved_to = NULL
WHERE wc_id = ?1
AND moved_to = ?2
UPDATE actual_node SET prop_reject = NULL WHERE wc_id = ?1 AND local_relpath
= ?2;
UPDATE actual_node SET conflict_old = NULL, conflict_new = NULL,
conflict_working = NULL WHERE wc_id = ?1 AND local_relpath = ?2;
-- STMT_COMMIT_DESCENDANT_TO_BASE
UPDATE NODES SET op_depth = 0, repos_id = ?4, repos_path = ?5, revision = ?6,
moved_here = NULL, moved_to = NULL, dav_cache = NULL,
presence = CASE presence WHEN 'normal' THEN 'normal'
WHEN 'excluded' THEN 'excluded'
ELSE 'not-present' END
WHERE wc_id = ?1 AND local_relpath = ?2 and op_depth = ?3
SELECT wc_id, ?3 (local_relpath), ?4 (op_depth), ?5 (parent_relpath),
repos_id, repos_path, revision, ?6 (presence), depth,
kind, changed_revision, changed_date, changed_author, checksum, properties,
translated_size, last_mod_time, symlink_target
FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth > 0
ORDER BY op_depth DESC
LIMIT 1
or for base:
FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = 0
DELETE FROM actual_node
WHERE wc_id = ?1
AND properties IS NULL
AND conflict_old IS NULL
AND conflict_new IS NULL
AND prop_reject IS NULL
AND changelist IS NULL
AND text_mod IS NULL
AND tree_conflict_data IS NULL
AND older_checksum IS NULL
AND right_checksum IS NULL
AND left_checksum IS NULL
DELETE FROM actual_node WHERE wc_id = ?1 AND local_relpath = ?2 AND
properties IS NULL AND conflict_old IS NULL AND conflict_new IS NULL AND
prop_reject IS NULL AND changelist IS NULL AND text_mod IS NULL AND
tree_conflict_data IS NULL AND older_checksum IS NULL AND right_checksum IS
NULL AND left_checksum IS NULL;
DELETE FROM actual_node
WHERE wc_id = ?1 AND IS_STRICT_DESCENDANT_OF(local_relpath, ?2)
AND EXISTS(SELECT 1 FROM NODES b
WHERE b.wc_id = ?1
AND b.local_relpath = actual_node.local_relpath
AND op_depth = 0)
AND NOT EXISTS(SELECT 1 FROM NODES w
WHERE w.wc_id = ?1
AND w.local_relpath = actual_node.local_relpath
AND op_depth > 0
AND presence in (MAP_NORMAL, MAP_INCOMPLETE, MAP_NOT_PRESENT))
DELETE FROM actual_node WHERE wc_id = ?1 AND local_relpath = ?2;
-- STMT_DELETE_ACTUAL_NODE_LEAVING_CHANGELIST_RECURSIVE
DELETE FROM actual_node
WHERE wc_id = ?1 AND local_relpaht = ?2
AND (changelist IS NULL
OR NOT EXISTS (SELECT 1 FROM nodes_current c
WHERE c.wc_id = ?1 AND c.local_relpath = local_relpath
AND kind = 'file'))
-- STMT_DELETE_ACTUAL_NODE_LEAVING_CHANGELIST_RECURSIVE
DELETE FROM actual_node
WHERE wc_id = ?1
AND (?2 = ''
OR local_relpath = ?2
OR (local_relpath > ?2 || '/' AND local_relpath < ?2 || '0'))
AND (changelist IS NULL
OR NOT EXISTS (SELECT 1 FROM nodes_current c
WHERE c.wc_id = ?1 AND c.local_relpath = local_relpath
AND kind = 'file'))
-- STMT_DELETE_ACTUAL_NODE_RECURSIVE
DELETE FROM actual_node
WHERE wc_id = ?1
AND (?2 = ''
OR local_relpath = ?2
OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2))
DELETE FROM actual_node WHERE wc_id = ?1 AND local_relpath = ?2 AND
tree_conflict_data IS NULL;
-- STMT_DELETE_ALL_LAYERS
DELETE FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2
DELETE FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth > 0;
DELETE FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = 0;
DELETE FROM nodes
WHERE wc_id = ?1 AND (((local_relpath) > (CASE (?2) WHEN '' THEN '' ELSE (?2) || '/' END)) AND ((local_relpath) < CASE (?2) WHEN '' THEN X'FFFF' ELSE (?2) || '0' END))
AND op_depth = 0
DELETE FROM externals
WHERE wc_id = ?1
AND IS_STRICT_DESCENDANT_OF(local_relpath, ?2)
DELETE FROM externals
WHERE wc_id = ?1
AND IS_STRICT_DESCENDANT_OF(local_relpath, ?2)
AND kind != MAP_DIR
DELETE FROM nodes
WHERE wc_id = ?1
AND IS_STRICT_DESCENDANT_OF(local_relpath, ?2)
AND op_depth = 0
AND file_external IS NOT NULL
DELETE FROM lock
WHERE repos_id = ?1 AND repos_relpath = ?2
DELETE FROM wc_lock
WHERE wc_id = ?1
AND (?2 = ''
OR local_dir_relpath = ?2
OR (local_dir_relpath > ?2 || '/' AND local_dir_relpath < ?2 || '0'))
AND NOT EXISTS (SELECT 1 FROM nodes
WHERE nodes.wc_id = ?1
AND nodes.local_relpath = wc_lock.local_dir_relpath)
DELETE FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth =
(SELECT MIN(op_depth) FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND
op_depth > 0) AND presence = 'base-deleted';
DELETE FROM nodes
WHERE wc_id = ?1
AND (local_relpath = ?2
OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2))
AND op_depth = ?3
DELETE FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2;
DELETE FROM nodes
WHERE wc_id = ?1
AND (?2 = ''
OR local_relpath = ?2
OR (local_relpath > ?2 || '/' AND local_relpath < ?2 || '0'))
AND op_depth >= ?3
DELETE FROM pristine WHERE checksum = ?1
-- STMT_DELETE_PRISTINE_IF_UNREFERENCED
DELETE FROM pristine
WHERE checksum = ?1 AND refcount = 0
-- STMT_DELETE_SHADOWED_RECURSIVE
DELETE FROM nodes
WHERE wc_id = ?1
AND (local_relpath = ?2
OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2))
AND (op_depth < ?3
OR (op_depth = ?3 AND presence = 'base-deleted')) *
DELETE FROM wc_lock WHERE wc_id = ?1 AND local_dir_relpath = ?2;
DELETE FROM wc_lock
WHERE wc_id = ?1 AND local_dir_relpath = ?2
AND NOT EXISTS (SELECT 1 FROM nodes
WHERE nodes.wc_id = ?1
AND nodes.local_relpath = wc_lock.local_dir_relpath)
DELETE FROM nodes
WHERE wc_id = ?1 AND (((local_relpath) > (CASE (?2) WHEN '' THEN '' ELSE (?2) || '/' END)) AND ((local_relpath) < CASE (?2) WHEN '' THEN X'FFFF' ELSE (?2) || '0' END))
AND presence = 'base-deleted'
AND op_depth > 0
AND op_depth = (SELECT MIN(op_depth) FROM nodes n
WHERE n.wc_id = ?1
AND n.local_relpath = nodes.local_relpath
AND op_depth > 0)
DELETE FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth =
(SELECT MAX(op_depth) FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND
op_depth > 0);
DELETE FROM nodes
WHERE wc_id = ?1 AND (((local_relpath) > (CASE (?2) WHEN '' THEN '' ELSE (?2) || '/' END)) AND ((local_relpath) < CASE (?2) WHEN '' THEN X'FFFF' ELSE (?2) || '0' END))
AND op_depth > 0
DELETE FROM work_queue WHERE id = ?1;
This structure records all the information that we need to deal with a given
working copy directory.
SELECT 1 FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2
LIMIT 1
INSERT OR REPLACE INTO externals (
wc_id, local_relpath, parent_relpath, presence, kind, def_local_relpath,
repos_id, def_repos_relpath, def_operational_revision, def_revision)
VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10)
SELECT local_dir_relpath FROM wc_lock WHERE wc_id = ?1 AND local_dir_relpath
LIKE ?2 ESCAPE '#';
SELECT local_relpath FROM nodes
WHERE wc_id = ?1
AND IS_STRICT_DESCENDANT_OF(local_relpath, ?2)
AND op_depth = 0 AND presence = MAP_SERVER_EXCLUDED
LIMIT 1
INSERT INTO actual_node ( wc_id, local_relpath, conflict_data,
parent_relpath) VALUES (?1, ?2, ?3, ?4);
INSERT INFO actual_node (conflict_old, conflict_new, conflict_working, prop_reject, tree_conflict_data, parent_relpath)
VALUES (?3, ?4, ?5, ?6, ?7, ?8)
WHERE wc_id = ?1 AND local_relpath = ?2
-- STMT_INSERT_ACTUAL_EMPTIES
INSERT OR IGNORE INTO actual_node (
wc_id, local_relpath, parent_relpath, properties,
conflict_old, conflict_new, conflict_working,
prop_reject, changelist, text_mod, tree_conflict_data )
SELECT wc_id, local_relpath, parent_relpath, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL
FROM targets_list
-- STMT_INSERT_ACTUAL_NODE
INSERT OR REPLACE INTO actual_node (
wc_id, local_relpath, parent_relpath, properties, changelist, conflict_data)
VALUES (?1, ?2, ?3, ?4, ?5, ?6)
INSERT INTO actual_node (
wc_id, local_relpath, prop_reject, parent_relpath)
VALUES (?1, ?2, ?3, ?4)
INSERT INTO actual_node (wc_id, local_relpath, parent_relpath, properties)
VALUES (?1, ?2, ?3, ?4);
INSERT INTO actual_node ( wc_id, local_relpath, conflict_old, conflict_new,
conflict_working, parent_relpath) VALUES (?1, ?2, ?3, ?4, ?5, ?6);
INSERT INTO actual_node ( wc_id, local_relpath, tree_conflict_data,
parent_relpath) VALUES (?1, ?2, ?3, ?4);
INSERT INTO nodes (
wc_id, local_relpath, op_depth, parent_relpath, presence, kind)
SELECT wc_id, local_relpath, ?3 depth, parent_relpath,
'base-deleted', kind
FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = 0
INSERT INTO nodes (
wc_id, local_relpath, op_depth, parent_relpath, presence, kind)
SELECT wc_id, local_relpath, ?4 _op_depth_, parent_relpath, 'base-deleted',
kind
FROM nodes
WHERE wc_id = ?1
AND (local_relpath = ?2
OR (local_relpath > ?2 || '/' AND local_relpath < ?2 || '0'))
AND op_depth = ?3
AND presence NOT IN ('base-deleted', 'not-present', 'excluded', 'absent')
AND file_external IS NULL
-- STMT_INSERT_EXTERNAL
INSERT OR REPLACE INTO externals (
wc_id, local_relpath, parent_relpath, presence, kind, def_local_relpath,
repos_id, def_repos_relpath, def_operational_revision, def_revision)
VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10)
-- STMT_INSERT_EXTERNAL_UPGRADE
INSERT OR REPLACE INTO externals (
wc_id, local_relpath, parent_relpath, presence, kind, def_local_relpath,
repos_id, def_repos_relpath, def_operational_revision, def_revision)
VALUES (?1, ?2, ?3, ?4,
CASE WHEN (SELECT file_external FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = 0)
IS NOT NULL THEN 'file' ELSE 'unknown' END,
?5, ?6, ?7, ?8, ?9)
INSERT INTO lock (repos_id, repos_relpath, lock_token, lock_owner, lock_comment, lock_date) VALUES (?1, ?2,
?3, ?4, ?5, ?6);
INSERT OR REPLACE INTO nodes ( wc_id, local_relpath, op_depth,
parent_relpath, repos_id, repos_path, revision, presence, depth, kind,
changed_revision, changed_date, changed_author, checksum, properties,
translated_size, last_mod_time, dav_cache, symlink_target, file_external, moved_to, moved_here, inherited_props ) VALUES (?1, ?2,
?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, ?11, ?12, ?13, ?14, ?15, ?16, ?17, ?18,
?19, ?20, ?21, ?22, ?23);
-- STMT_INSERT_OR_IGNORE_PRISTINE
INSERT OR IGNORE INTO pristine (checksum, md5_checksum, size, refcount)
VALUES (?1, ?2, ?3, 0)
INSERT OR IGNORE INTO pristine (checksum, md5_checksum, size, refcount)
VALUES (?1, ?2, ?3, 0);
INSERT INTO repository (root, uuid) VALUES (?1, ?2);
INSERT INTO wc_lock (wc_id, local_dir_relpath, locked_levels) VALUES (?1, ?2,
?3);
INSERT INTO wcroot (local_abspath) VALUES (?1);
INSERT OR REPLACE INTO nodes ( wc_id, local_relpath, op_depth,
parent_relpath, presence, kind, checksum, changed_revision, changed_date,
changed_author, depth, symlink_target, translated_size, last_mod_time,
properties) SELECT wc_id, local_relpath, ?3 AS op_depth, parent_relpath, ?4
AS presence, kind, checksum, changed_revision, changed_date, changed_author,
depth, symlink_target, translated_size, last_mod_time, properties FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = 0;
INSERT INTO nodes ( wc_id, local_relpath, op_depth, parent_relpath, repos_id,
repos_path, revision, presence, depth, kind, changed_revision, changed_date,
changed_author, checksum, properties, translated_size, last_mod_time,
symlink_target ) SELECT wc_id, local_relpath, ?3 AS op_depth, parent_relpath,
repos_id, repos_path, revision, presence, depth, kind, changed_revision,
changed_date, changed_author, checksum, properties, translated_size,
last_mod_time, symlink_target FROM nodes WHERE wc_id = ?1 AND local_relpath =
?2 AND op_depth = 0;
INSERT INTO nodes ( wc_id, local_relpath, op_depth, parent_relpath, repos_id,
repos_path, revision, presence, depth, kind, changed_revision, changed_date,
changed_author, checksum, properties, translated_size, last_mod_time,
symlink_target ) SELECT wc_id, local_relpath, ?3 AS op_depth, parent_relpath,
repos_id, repos_path, revision, ?4 AS presence, depth, kind,
changed_revision, changed_date, changed_author, checksum, properties,
translated_size, last_mod_time, symlink_target FROM nodes WHERE wc_id = ?1
AND local_relpath = ?2 AND op_depth = 0;
INSERT INTO nodes ( wc_id, local_relpath, op_depth, parent_relpath, repos_id,
repos_path, revision, presence, depth, kind, changed_revision, changed_date,
changed_author, checksum, properties, translated_size, last_mod_time,
symlink_target ) SELECT wc_id, local_relpath, ?3 AS op_depth, parent_relpath,
repos_id, repos_path, revision, 'normal', depth, kind, changed_revision,
changed_date, changed_author, checksum, properties, translated_size,
last_mod_time, symlink_target FROM nodes WHERE wc_id = ?1 AND local_relpath =
?2 AND op_depth = 0;
INSERT INTO nodes ( wc_id, local_relpath, op_depth, parent_relpath, repos_id,
repos_path, revision, presence, kind, changed_revision, changed_date,
changed_author ) SELECT wc_id, local_relpath, ?3 as op_depth, parent_relpath,
repos_id, repos_path, revision, 'not-present', kind, changed_revision,
changed_date, changed_author FROM nodes WHERE wc_id = ?1 AND local_relpath =
?2 AND op_depth = 0;
INSERT INTO work_queue (work) VALUES (?1);
INSERT OR REPLACE INTO nodes (
wc_id, local_relpath, op_depth,
parent_relpath, presence, kind)
VALUES(?1, ?2, ?3, ?4, 'base-deleted', ?5)
SELECT id FROM work_queue LIMIT 1
STMT_MARK_SKIPPED_CHANGELIST_DIRS
INSERT INTO changelist_list (wc_id, local_relpath, notify, changelist)
SELECT wc_id, local_relpath, 7, ?1
FROM targets_list
WHERE kind = 'dir'
CREATE VIEW NODES_BASE AS
SELECT * FROM nodes
WHERE op_depth = 0;
CREATE VIEW NODES_CURRENT AS
SELECT * FROM nodes AS n
WHERE op_depth = (SELECT MAX(op_depth) FROM nodes AS n2
WHERE n2.wc_id = n.wc_id
AND n2.local_relpath = n.local_relpath);
UPDATE nodes SET repos_id = ?4, dav_cache = NULL
WHERE wc_id = ?1
AND repos_id = ?3
AND (?2 = ''
OR local_relpath = ?2
OR (local_relpath > ?2 || '/' AND local_relpath < ?2 || '0'))
UPDATE lock SET repos_id = ?2
WHERE repos_id = ?1
REPLACE INTO actual_node ( wc_id, local_relpath, parent_relpath, changelist)
VALUES (?1, ?2, ?3, ?4);
SELECT local_relpath, tree_conflict_data FROM actual_node WHERE wc_id = ?1 AND
parent_relpath = ?2 AND tree_conflict_data IS NOT NULL;
SELECT local_relpath, changelist, properties, conflict_data
FROM actual_node
WHERE wc_id = ?1 AND parent_relpath = ?2
SELECT local_relpath FROM actual_node WHERE wc_id = ?1 AND parent_relpath =
?2 AND NOT((prop_reject IS NULL) AND (conflict_old IS NULL) AND (conflict_new
IS NULL) AND (conflict_working IS NULL) AND (tree_conflict_data IS NULL))
select prop_reject, changelist, conflict_old, conflict_new,
conflict_working, tree_conflict_data, properties from actual_node
where wc_id = ?1 and local_relpath = ?2;
select properties from actual_node where wc_id = ?1 and local_relpath = ?2;
SELECT tree_conflict_data FROM actual_node WHERE wc_id = ?1 AND local_relpath = ?2
AND tree_conflict_data IS NOT NULL;
-- STMT_SELECT_ALL_FILES
SELECT DISTINCT local_relpath FROM nodes
WHERE wc_id = ?1 AND parent_relpath = ?2 AND kind = 'file'
-- STMT_SELECT_ALL_SERVER_EXCLUDED_NODES
SELECT local_relpath FROM nodes
WHERE wc_id = ?1
AND (?2 = ''
OR local_relpath = ?2
OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2))
AND op_depth = 0
AND presence = 'absent'
SELECT local_dir_relpath, locked_levels FROM wc_lock
WHERE wc_id = ?1
AND ((local_dir_relpath <= ?2 AND local_dir_relpath >= ?3)
OR local_dir_relpath = '')
ORDER BY local_dir_relpath DESC
SELECT 1 FROM nodes WHERE checksum = ?1 OR checksum = ?2 UNION ALL SELECT 1
FROM actual_node WHERE older_checksum = ?1 OR older_checksum = ?2 OR
left_checksum = ?1 OR left_checksum = ?2 OR right_checksum = ?1 OR
right_checksum = ?2 LIMIT 1
-- STMT_SELECT_BASE_DAV_CACHE
SELECT dav_cache FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = 0
SELECT repos_id, repos_path, presence, kind, revision, checksum,
translated_size, changed_revision, changed_date, changed_author, depth,
symlink_target, last_mod_time, properties FROM nodes WHERE wc_id = ?1 AND
local_relpath = ?2 AND op_depth = 0;
SELECT local_relpath FROM nodes WHERE wc_id = ?1 AND parent_relpath = ?2 AND
op_depth = 0;
SELECT nodes.repos_id, nodes.repos_path, presence, kind, revision, checksum,
translated_size, changed_revision, changed_date, changed_author, depth,
symlink_target, last_mod_time, properties, lock_token, lock_owner,
lock_comment, lock_date FROM nodes LEFT OUTER JOIN lock ON nodes.repos_id =
lock.repos_id AND nodes.repos_path = lock.repos_relpath WHERE wc_id = ?1 AND
local_relpath = ?2 AND op_depth = 0;
SELECT local_relpath, kind FROM nodes n
WHERE wc_id = ?1 AND IS_STRICT_DESCENDANT_OF(local_relpath, ?2)
AND op_depth = 0
AND presence in (MAP_NORMAL, MAP_INCOMPLETE)
AND NOT EXISTS(SELECT 1 FROM NODES w
WHERE w.wc_id = ?1 AND w.local_relpath = n.local_relpath
AND op_depth > 0)
ORDER BY local_relpath DESC
SELECT properties FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND
op_depth = 0;
STMT_SELECT_CHANGELIST_LIST
SELECT wc_id, local_relpath, notify, changelist
FROM changelist_list
ORDER BY wc_id, local_relpath
SELECT local_relpath, kind, def_repos_relpath,
(SELECT root FROM repository AS r WHERE r.id = e.repos_id)
FROM externals e
WHERE wc_id = ?1
AND IS_STRICT_DESCENDANT_OF(e.local_relpath, ?2)
AND parent_relpath = ?2
AND def_revision IS NULL
AND repos_id = (SELECT repos_id
FROM nodes AS n
WHERE n.wc_id = ?1
AND n.local_relpath = ''
AND n.op_depth = 0)
AND ((kind='dir')
OR EXISTS (SELECT 1 FROM nodes
WHERE nodes.wc_id = e.wc_id
AND nodes.local_relpath = e.parent_relpath))
SELECT prop_reject, conflict_old, conflict_new, conflict_working, tree_conflict_data FROM
actual_node WHERE wc_id = ?1 AND local_relpath = ?2;
SELECT n.checksum, md5_checksum, size
FROM nodes_current n
LEFT JOIN pristine p ON n.checksum = p.checksum
WHERE wc_id = ?1
AND n.local_relpath = ?2
AND n.checksum IS NOT NULL
UNION ALL
SELECT n.checksum, md5_checksum, size
FROM nodes n
LEFT JOIN pristine p ON n.checksum = p.checksum
WHERE wc_id = ?1
AND IS_STRICT_DESCENDANT_OF(n.local_relpath, ?2)
AND op_depth >=
(SELECT MAX(op_depth) FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2)
AND n.checksum IS NOT NULL
SELECT (SELECT b.presence FROM nodes AS b
WHERE b.wc_id = ?1 AND b.local_relpath = ?2 AND b.op_depth = 0),
work.presence, work.op_depth
FROM nodes_current AS work
WHERE work.wc_id = ?1 AND work.local_relpath = ?2 AND work.op_depth > 0
LIMIT 1
SELECT repos_id, repos_path, presence, kind, revision, checksum,
translated_size, changed_revision, changed_date, changed_author, depth,
symlink_target, last_mod_time, properties
FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = ?3
SELECT IFNULL((SELECT properties FROM actual_node a
WHERE a.wc_id = ?1 AND A.local_relpath = n.local_relpath),
properties),
local_relpath, depth
FROM nodes n
WHERE wc_id = ?1
AND (?2 = ''
OR local_relpath = ?2
OR (local_relpath > ?2 || '/' AND local_relpath < ?2 || '0'))
AND kind = 'dir' AND presence='normal'
AND op_depth=(SELECT MAX(op_depth) FROM nodes o
WHERE o.wc_id = ?1 AND o.local_relpath = n.local_relpath)
SELECT local_relpath, def_local_relpath
FROM externals
WHERE wc_id = ?1
AND (?2 = ''
OR def_local_relpath = ?2
OR (def_local_relpath > ?2 || '/' AND def_local_relpath < ?2 || '0'))
SELECT file_external FROM nodes WHERE wc_id = ?1 AND local_relpath = ?2 AND
op_depth = 0;
SELECT 1 FROM nodes
WHERE wc_id = ?1
AND IS_STRICT_DESCENDANT_OF(parent_relpath, ?2)
AND op_depth = 0
AND file_external IS NULL
SELECT 1 FROM nodes
WHERE wc_id = ?1 AND parent_relpath = ?2 AND op_depth = 0 AND kind != MAP_FILE
SELECT local_relpath, repos_path FROM nodes
WHERE wc_id = ?1
AND local_relpath = ?2
AND op_depth = 0
AND (inherited_props not null)
SELECT op_depth, presence, kind, moved_to
FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth > ?3
ORDER BY op_depth
LIMIT 1
SELECT MIN(revision), MAX(revision),
MIN(changed_revision), MAX(changed_revision) FROM nodes
WHERE wc_id = ?1
AND (local_relpath = ?2
OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2))
AND presence IN (MAP_NORMAL, MAP_INCOMPLETE)
AND file_external IS NULL
AND op_depth = 0
SELECT local_relpath, moved_to, op_depth,
(SELECT CASE WHEN r.moved_here THEN r.op_depth END FROM nodes r
WHERE r.wc_id = ?1
AND r.local_relpath = n.local_relpath
AND r.op_depth < n.op_depth
BY r.op_depth DESC LIMIT 1) AS moved_here_op_depth
FROM nodes n
WHERE wc_id = ?1
AND (local_relpath = ?2 OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2))
AND moved_to IS NOT NULL
AND op_depth >= ?3
SELECT local_relpath, op_depth,
(SELECT CASE WHEN r.moved_here THEN r.op_depth END FROM nodes r
WHERE r.wc_id = ?1
AND r.local_relpath = n.local_relpath
AND r.op_depth < n.op_depth
ORDER BY r.op_depth DESC LIMIT 1) AS moved_here_op_depth
FROM nodes n
WHERE wc_id = ?1 AND moved_to = ?2 AND op_depth > 0
SELECT local_relpath, op_depth FROM nodes
WHERE wc_id = ?1 AND moved_to = ?2 AND op_depth > 0
SELECT moved_to, local_relpath FROM nodes
WHERE wc_id = ?1 AND op_depth > 0
AND IS_STRICT_DESCENDANT_OF(moved_to, ?2)
SELECT local_relpath, moved_to FROM nodes
WHERE wc_id = ?1
AND (local_relpath = ?2 OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2))
AND op_depth >= ?3
AND moved_to IS NOT NULL
AND NOT IS_STRICT_DESCENDANT_OF(moved_to, ?2)
SELECT local_relpath, moved_to, op_depth, kind FROM nodes
WHERE wc_id = ?1
AND (local_relpath = ?2 OR IS_STRICT_DESCENDANT_OF(local_relpath, ?2))
AND op_depth > ?3
AND moved_to IS NOT NULL
SELECT moved_to
FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = ?3
SELECT op_depth, nodes.repos_id, nodes.repos_path, presence, kind, revision,
checksum, translated_size, changed_revision, changed_date, changed_author,
depth, symlink_target, last_mod_time, properties, lock_token, lock_owner,
lock_comment, lock_date, local_relpath
FROM nodes
LEFT OUTER JOIN lock ON nodes.repos_id = lock.repos_id
AND nodes.repos_path = lock.repos_relpath
WHERE wc_id = ?1 AND parent_relpath = ?2
SELECT local_relpath, op_depth, presence, kind
FROM nodes
WHERE wc_id = ?1 AND parent_relpath = ?2
GROUP BY local_relpath
ORDER BY op_depth DESC
We omit GROUP BY, it is not really needed, and ORDER BY is achieved by use of a reverse cursor.
SELECT op_depth, repos_id, repos_path, presence, kind, revision, checksum,
translated_size, changed_revision, changed_date, changed_author, depth,
symlink_target, last_mod_time, properties
FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2
ORDER BY op_depth DESC
SELECT op_depth, nodes.repos_id, nodes.repos_path, presence, kind, revision,
checksum, translated_size, changed_revision, changed_date, changed_author,
depth, symlink_target, last_mod_time, properties, lock_token, lock_owner,
lock_comment, lock_date
FROM nodes
LEFT OUTER JOIN lock ON nodes.repos_id = lock.repos_id
AND nodes.repos_path = lock.repos_relpath
WHERE wc_id = ?1 AND local_relpath = ?2
ORDER BY op_depth DESC
SELECT properties, presence FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2
ORDER BY op_depth DESC;
-- STMT_SELECT_NOT_PRESENT_DESCENDANTS
SELECT local_relpath FROM nodes
WHERE wc_id = ?1 AND op_depth = ?3
AND (parent_relpath = ?2
OR IS_STRICT_DESCENDANT_OF(parent_relpath, ?2))
AND presence == 'not-present'
SELECT local_relpath FROM nodes WHERE wc_id = ?1 AND parent_relpath = ?2 AND
op_depth = ?3;
SELECT md5_checksum FROM pristine WHERE checksum = ?1
SELECT id FROM repository WHERE root = ?1;
select root, uuid from repository where id = ?1;
SELECT checksum FROM pristine WHERE md5_checksum = ?1
SELECT local_relpath FROM targets_list
WHERE kind = 'file' AND wc_id = ?1
-- STMT_SELECT_UNREFERENCED_PRISTINES
SELECT checksum
FROM pristine
WHERE refcount = 0
SELECT locked_levels FROM WC_LOCK WHERE wc_id = ?1 AND local_dir_relpath =
?2;
select id from wcroot where local_abspath is null;
SELECT local_relpath FROM nodes
WHERE wc_id = ?1 AND parent_relpath = ?2
AND (op_depth > (SELECT MAX(op_depth) FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2)
OR
(op_depth = (SELECT MAX(op_depth) FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2)
AND presence != 'base-deleted'))
SELECT presence, kind, checksum, translated_size, changed_revision,
changed_date, changed_author, depth, symlink_target, repos_id, repos_path,
revision, moved_here, moved_to, last_mod_time, properties FROM nodes WHERE
wc_id = ?1 AND local_relpath = ?2 AND op_depth > 0 ORDER BY op_depth DESC
LIMIT 1;
SELECT local_relpath FROM nodes
WHERE wc_id = ?1 AND parent_relpath = ?2
AND (op_depth > (SELECT MAX(op_depth) FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2)
OR
(op_depth = (SELECT MAX(op_depth) FROM nodes
WHERE wc_id = ?1 AND local_relpath = ?2)
AND presence != 'base-deleted'))
SELECT id, work FROM work_queue ORDER BY id LIMIT 1;
UPDATE actual_node SET changelist = ?3
WHERE wc_id = ?1 AND local_relpath = ?2
UPDATE actual_node SET conflict_data = ?3 WHERE wc_id = ?1 AND local_relpath
= ?2;
UPDATE actual_node SET conflict_old = ?3, conflict_new = ?4,
conflict_working = ?5, prop_reject = ?6, tree_conflict_data = ?7
WHERE wc_id = ?1 AND local_relpath = ?2
UPDATE actual_node SET prop_reject = ?3 WHERE wc_id = ?1 AND local_relpath =
?2;
UPDATE actual_node SET properties = ?3 WHERE wc_id = ?1 AND local_relpath =
?2;
UPDATE actual_node SET conflict_old = ?3, conflict_new = ?4, conflict_working
= ?5 WHERE wc_id = ?1 AND local_relpath = ?2;
UPDATE actual_node SET tree_conflict_data = ?3 WHERE wc_id = ?1 AND
local_relpath = ?2;
-- STMT_UPDATE_BASE_NODE_DAV_CACHE
UPDATE nodes SET dav_cache = ?3
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = 0
UPDATE nodes SET revision = ?3 WHERE wc_id = ?1 AND local_relpath = ?2 AND
op_depth = 0;
UPDATE nodes SET repos_id = ?3, repos_path = ?4 WHERE wc_id = ?1 AND
local_relpath = ?2; AND op_depth = (SELECT MAX(op_depth) FROM nodes WHERE
wc_id = ?1 AND local_relpath = ?2 AND op_depth > 0);
UPDATE nodes SET moved_to = RELPATH_SKIP_JOIN(?2, ?3, moved_to)
WHERE wc_id = ?1
AND IS_STRICT_DESCENDANT_OF(moved_to, ?2)
UPDATE nodes SET moved_to = ?4
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = ?3
UPDATE nodes SET depth = ?3 WHERE wc_id = ?1 AND local_relpath = ?2 AND
op_depth = 0;
UPDATE nodes SET presence = ?3 WHERE wc_id = ?1 AND local_relpath = ?2 AND
op_depth = 0;
UPDATE nodes SET translated_size = ?3, last_mod_time = ?4 WHERE wc_id = ?1
AND local_relpath = ?2 AND op_depth = (SELECT MAX(op_depth) FROM nodes WHERE
wc_id = ?1 AND local_relpath = ?2);
-- STMT_UPDATE_NODE_PROPS
UPDATE nodes SET properties = ?4
WHERE wc_id = ?1 AND local_relpath = ?2 AND op_depth = ?3
UPDATE nodes SET depth = ?3 WHERE wc_id = ?1 AND local_relpath = ?2 AND
op_depth = (SELECT MAX(op_depth) FROM nodes WHERE wc_id = ?1 AND
local_relpath = ?2 AND op_depth > 0);
The SVNWCUtil is a utility class providing some common methods used
by Working Copy API classes for such purposes as creating default run-time
configuration and authentication drivers and some others.
Provides information about working copy info, used by
SvnInfo
.This is an implementation of the ISVNAnnotateHandler interface
that writes XML formatted annotation information to a specified
ContentHandler.
This is an implementation of the ISVNStatusHandler interface
that writes XML formatted status information to a specified
ContentHandler.
This log handler implementation writes xml formatted information
about the log entries it's passed to a specified ContentHandler.
This implementation of ContentHandler can write XML contents to
a specified output stream or writer.
This is an implementation of the ISVNStatusHandler interface
that writes XML formatted status information to a specified
ContentHandler.
The interface for requesting authentication credentials from the
user.
Encapsulates version information about the underlying native
libraries.
Encapsulates version information about the underlying native
libraries.
Encapsulates information about the compile-time and run-time
properties of the Subversion libraries.