[This is preliminary documentation and is subject to change.]

The SvnClient type exposes the following members.

Constructors

  Name Description
SvnClient
Initializes a new SvnClient instance with default properties

Methods

  Name Description
Add Overloaded.
Put files and directories under version control, scheduling them for addition to repository. They will be added in next commit(svn add)
AddClientName
Adds the specified client name to web requests' UserAgent string
AddToChangeList Overloaded.
Associate the specified path(s) with the specified changelist (svn changelist)
Blame Overloaded.
CheckOut Overloaded.
Check out a working copy from a repository. (svn checkout)
CleanUp Overloaded.
Recursively clean up the working copy, removing locks, resuming unfinished operations, etc.(svn cleanup)
Commit Overloaded.
Send changes from your working copy to the repository (svn commit)
Copy Overloaded.
Duplicate something in working copy, remembering history (svn copy)
CreateDirectories Overloaded.
CreateDirectory Overloaded.
Create a new directory under version control, scheduling (svn mkdir)
CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Delete Overloaded.
Remove files and directories from version control, scheduling (svn delete|remove)
DeleteProperty Overloaded.
Deletes a property from files, dirs (svn propdel)
DeleteRevisionProperty Overloaded.
Deletes the value of a revision property on files, dirs in a specific revision(svn propdel --revision)
Diff Overloaded.
Retrieves the differences between two revisions or paths (svn diff)
DiffMerge Overloaded.
Merges the differences between two sources to a working copy path (svn merge)
DiffSummary Overloaded.
Dispose Overloaded.
EnableSubversionLocalization
Enables the subversion localization engine. (Costs +- 400 KByte ram/language used and slows error handling within the subversion engine)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Export Overloaded.
Create an unversioned copy of a tree (svn export)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetAppliedMergeInfo Overloaded.
Gets the merges which are applied on the specified target (svn mergeinfo)
GetBlame Overloaded.
GetChangeList Overloaded.
GetDiffSummary Overloaded.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetInfo Overloaded.
GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetList Overloaded.
GetLog Overloaded.
GetMergesEligible Overloaded.
GetMergesMerged Overloaded.
GetProperty Overloaded.
Retrieves the value of a property on files, dirs, or revisions (svn propget)
GetPropertyList Overloaded.
GetRepositoryIdFromUri
Gets the Uuid of a Uri, or Empty if path is not versioned
GetRepositoryRoot Overloaded.
Gets the repository root from the specified uri or path
GetRevisionProperty Overloaded.
Gets the value of a revision property on files or dirs in a specific revision (svn propget --revision)
GetRevisionPropertyList Overloaded.
Gets all revision properties on a a specific revision (svn proplist --revision)
GetStatus Overloaded.
GetSuggestedMergeSources Overloaded.
Gets a list of Uri's which might be valid merge sources (svn mergeinfo)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetUriFromWorkingCopy
Gets the repository Uri of a path, or null if path is not versioned
GetWorkingCopyState Overloaded.
GetWorkingCopyVersion Overloaded.
Import Overloaded.
Commit an unversioned file or tree into the repository (svn import followed by svn checkout)
Info Overloaded.
InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
List Overloaded.
ListChangeList Overloaded.
ListMergesEligible Overloaded.
ListMergesMerged Overloaded.
LoadConfiguration Overloaded.
LoadConfigurationDefault
Loads the standard subversion configuration and ensures the subversion config dir by creating default files
(Inherited from SvnClientContext.)
Lock Overloaded.
Lock working copy paths or URLs in the repository, so that no other user can commit changes to them (svn lock)
Log Overloaded.
MemberwiseClone Overloaded.
Merge Overloaded.
Merges the changes in the specified revisions from source to targetPath (svn merge)
MergeConfiguration
Merges configuration from the specified path into the existing configuration
(Inherited from SvnClientContext.)
Move Overloaded.
Move and/or rename something in working copy, remembering history (svn move)
OnCancel
Raises the Cancel event.
OnCommitting
Raises the Committing event.
OnConflict
Raises the Conflict event.
OnNotify
Raises the Notify event.
OnProcessing
Raises the Processing event.
OnProgress
Raises the Progress event.
OnSvnError
Raises the Exception event.
PropertyList Overloaded.
ReintegrationMerge Overloaded.
Perform a reintegration merge of source into targetPath
Relocate Overloaded.
Update the working copy to a different repository (svn switch --relocate)
RemoteCopy Overloaded.
RemoteCreateDirectories Overloaded.
RemoteCreateDirectory Overloaded.
Create a new directory under version control at the repository (svn mkdir)
RemoteDelete Overloaded.
Remove files and directories from version control at the repository (svn delete|remove)
RemoteImport Overloaded.
Commit an unversioned file or tree into the repository (svn import)
RemoteMove Overloaded.
Move and/or rename something in repository, remembering history (svn move)
RemoveFromChangeList Overloaded.
Deassociate the specified path(s) from the specified changelist (svn changelist)
Resolve Overloaded.
Resolved
Remove 'conflicted' state on a working copy file or directory using the specified choice
Revert Overloaded.
Restore pristine working copy file (undo most local edits) (svn revert)
SetProperty Overloaded.
Set the value of a property on files, dirs (svn propset)
Set the value of a property on files, dirs (svn propset)
SetRevisionProperty Overloaded.
Sets the value of a revision property on files, dirs in a specific revision (svn propset --revision)
Status Overloaded.
Switch Overloaded.
Update the working copy to a different URL (svn switch)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
TryGetProperty
Tries to get a property from the specified path (svn propget)
Unlock Overloaded.
Unlock working copy paths or URLs (svn unlock)
Update Overloaded.
Bring changes from the repository into the working copy (svn update)
Write Overloaded.
Writes the content of specified files or URLs to a stream. (svn cat)

Properties

  Name Description
AdministrativeDirectoryName
Gets the name of the subversion administrative directories. Most commonly ".svn"
Authentication
Gets the SvnAuthentication instance managing authentication on behalf of this client
(Inherited from SvnClientContext.)
Authenticator Obsolete. (Inherited from SvnClientContext.)
Configuration
Gets the SvnClientConfiguration instance of this SvnClient
SharpSvnVersion
Gets the version of the SharpSvn library
Version
Gets the version number of SharpSvn's encapsulated subversion library

Events

  Name Description
Cancel
Raised to allow canceling operations. The event is first raised on the SvnClientArgs object and then on the SvnClient
Committing
Raised on progress. The event is first raised on the SvnClientArgsWithCommit object and then on the SvnClient
Conflict
Raised on conflict. The event is first raised on the SvnClientArgsWithConflict object and then on the SvnClient
Notify
Raised on notifications. The event is first raised on the SvnClientArgs object and then on the SvnClient
Processing
Raised just before a command is executed. This allows a listener to cleanup before a new command is started
Progress
Raised on progress. The event is first raised on the SvnClientArgs object and then on the SvnClient
SvnError
Raised when a subversion exception occurs. Set Cancel to true to cancel throwing the exception

See Also