Go to the documentation of this file.
25 #ifndef _SVNCPP_CLIENT_H_
26 #define _SVNCPP_CLIENT_H_
29 #if defined (_MSC_VER) && _MSC_VER > 1200 && _MSC_VER <= 1500
31 #pragma warning (disable: 4290)
124 if (0 != info->post_commit_err)
188 const bool descend =
false,
189 const bool get_all =
true,
190 const bool update =
false,
191 const bool no_ignore =
false,
232 const
Path & destPath,
235 bool ignore_externals = false,
314 std::vector<svn_revnum_t>
318 bool depth_is_sticky,
325 bool depth_is_sticky,
398 const
char * message,
418 const
Path & destPath,
457 bool breakLocks,
bool fixTimestamps,
bool vacuumPristines,
473 bool removeUnversioned,
bool removeIgnored,
474 bool fixTimestamps,
bool vacuumPristines,
509 const
Path & to_path,
511 bool overwrite = false,
513 bool ignore_externals = false,
514 svn_depth_t depth = svn_depth_infinity,
539 const
char * message,
544 const
char * message,
555 const
Path & localPath,
bool force,
557 bool notice_ancestry = false,
596 log(const
char * path,
599 bool discoverChangedPaths = false,
620 log(const
char * path,
624 bool discoverChangedPaths = false,
652 const
bool recurse, const
bool ignoreAncestry,
681 const
bool recurse, const
bool ignoreAncestry,
710 const
Revision & revision2, const
bool recurse,
711 const
bool ignoreAncestry, const
bool noDiffDeleted)
725 list(const
char * pathOrUrl,
726 svn_opt_revision_t * revision,
741 bool recurse = false);
757 bool recurse = false);
777 const
char * propValue,
780 bool recurse = false,
781 bool skip_checks = true);
796 bool recurse = false);
820 std::pair<svn_revnum_t,std::
string>
838 const
char * propValue,
void import(const Path &path, const char *url, const char *message, bool recurse)
std::vector< Info > InfoVector
Definition: client.hpp:62
std::string date
Definition: client.hpp:104
bool showModified
this includes showConflicted as well
Definition: client.hpp:85
PathPropertiesMapList propget(const char *propName, const Path &path, const Revision &revision, bool recurse=false)
svn_revnum_t doSwitch(const Path &path, const char *url, const Revision &revision, bool recurse)
Definition: exception.hpp:74
std::string diff(const Path &tmpPath, const Path &path, const Revision &revision1, const Revision &revision2, const bool recurse, const bool ignoreAncestry, const bool noDiffDeleted)
Client(Context *context=0)
InfoVector info(const Path &pathOrUrl, bool recurse=false, const Revision &revision=Revision::UNSPECIFIED, const Revision &pegRevision=Revision::UNSPECIFIED)
void merge(const Path &path1, const Revision &revision1, const Path &path2, const Revision &revision2, const Path &localPath, bool force, bool recurse, bool notice_ancestry=false, bool dry_run=false)
AnnotatedFile * annotate(const Path &path, const Revision &revisionStart, const Revision &revisionEnd)
bool showIgnored
Definition: client.hpp:87
std::vector< DirEntry > DirEntries
Definition: client.hpp:61
void ignore(const Path &path)
void add(const Path &path, bool recurse)
Definition: revision.hpp:42
Definition: client.hpp:80
const CommitInfo & commitInfo() const
Definition: client.hpp:146
void copy(const Path &srcPath, const Revision &srcRevision, const Path &destPath)
std::vector< Status > StatusEntries
Definition: client.hpp:64
std::vector< svn_revnum_t > update(const Targets &targets, const Revision &revision, svn_depth_t depth, bool depth_is_sticky, bool ignore_externals)
std::string postCommitErr
Definition: client.hpp:110
void doExport(const Path &from_path, const Path &to_path, const Revision &revision, bool overwrite=false, const Revision &peg_revision=Revision::UNSPECIFIED, bool ignore_externals=false, svn_depth_t depth=svn_depth_infinity, const char *native_eol=NULL)
std::map< std::string, std::string > PropertiesMap
Definition: client.hpp:68
void mkdir(const Path &path)
void setContext(Context *context=NULL)
void vacuum(const Path &path, bool removeUnversioned, bool removeIgnored, bool fixTimestamps, bool vacuumPristines, bool includeExternals)
void revert(const Targets &targets, bool recurse)
Definition: client.hpp:99
bool showUnmodified
Definition: client.hpp:84
Definition: targets.hpp:43
const LogEntries * log(const char *path, const Revision &revisionStart, const Revision &revisionEnd, bool discoverChangedPaths=false, bool strictNodeHistory=true)
CommitInfo(const svn_commit_info_t *info)
Definition: client.hpp:117
std::pair< svn_revnum_t, std::string > revpropget(const char *propName, const Path &path, const Revision &revision)
void propdel(const char *propName, const Path &path, const Revision &revision, bool recurse=false)
std::string author
Definition: client.hpp:107
Definition: client.hpp:133
void unlock(const Targets &targets, bool force)
svn_revnum_t revision
Definition: client.hpp:101
void upgrade(const Path &path)
StatusEntries status(const char *path, const bool descend=false, const bool get_all=true, const bool update=false, const bool no_ignore=false, const bool ignore_externals=false)
Definition: annotate_line.hpp:31
svn_revnum_t checkout(const char *moduleName, const Path &destPath, const Revision &revision, svn_depth_t depth, bool ignore_externals=false, const Revision &peg_revision=Revision::UNSPECIFIED)
bool showConflicted
Definition: client.hpp:86
svn_revnum_t commit(const Targets &targets, const char *message, bool recurse, bool keep_locks=false)
std::vector< PathPropertiesMapEntry > PathPropertiesMapList
Definition: client.hpp:72
CommitInfo()
Definition: client.hpp:112
std::pair< svn_revnum_t, PropertiesMap > revproplist(const Path &path, const Revision &revision)
std::string cat(const Path &path, const Revision &revision, const Revision &peg_revision=Revision::UNSPECIFIED)
void relocate(const Path &path, const char *from_url, const char *to_url, bool recurse)
void lock(const Targets &targets, bool force, const char *comment)
Definition: context.hpp:48
StatusFilter()
Definition: client.hpp:90
void cleanup(const Path &path)
PathPropertiesMapList proplist(const Path &path, const Revision &revision, bool recurse=false)
const Context * getContext() const
std::vector< AnnotateLine > AnnotatedFile
Definition: client.hpp:58
void move(const Path &srcPath, const Revision &srcRevision, const Path &destPath, bool force)
void remove(const Path &path, bool force)
bool showUnversioned
Definition: client.hpp:83
svn_revnum_t revpropdel(const char *propName, const Path &path, const Revision &revision, bool force=false)
bool showExternals
Definition: client.hpp:88
void resolved(const Path &path, bool recurse)
std::pair< std::string, PropertiesMap > PathPropertiesMapEntry
Definition: client.hpp:70
std::vector< LogEntry > LogEntries
Definition: client.hpp:63
void get(Path &dstPath, const Path &path, const Revision &revision, const Revision &peg_revision=Revision::UNSPECIFIED)
void propset(const char *propName, const char *propValue, const Path &path, const Revision &revision, bool recurse=false, bool skip_checks=true)
svn_revnum_t revpropset(const char *propName, const char *propValue, const Path &path, const Revision &revision, bool force=false)
DirEntries list(const char *pathOrUrl, svn_opt_revision_t *revision, bool recurse)