3
* ====================================================================
4
* Copyright (c) 2003-2007 CollabNet. All rights reserved.
6
* This software is licensed as described in the file COPYING, which
7
* you should have received as part of this distribution. The terms
8
* are also available at http://subversion.tigris.org/license-1.html.
9
* If newer versions of this license are posted there, you may use a
10
* newer version instead, at your option.
12
* This software consists of voluntary contributions made by many
13
* individuals. For exact contribution history, see the revision
14
* history and logs, available at http://subversion.tigris.org/.
15
* ====================================================================
19
* @brief Interface of the class SVNAdmin
26
#include "svn_repos.h"
31
#include "MessageReceiver.h"
34
class SVNAdmin : public SVNBase
37
void rmlocks(const char *path, Targets &locks);
38
jobjectArray lslocks(const char *path);
39
void verify(const char *path, Outputer &messageOut,
40
Revision &revisionStart, Revision &revisionEnd);
41
void setRevProp(const char *path, Revision &revision,
42
const char *propName, const char *propValue,
43
bool usePreRevPropChangeHook,
44
bool usePostRevPropChangeHook);
45
void rmtxns(const char *path, Targets &transactions);
46
jlong recover(const char *path);
47
void lstxns(const char *path, MessageReceiver &messageReceiver);
48
void load(const char *path, Inputer &dataIn, Outputer &messageOut,
49
bool ignoreUUID, bool forceUUID, bool usePreCommitHook,
50
bool usePostCommitHook, const char *relativePath);
51
void listUnusedDBLogs(const char *path,
52
MessageReceiver &messageReceiver);
53
void listDBLogs(const char *path, MessageReceiver &messageReceiver);
54
void hotcopy(const char *path, const char *targetPath, bool cleanLogs);
55
void dump(const char *path, Outputer &dataOut, Outputer &messageOut,
56
Revision &revsionStart, Revision &RevisionEnd,
57
bool incremental, bool useDeltas);
58
void deltify(const char *path, Revision &start, Revision &end);
59
void create(const char *path, bool ignoreUUID, bool forceUUID,
60
const char *configPath, const char *fstype);
63
void dispose(jobject jthis);
64
static SVNAdmin *getCppObject(jobject jthis);
67
static svn_error_t *getRevnum(svn_revnum_t *revnum,
68
const svn_opt_revision_t *revision,
69
svn_revnum_t youngest, svn_repos_t *repos,