#include <client.hpp>
Public Methods | |
Client (Context *context=0) | |
virtual | ~Client () |
const Context * | getContext () const |
void | setContext (Context *context=NULL) |
StatusEntries | status (const char *path, const bool descend=false, const bool get_all=true, const bool update=false, const bool no_ignore=false) |
Status | singleStatus (const char *path) |
void | checkout (const char *moduleName, const Path &destPath, const Revision &revision, bool recurse) |
void | notification (Notify *notify) |
void | remove (const Path &path, bool force) |
void | remove (const Targets &targets, bool force) |
void | revert (const Path &path, bool recurse) |
void | add (const Path &path, bool recurse) |
void | update (const Path &path, const Revision &revision, bool recurse) |
std::string | cat (const Path &path, const Revision &revision) |
svn_revnum_t | commit (const Targets &targets, const char *message, bool recurse) |
void | copy (const Path &srcPath, const Revision &srcRevision, const Path &destPath) |
void | move (const Path &srcPath, const Revision &srcRevision, const Path &destPath, bool force) |
void | mkdir (const Path &path, const char *message) |
void | mkdir (const Targets &targets, const char *message) |
void | cleanup (const Path &path) |
void | resolved (const Path &path, bool recurse) |
void | doExport (const Path &srcPath, const Path &destPath, const Revision &revision, bool force=false) |
void | doSwitch (const Path &path, const char *url, const Revision &revision, bool recurse) |
void | import (const Path &path, const char *url, const char *message, bool recurse) |
void | merge (const Path &path1, const Revision &revision1, const Path &path2, const Revision &revision2, const Path &localPath, bool force, bool recurse) |
const LogEntries * | log (const char *path, const Revision &revisionStart, const Revision &revisionEnd) |
std::string | diff (const Path &tmpPath, const Path &path, const Revision &revision1, const Revision &revision2, const bool recurse, const bool ignoreAncestry, const bool noDiffDeleted) |
DirEntries | ls (const char *pathOrUrl, svn_opt_revision_t *revision, bool recurse) |
|
Initializes the primary memory pool. |
|
|
|
Adds a file to the repository.
|
|
Retrieves the contents for a specific revision of a path
|
|
Executes a revision checkout.
|
|
Recursively cleans up a local directory, finishing any incomplete operations, removing lockfiles, etc.
|
|
Commits changes to the repository. This usually requires authentication, see Auth.
|
|
Copies a versioned file with the history preserved.
|
|
Produce diff output which describes the delta between path/@a revision1 and path/@a revision2. path can be either a working-copy path or a URL. A ClientException will be thrown if either revision1 or revision2 has an `unspecified' or unrecognized `kind'.
|
|
Exports the contents of either a subversion repository into a 'clean' directory (meaning a directory with no administrative directories).
|
|
Update local copy to mirror a new url. This excapsulates the svn_client_switch() client method.
|
|
|
|
Import file or directory PATH into repository directory URL at head. This usually requires authentication, see Auth.
|
|
Retrieve log information for the given path Loads the log messages result set. The first entry is the youngest revision. You can use the constants Revision::START and Revision::HEAD
|
|
lists entries in pathOrUrl no matter whether local or repository
|
|
Merge changes from two paths into a new local path.
|
|
Create multiple directories.
|
|
Creates a directory directly in a repository or creates a directory on disk and schedules it for addition. If path is a URL then authentication is usually required, see Auth.
|
|
Moves or renames a file.
|
|
Sets the notification function and baton that the C library uses to send processing information back to the calling program. This must be called before calling the other methods in this class.
|
|
Sets files for deletion.
|
|
Sets a single file for deletion.
|
|
Removes the 'conflicted' state on a file.
|
|
Reverts a file to a pristine state.
|
|
sets the client context you have to make sure the old context is de-allocated
|
|
Returns the status of a single file in the path. Throws an exception if an error occurs
|
|
Enumerates all files/dirs at a given path. Throws an exception if an error occurs
|
|
Updates the file or directory.
|