view release on metacpan or search on metacpan
src/subversion/subversion/tests/cmdline/svntest/__init__.py
src/subversion/subversion/tests/cmdline/svntest/actions.py
src/subversion/subversion/tests/cmdline/svntest/deeptrees.py
src/subversion/subversion/tests/cmdline/svntest/err.py
src/subversion/subversion/tests/cmdline/svntest/factory.py
src/subversion/subversion/tests/cmdline/svntest/main.py
src/subversion/subversion/tests/cmdline/svntest/objects.py
src/subversion/subversion/tests/cmdline/svntest/sandbox.py
src/subversion/subversion/tests/cmdline/svntest/testcase.py
src/subversion/subversion/tests/cmdline/svntest/tree.py
src/subversion/subversion/tests/cmdline/svntest/verify.py
src/subversion/subversion/tests/cmdline/svntest/wc.py
src/subversion/subversion/tests/cmdline/svnversion_tests.py
src/subversion/subversion/tests/cmdline/switch_tests.py
src/subversion/subversion/tests/cmdline/theta.bin
src/subversion/subversion/tests/cmdline/trans_tests.py
src/subversion/subversion/tests/cmdline/tree_conflict_tests.py
src/subversion/subversion/tests/cmdline/tree_conflict_tests.txt
src/subversion/subversion/tests/cmdline/update_tests.py
src/subversion/subversion/tests/cmdline/update_tests_data/checkout_broken_eol.dump
src/subversion/subversion/tests/cmdline/upgrade_tests.py
src/subversion/tools/dev/stress.pl
src/subversion/tools/dev/svn-dev.el
src/subversion/tools/dev/svn-dev.vim
src/subversion/tools/dev/svn-entries.el
src/subversion/tools/dev/svn-merge-revs.py
src/subversion/tools/dev/svnqlite3-dump
src/subversion/tools/dev/svnraisetreeconflict/svnraisetreeconflict.c
src/subversion/tools/dev/trails.py
src/subversion/tools/dev/unix-build/Makefile.svn
src/subversion/tools/dev/unix-build/README
src/subversion/tools/dev/verify-history.py
src/subversion/tools/dev/warn-ignored-err.sh
src/subversion/tools/dev/wc-format.py
src/subversion/tools/dev/wc-ng/bump-to-19.py
src/subversion/tools/dev/wc-ng/count-progress.py
src/subversion/tools/dev/wc-ng/gather-data.sh
src/subversion/tools/dev/wc-ng/graph-data.py
src/subversion/tools/dev/wc-ng/populate-pristine.py
src/subversion/tools/dev/which-error.py
src/subversion/tools/dev/windows-build/document-version.pl
src/subversion/tools/dev/windows-build/README
src/subversion/tools/hook-scripts/mailer/tests/mailer-t1.sh
src/subversion/tools/hook-scripts/mailer/tests/mailer-tweak.py
src/subversion/tools/hook-scripts/mailer/tests/mailer.conf
src/subversion/tools/hook-scripts/persist-ephemeral-txnprops.py
src/subversion/tools/hook-scripts/svn2feed.py
src/subversion/tools/hook-scripts/svnperms.conf.example
src/subversion/tools/hook-scripts/svnperms.py
src/subversion/tools/hook-scripts/validate-extensions.py
src/subversion/tools/hook-scripts/validate-files.conf.example
src/subversion/tools/hook-scripts/validate-files.py
src/subversion/tools/hook-scripts/verify-po.py
src/subversion/tools/po/l10n-report.py
src/subversion/tools/po/po-update.sh
src/subversion/tools/server-side/fsfs-reshard.py
src/subversion/tools/server-side/fsfs-stats.c
src/subversion/tools/server-side/mod_dontdothat/mod_dontdothat.c
src/subversion/tools/server-side/mod_dontdothat/README
src/subversion/tools/server-side/svn-backup-dumps.py
src/subversion/tools/server-side/svn-populate-node-origins-index.c
src/subversion/tools/server-side/svn-rep-sharing-stats.c
src/subversion/tools/server-side/svn_server_log_parse.py
src/subversion/CHANGES view on Meta::CPAN
* fix assertion on urls of the form 'file://./' (r1516806)
* stop linking against psapi.dll on Windows (r1534102)
* translation updates for Swedish
- Client-side bugfixes:
* revert: fix problems reverting moves (issue #4436)
* update: fix assertion when file external access is denied (issue #4422)
* merge: reduce network connections for automatic merge (r1468980 et al)
* merge: fix path corruption during reintegration (r1523666)
* mergeinfo: fix crash (r1519955)
* ra_serf: verify the result of xml parsing (r1501199 et al)
* ra_serf: improve error messages during commit (r1526439)
* ra_local: fix error with repository in Windows drive root (r1518184)
* fix crash on windows when piped command is interrupted (r1522892)
* fix crash in the crash handler on windows (r1532023)
* fix assertion when upgrading old working copies (r1520529)
- Server-side bugfixes:
* hotcopy: cleanup unpacked revprops with '--incremental' (r1512300 et al)
* fix OOM on concurrent requests at threaded server start (r1527103 et al)
* fsfs: improve error message when unsupported fsfs format found (r1534158)
src/subversion/CHANGES view on Meta::CPAN
* support for server-side keyword expansion in mod_dav_svn (r1466055)
* FSFS now able to cache revision properties (r1326307)
* FSFS cache for changed-paths increases 'svn log' performance (r1378358)
* FSFS cache mergeinfo requested during 'log -g' (r1395439)
* many FSFS caching improvements (r1390435, r1390447)
* directory and property deltification option in FSFS (issue #4084)
* fine-grained control deltification behavior via fsfs.conf (r1311476)
* FSFS de-duplication ("rep sharing") now works within a revision (r1397773)
* FSFS de-duplication now works for properties as well (r1243312)
* read FSFS data using fewer fopen calls (issue #3372)
* 'svnadmin verify' will now check meta data (issues #3956, #4211)
* 'svnadmin verify' now checks for issue #4129 style corruption (r1304656)
* new --client-speed option for svnserve (r1391788)
* new --single-threaded option in svnserve (r1296018)
* hook script templates are now marked as executable (r1153414)
* error out on non-canonical fspaths in the authz file (r1166111)
* improve path lookup performance in FSFS (r1442088)
* svnserve now logs explicit path and reason for authz failures (r1446542)
* validate offsets from rep-cache to prevent FSFS corruption (issue #4277)
* new AuthzSVNGroupsFile option to store authz groups separately (r1438407)
* new 'SVNAllowBulkUpdates prefer' option for mod_dav_svn (r1417642, et al)
* new 'SVNMasterVersion' option for mod_dav_svn (r1398962)
src/subversion/CHANGES view on Meta::CPAN
* new --diff-cmd option for 'svnlook diff' (r1413449)
* allow leading "r"'s in http: ?p= and ?r= query parameters (r1221463)
* faster 'svn ls' for large directories (r1296627)
* mod_dav_svn now advertises supported POST types (r1375123)
* mod_dav_svn can create transaction with inline txnprops (r1375167)
* run start-commit hook after transaction creation (r1376201)
* avoid byte-for-byte comparison where it can be avoided (r1390641)
* various server-side performance improvements for 'log -g' (r1395442 et al)
* allow up to 10Gbit throughput with svnserve (r1391788)
* install mod_dontdothat correctly (r1454450)
* svnadmin verify can now verify transactions (r1462353)
* FSFS verifies revisions as they are added (r1462409)
- Client-side bugfixes:
* fix inconsistent 'svn log' output for empty revisions (issue #3964)
* fix mis-ordered text output of 'svn log --diff' on Windows (r1220783)
* fix 'svn log --diff' on moved file (issue #4153).
* fix 'svn revert' of 'svn move' (issue #876)
* fix file externals wrongly "resurrecting" a deleted file (#4017)
* fix reporting of corrupted 1.6 w/cs by 'svn upgrade' (r1182904, -9)
* fix bug caused by URI-decoding local merge source paths (r1210539)
src/subversion/CHANGES view on Meta::CPAN
* reduce duplicate log messages in 'log -g' (issue #3650)
* svnserve: don't crash on shutdown with SASL in inetd mode (issue #3664)
* disallow arbitrary HTTP headers from committers (issue #2872)
* limit FSFS memory consumption (issue #3478, #3593)
* many other minor bugfixes too numerous to list here
- Other tool improvements and bugfixes:
* svnsync now takes the '--config-option' argument (issue #2027)
* svnsync can translate non-UTF-8 properties to UTF-8 (issue #3817)
* svnadmin now errors on non-UTF-8 revision properties (issue #3755)
* svnadmin verify now errors on non-UTF-8 paths (r1129641)
Developer-visible changes:
- General:
* improved output of 'make check'
* introduce scratch_pool/result_pool parameter paradigm
* improved error tracing (r877208, -736)
* improve building with sqlite on Windows (issue #3364)
* allow mod_dav_svn to compile against Apache 2.4 (issue #3548)
* support running tests against older servers (r876016)
* notification of unversioned obstructions (r877344)
src/subversion/CHANGES view on Meta::CPAN
* fixed: record-only merges create self-referential mergeinfo (issue #3646)
* fixed: 'SVNPathAuthz short_circuit' unsolicited read access (issue #3695)
See CVE-2010-3315, and descriptive advisory at
http://subversion.apache.org/security/CVE-2010-3315-advisory.txt
* make 'svnmucc propset' handle existing and non-existing URLs (r1000607)
* add new 'propsetf' subcommand to svnmucc (r1000612)
* warn about copied dirs during 'svn ci' with limited depth (r1002094)
Developer-visible changes:
* make ruby bindings compatible with Ruby 1.9 (r957507)
* use the repos verify API in JavaHL (r948916)
* teach ra_serf to parse md5 checksums with update editors (r979429)
* let ra_serf work with current serf releases (r879757, r880320, r943796)
Version 1.6.12
(21 Jun 2010, from /branches/1.6.x)
http://svn.apache.org/repos/asf/subversion/tags/1.6.12
User-visible changes:
* further improvements for issue #3242
src/subversion/CHANGES view on Meta::CPAN
* improve exception handling on Windows Vista and 7 (r878447, -910, -916)
Version 1.6.11
(19 Apr 2010, from /branches/1.6.x)
http://svn.apache.org/repos/asf/subversion/tags/1.6.11
User-visible changes:
* fix for repositories mounted via NFS (issue #3501)
* enable TCP keep-alives in svnserve (r880552)
* tighten restrictions on revprops for 'svnadmin verify' (r904594)
* make ra_serf give better out-of-date information (issue #3561)
* improve error message upon connection failure with svn+ssh:// (r922516)
* allow 'svn log' on an uncommitted copy/move destination (r901752)
* make 'svnadmin hotcopy' copy the fsfs config file (r905303)
* mergeinfo improvements with non-inheritable mergeinfo (issue #3573)
* make mergeinfo queries not require access to the repo root (issue #3242)
* update URLs to refer the new apache.org repository (r904301, -94)
* update relative externals during a switch (issue #3390)
* fix 'merge --reintegrate' with self-referential mergeinfo (r892050, -85)
* improve wc-ng working copy detection (r929382)
src/subversion/CHANGES view on Meta::CPAN
* 'svn merge' now has informative messages on reverse merges (issue #2848)
* 'svn merge FILE' now honors '--ignore-ancestry' (issue #2853, r25891)
* 'svn merge' handles multiple notifications for single items (issue #2828)
* 'svn merge' handles skipped path better (issue #2829)
* 'svn merge' handles merges from foreign repositories more completely
* 'update', 'checkout', 'switch' now handle obstructions gracefully (r22257)
* 'svn update' now takes '--force' (issue #2392)
* 'svn update' now sometimes copies or moves local files, for efficiency
* 'svnadmin lslocks' now accepts path within repository (issue #2965)
* 'svnadmin recover' now supports FSFS repositories (issue #2992)
* 'svnadmin verify' now has '-q' and '-r' options (r22103)
* 'svnadmin setrevprop' command added (r21736)
* 'svnadmin setuuid' command added (r28511)
* 'svnsync sync' now shows commit progress like 'svn commit'
* 'svnsync' now takes '-q, --quiet' option (r26465)
* 'svnsync' now supports separate authn for source/target (issue #2717)
* 'svnsync copy-revprops' now supports revision ranges (r23498)
* 'svnsync copy-revprops' now supports "HEAD" revision alias (r23500)
* 'svnmucc' is new name for contrib tool formerly called 'mucc'
* 'svnmucc' now has propset and propdel subcommands (issue #2758)
* 'svnmucc' now has more authentication options
src/subversion/CHANGES view on Meta::CPAN
- fixed: error conversion crash (r19516)
- fixed: unfriendly error when locking already locked path (issue #2275)
- fixed: xml escaping bugs (r19760 -85 -86)
* authorization improvements:
- new mod_dontdothat apache module (r19531)
- new mod_authz_svn directive AuthzSVNNoAuthWhenAnonymousAllowed (r18680)
- error out when authz rules contain unexpected characters (r19471)
* support .wsf hook scripts on Windows (r18972, 19076)
* lots of improvements to mailer.py and commit-email.pl
* FSFS back-end performance improvements (r17125 19119 -456 -58 -59)
* fixed: 'svnadmin verify' output not in native encoding (issue #1997)
* fixed: uuid file in FSFS could be destroyed on write error (issue #2193)
* fixed: FSFS path encoding bug (r17774)
* fixed: don't crash on corrupt repositories (r17625)
* fixed: expect error output from hook scripts in native encoding (r17101)
* fixed: catch errors starting hook scripts (r16891 17041 -81)
* fixed: svnserve and authz can cause broken WCs (issue #2566)
* fixed: the default hook script templates should be vanilla sh (r20796)
- Both:
* delta compression improvements:
src/subversion/CHANGES view on Meta::CPAN
* mod_authz_svn groups can now contain other groups (issue #2085)
* 'svnadmin recover' now creates default svnserve passwd file (r11589)
* increase default BDB cache size in DB_CONFIG (r13030)
* new switches added:
- 'svnlook diff --no-diff-added' - suppress added files (#2180)
- 'svnlook propget/proplist --revprop' - show revision props (#2181)
- 'svnadmin load --use-pre-commit-hook'
'svnadmin load --use-post-commit-hook'- invoke hooks when loading
* fixed: FSFS race condition on posix platforms (issue #2265)
* fixed: change FSFS revprops atomically and safely (issue #2193)
* fixed: FSFS should verify checksums (issue #2253)
* fixed: FSFS crash bug (r14333)
* fixed: 'svnadmin create' should clean up when it fails (r13200)
* fixed: 'svnadmin load' compatibility on pre-0.14 dumpfiles (r12075)
* fixed: 'svnadmin load' crashes on contentful rev 0 (issue #1674)
* fixed: 'svnadmin dump' should write in console encoding (issue #1997)
* fixed: check for null-streams in dump/load code (r10510)
* fixed: hook script ignored when symlink is broken (issue #1700)
* fixed: hook script may inherit server's stdin stream (r12155)
* fixed: potential svnserve segfault (r13199)
* fixed: svnserve handling mutually-exclusive options (issue #2251)
src/subversion/CHANGES view on Meta::CPAN
* validate hex digits in % escape (issue #1947)
* hashes now written to disk in sorted order (r9910)
* do cancellation checks before loops, not after (r8918)
* fixed: bug in svn_repos_dir_delta replacement logic (r8078)
* fixed: tiny memory access bugs (r8229, 8230, 8313)
* fixed: several commit buglets (r8955, 9658, 9757, 9855)
* fixed: don't recursively lock all prop commands (r9172)
* fixed: svnserve memory usage on many-file commits (r9185)
* fixed: close svnserve child's listen-socket after forking (r10050)
* fixed: 'svnadmin hotcopy' integrity improvements (issues #1817, #1818)
* fixed: only verify media type of svn:mime-type, not encoding (r10126)
* fixed: handle '//' and '..' in svn_path_canonicalize (issue #1779)
* fixed: double URI escaping (issue #1814)
* fixed: editor-driver bug (don't delete before every copy) (r10851)
* fixed: potential mod_dav_svn crashes/memleaks (r10478)
* fixed: better 'svnadmin verify verification (r10508, r10509)
* fixed: encoding of get_repos_url_result (r10353, 10375)
* fixed: prevent canonicalized URIs from ending in '/' (r10317)
* stop using -std=c89 gcc flag (r11054)
* sync with apr 1.0's find_apr.m4 and find_apu.m4 files (r10560)
* win32 installer improvements (r10978)
* huge improvements to python, perl, java bindings
* huge changes to win32 build system
Version 1.0.8
src/subversion/CHANGES view on Meta::CPAN
(r7037), almost finish win32 iconv issues (#872), restored-file
entry-timestamp bugfix (r7090, #1523), always print CWD as '.' (r7097)
Version 0.29.0 (released 05 Sep 2003, revision 6976)
http://svn.apache.org/repos/asf/subversion/tags/0.29.0
User-visible changes:
* 'svn status' now streams its response. (r6913, #1426)
* 'svn status' now recurses into externals (r6913, #1428)
* new 'svnadmin verify' command to verify repository data (r6851, #1074)
* SSL changes: (r6958, #1371)
- dropped support for PEM-encoded client certs, only accept PKCS12 now.
- 'ssl-authority-files' is now a list of CA files
- no more 'ssl-client-cert-type' and 'ssl-client-key-file' variables.
* new svndumpfilter option: '--preserve-revprops' to keep props on empty revs
* mailer.py improvement: handle multiple match groups (r6940)
* remove in-repos/on-disk repository template features, till post-1.0 (r6965)
* various cleanups to the Book
* other bugfixes: switch deletion bug (r6890, #1496), status
repos-delete bug (r6913, #1469), reversion of '.' (r6953, #854).
src/subversion/CHANGES view on Meta::CPAN
* 'svn add' is now recursive by default, -N to disable (#1073)
* new 'svnversion' program summarizes mixed-revs of a working copy
* huge improvements to the mailer.py tool
* more work on the Book and man page
* default global-ignores now built-in, new runtime-config file commented out
Developer-visible changes:
* checksums, checksums everywhere (issues #649, #689):
- filesystem stores them, and verifies them when reading/writing
- working copy stores them, and verifies them when reading/writing
- checksums transferred both ways over network, RA layers verify them
* finish draft of internal diff/diff3 library -- ready for testing/optimizing
* more utf8<->apr conversion work (#872)
* more work on swig/python and ruby bindings
* improvements to win32-innosetup package
* 'svnserve' now has an official IANA-assigned portnumber.
* mod_dav_svn now only sends/understands new xml prop namespaces (#840)
* bug fixes: stop needless fs rep data copies (#1067), wc auth
caching bugs (#1064), use APR_BUFFERED to open files (#1071), lots
of wc 'missing dir' edge-case bugs (#962), prevent wc from
receiving '.svn' (#1068), don't commit symlinks (#1081), better
src/subversion/COMMITTERS view on Meta::CPAN
larrys Larry Shatzer, Jr. <larrys@gmail.com> (svn-keyword-check.pl)
nmiyo MIYOKAWA, Nobuyoshi <n-miyo@tempus.org> (www: ja)
rocksun Rock Sun <daijun@gmail.com> (www: zh)
kmradke Kevin Radke <kmradke@gmail.com> (add-needs-lock.py)
esr Eric S. Raymond <esr@thyrsus.com> (svncutter)
gmcdonald Gavin McDonald <gavin@16degrees.com.au> (build/hudson,
tools/buildbot)
artagnon Ramkumar Ramachandra <artagnon@gmail.com> (svnrdump, svntest)
arwin Arwin Arni <arwin@collab.net> (svn-bisect)
joes Joe Schaefer <joe_schaefer@yahoo.com> (svnpubsub)
prabhugs Prabhu Gnana Sundar <prabhugs@collab.net> (verify-keep-going)
Translation of message files:
niqueco Nicolás Lichtmaier <nick@reloco.com.ar> (po: es)
luebbe Lübbe Onken <luebbe@tigris.org> (po: de)
jensseidel Jens Seidel <jensseidel@users.sf.net> (po: de)
astieger Andreas Stieger <andreas.stieger@gmx.de> (po: de)
oyvindmo Ãyvind Møll <svn@moll.no> (po: nb)
sunny256 Ãyvind A. Holm <sunny@sunbase.org> (po: nb)
src/subversion/INSTALL view on Meta::CPAN
The following also assumes that you have modified
/usr/local/apache2/conf/httpd.conf to reflect your setup.
At a minimum you should look at the User, Group and ServerName
directives. Full details on setting up apache can be found at:
http://httpd.apache.org/docs-2.0/
First, your httpd.conf needs to load the mod_dav_svn module.
If you pass --enable-mod-activation to Subversion's configure,
'make install' target should automatically add this line for you.
In any case, if Apache HTTPD gives you an error like "Unknown
DAV provider: svn", then you may want to verify that this line
exists in your httpd.conf:
LoadModule dav_svn_module modules/mod_dav_svn.so
NOTE: if you built mod_dav as a dynamic module as well, make sure
the above line appears after the one that loads mod_dav.so.
Next, add this to the *bottom* of your httpd.conf:
<Location /svn/repos>
src/subversion/build/ltmain.sh view on Meta::CPAN
exit_status=1
continue
elif $rmforce; then
continue
fi
rmfiles=$file
case $name in
*.la)
# Possibly a libtool archive, so verify it.
if func_lalib_p "$file"; then
func_source $dir/$name
# Delete the libtool libraries and symlinks.
for n in $library_names; do
func_append rmfiles " $odir/$n"
done
test -n "$old_library" && func_append rmfiles " $odir/$old_library"
case $opt_mode in
src/subversion/build/ltmain.sh view on Meta::CPAN
# Do each command in the old_postuninstall commands.
func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1'
fi
# FIXME: should reinstall the best remaining shared library.
;;
esac
fi
;;
*.lo)
# Possibly a libtool object, so verify it.
if func_lalib_p "$file"; then
# Read the .lo file
func_source $dir/$name
# Add PIC object to the list of files to remove.
if test -n "$pic_object" && test none != "$pic_object"; then
func_append rmfiles " $dir/$pic_object"
fi
src/subversion/configure.ac view on Meta::CPAN
INSTALL="$abs_srcdir/$INSTALL"
fi
if test -z "$MKDIR"; then
MKDIR="$INSTALL -d"
fi
AC_SUBST([MKDIR])
# ==== Libraries, for which we may have source to build ======================
dnl verify apr version and set apr flags
dnl These regular expressions should not contain "\(" and "\)".
dnl The specific reason we require APR 0.9.7 is:
dnl It contains fixes to its file writing routines
dnl now generating errors instead of silently ignoring
dnl them. Only .7 and later can guarantee repository
dnl integrity with FSFS.
APR_VER_REGEXES=["0\.9\.[7-9] 0\.9\.[12][0-9] 1\. 2\."]
SVN_LIB_APR($APR_VER_REGEXES)
src/subversion/subversion/bindings/ctypes-python/README view on Meta::CPAN
-------------
BUILDING CSVN
-------------
Before building csvn, first verify that you have all the required software
installed:
- Python 2.4 or later
- ctypes 1.0 or later (NOTE: ctypes is included by default with Python 2.5)
- Subversion 1.4.3 or later (including header files)
- APR and APR-util (including header files, and the
apr-1-config / apr-config script)
Next, checkout the latest version of ctypesgen from
http://code.google.com/p/ctypesgen/ to a "ctypesgen" subdirectory under
src/subversion/subversion/bindings/ctypes-python/csvn/repos.py view on Meta::CPAN
class LocalRepository(object):
"""A client which accesses the repository directly. This class
may allow you to perform some administrative actions which
cannot be performed remotely (e.g. create repositories,
dump repositories, etc.)
Unlike RemoteRepository, the functions in this class do not
accept URIs, and instead only accept local filesystem
paths.
By default, this class does not perform any checks to verify
permissions, assuming that the specified user has full
administrative access to the repository. To teach this class
to enforce an authz policy, you must subclass csvn.auth.User
and implement the allow_access function.
"""
def __init__(self, path, create=False, user=None):
"""Open the repository at PATH. If create is True,
create a new repository.
src/subversion/subversion/bindings/javahl/native/SVNRepos.cpp view on Meta::CPAN
if (*revnum > youngest)
return svn_error_createf
(SVN_ERR_INCORRECT_PARAMS, NULL,
_("Revisions must not be greater than the youngest revision (%ld)"),
youngest);
return SVN_NO_ERROR;
}
void
SVNRepos::verify(File &path, Revision &revisionStart, Revision &revisionEnd,
ReposNotifyCallback *notifyCallback)
{
SVN::Pool requestPool;
svn_repos_t *repos;
svn_revnum_t lower = SVN_INVALID_REVNUM, upper = SVN_INVALID_REVNUM;
svn_revnum_t youngest;
if (path.isNull())
{
JNIUtil::throwNullPointerException("path");
src/subversion/subversion/bindings/javahl/native/SVNRepos.cpp view on Meta::CPAN
else if (upper == SVN_INVALID_REVNUM)
{
upper = lower;
}
if (lower > upper)
SVN_JNI_ERR(svn_error_create
(SVN_ERR_INCORRECT_PARAMS, NULL,
_("Start revision cannot be higher than end revision")), );
SVN_JNI_ERR(svn_repos_verify_fs2(repos, lower, upper,
notifyCallback != NULL
? ReposNotifyCallback::notify
: NULL,
notifyCallback,
checkCancel, this /* cancel callback/baton */,
requestPool.getPool()), );
}
void SVNRepos::pack(File &path, ReposNotifyCallback *notifyCallback)
{
src/subversion/subversion/bindings/javahl/native/SVNRepos.h view on Meta::CPAN
#include "ReposNotifyCallback.h"
#include "ReposFreezeAction.h"
#include "StringArray.h"
#include "File.h"
class SVNRepos : public SVNBase
{
public:
void rmlocks(File &path, StringArray &locks);
jobject lslocks(File &path, svn_depth_t depth);
void verify(File &path, Revision &revisionStart, Revision &revisionEnd,
ReposNotifyCallback *notifyCallback);
void setRevProp(File &path, Revision &revision,
const char *propName, const char *propValue,
bool usePreRevPropChangeHook,
bool usePostRevPropChangeHook);
void rmtxns(File &path, StringArray &transactions);
jlong recover(File &path, ReposNotifyCallback *notifyCallback);
void freeze(jobjectArray jpaths, ReposFreezeAction* action);
void lstxns(File &path, MessageReceiver &messageReceiver);
void load(File &path, InputStream &dataIn,
src/subversion/subversion/bindings/javahl/native/org_apache_subversion_javahl_SVNRepos.cpp view on Meta::CPAN
JNIStringHolder propValue(jpropValue);
if (JNIUtil::isExceptionThrown())
return;
cl->setRevProp(path, revision, propName, propValue,
jusePreRevPropChangeHook ? true : false,
jusePostRevPropChangeHook ? true : false);
}
JNIEXPORT void JNICALL
Java_org_apache_subversion_javahl_SVNRepos_verify
(JNIEnv *env, jobject jthis, jobject jpath, jobject jrevisionStart,
jobject jrevisionEnd, jobject jcallback)
{
JNIEntry(SVNRepos, verify);
SVNRepos *cl = SVNRepos::getCppObject(jthis);
if (cl == NULL)
{
JNIUtil::throwError(_("bad C++ this"));
return;
}
File path(jpath);
if (JNIUtil::isExceptionThrown())
return;
src/subversion/subversion/bindings/javahl/native/org_apache_subversion_javahl_SVNRepos.cpp view on Meta::CPAN
return;
Revision revisionEnd(jrevisionEnd);
if (JNIUtil::isExceptionThrown())
return;
ReposNotifyCallback callback(jcallback);
if (JNIUtil::isExceptionThrown())
return;
cl->verify(path, revisionStart, revisionEnd,
jcallback != NULL ? &callback : NULL);
}
JNIEXPORT jobject JNICALL
Java_org_apache_subversion_javahl_SVNRepos_lslocks
(JNIEnv *env, jobject jthis, jobject jpath, jobject jdepth)
{
JNIEntry(SVNRepos, lslocks);
SVNRepos *cl = SVNRepos::getCppObject(jthis);
if (cl == NULL)
src/subversion/subversion/bindings/javahl/src/org/apache/subversion/javahl/ISVNRepos.java view on Meta::CPAN
/**
* Verify the repository at <code>path</code> between revisions
* <code>start</code> and <code>end</code>.
*
* @param path the path to the repository
* @param start the first revision
* @param end the last revision
* @param callback the callback to recieve notifications
* @throws ClientException If an error occurred.
*/
public abstract void verify(File path, Revision start, Revision end,
ReposNotifyCallback callback)
throws ClientException;
/**
* list all locks in the repository
* @param path the path to the repository
* @param depth the depth to recurse
* @throws ClientException throw in case of problem
*/
public abstract Set<Lock> lslocks(File path, Depth depth)
src/subversion/subversion/bindings/javahl/src/org/apache/subversion/javahl/ReposNotifyInformation.java view on Meta::CPAN
*/
public enum Action
{
/** A warning message is waiting. */
warning,
/** A revision has finished being dumped. */
dump_rev_end,
/** A revision has finished being verified. */
verify_rev_end,
/** packing of an FSFS shard has commenced */
pack_shard_start,
/** packing of an FSFS shard is completed */
pack_shard_end,
/** packing of the shard revprops has commenced */
pack_shard_start_revprop,
src/subversion/subversion/bindings/javahl/src/org/apache/subversion/javahl/ReposNotifyInformation.java view on Meta::CPAN
/**
* A revision was skipped during loading.
* @since 1.8
*/
load_skipped_rev,
/**
* The structure of a revision is being verified.
* @since 1.8
*/
verify_rev_structure;
}
public enum NodeAction
{
change,
add,
deleted,
replace;
}
}
src/subversion/subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNRepos.java view on Meta::CPAN
* @param usePostRevPropChangeHook Whether to run the
* <i>post-revprop-change</i> hook script.
* @throws SubversionException If a problem occurs.
*/
public native void setRevProp(File path, Revision rev,
String propName, String propValue,
boolean usePreRevPropChangeHook,
boolean usePostRevPropChangeHook)
throws SubversionException;
public native void verify(File path, Revision start, Revision end,
ReposNotifyCallback callback)
throws ClientException;
/**
* list all locks in the repository
* @param path the path to the repository
* @param depth the depth to recurse
* @throws ClientException throw in case of problem
*/
public native Set<Lock> lslocks(File path, Depth depth)
src/subversion/subversion/bindings/javahl/src/org/tigris/subversion/javahl/SVNAdmin.java view on Meta::CPAN
/**
* Verify the repository at <code>path</code> between revisions
* <code>start</code> and <code>end</code>.
*
* @param path the path to the repository
* @param messageOut the receiver of all messages
* @param start the first revision
* @param end the last revision
* @throws ClientException If an error occurred.
*/
public void verify(String path, OutputInterface messageOut,
Revision start, Revision end)
throws ClientException
{
try
{
aSVNAdmin.verify(new File(path),
start == null ? null : start.toApache(),
end == null ? null : end.toApache(),
new ReposNotifyHandler(messageOut));
}
catch (org.apache.subversion.javahl.ClientException ex)
{
throw new ClientException(ex);
}
}
src/subversion/subversion/bindings/javahl/src/org/tigris/subversion/javahl/SVNAdmin.java view on Meta::CPAN
switch (info.getAction())
{
case warning:
val = info.getWarning();
break;
case dump_rev_end:
val = "* Dumped revision " + info.getRevision() + ".\n";
break;
case verify_rev_end:
val = "* Verified revision " + info.getRevision() + ".\n";
break;
case load_txn_committed:
if (info.getOldRevision() == Revision.SVN_INVALID_REVNUM)
val = "\n------- Committed revision " +
info.getNewRevision() + " >>>\n\n";
else
val = "\n------- Committed new rev " +
info.getNewRevision() +
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java view on Meta::CPAN
"end revision", new Revision.Number(4), actualRange[1]);
// now do the real merge
client.merge(modUrl, new Revision.Number(2), modUrl, Revision.HEAD,
branchPath, false, Depth.infinity, false, false, false);
assertEquals("Notification of beginning of merge reported incorrect " +
"start revision", new Revision.Number(2), actualRange[0]);
assertEquals("Notification of beginning of merge reported incorrect " +
"end revision", new Revision.Number(4), actualRange[1]);
// commit the changes so that we can verify merge
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl().toString(),
"branches/A", NodeKind.dir,
CommitItemStateFlags.PropMods);
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl().toString(),
"branches/A/mu", NodeKind.file,
CommitItemStateFlags.TextMods);
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl().toString(),
"branches/A/D/G/rho", NodeKind.file,
CommitItemStateFlags.TextMods);
checkCommitRevision(thisTest, "wrong revision number from commit", 5,
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java view on Meta::CPAN
false, false, null, null);
String branchPath = thisTest.getWCPath() + "/branches/A";
String modUrl = thisTest.getUrl() + "/A";
Revision unspec = new Revision(Revision.Kind.unspecified);
List<RevisionRange> ranges = new ArrayList<RevisionRange>(1);
ranges.add(new RevisionRange(unspec, unspec));
client.merge(modUrl, Revision.HEAD, ranges,
branchPath, true, Depth.infinity, false, false, false);
// commit the changes so that we can verify merge
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl().toString(),
"branches/A", NodeKind.dir,
CommitItemStateFlags.PropMods);
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl().toString(),
"branches/A/mu", NodeKind.file,
CommitItemStateFlags.TextMods);
checkCommitRevision(thisTest, "wrong revision number from commit", 5,
thisTest.getWCPathSet(), "log msg", Depth.infinity,
false, false, null, null);
}
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java view on Meta::CPAN
appendText(thisTest, "A/mu", "xxx", 4);
checkCommitRevision(thisTest, "wrong revision number from commit", 4,
thisTest.getWCPathSet(), "log msg", Depth.infinity,
false, false, null, null);
String branchPath = thisTest.getWCPath() + "/branches/A";
String modUrl = thisTest.getUrl() + "/A";
client.merge(modUrl, Revision.HEAD, null,
branchPath, true, Depth.infinity, false, false, false);
// commit the changes so that we can verify merge
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl().toString(),
"branches/A", NodeKind.dir,
CommitItemStateFlags.PropMods);
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl().toString(),
"branches/A/mu", NodeKind.file,
CommitItemStateFlags.TextMods);
checkCommitRevision(thisTest, "wrong revision number from commit", 5,
thisTest.getWCPathSet(), "log msg", Depth.infinity,
false, false, null, null);
}
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java view on Meta::CPAN
update(thisTest, "/branches");
String branchPath = thisTest.getWCPath() + "/branches/A";
String modUrl = thisTest.getUrl() + "/A";
Revision unspec = new Revision(Revision.Kind.unspecified);
List<RevisionRange> ranges = new ArrayList<RevisionRange>(1);
ranges.add(new RevisionRange(unspec, unspec));
client.merge(modUrl, Revision.HEAD, ranges,
branchPath, true, Depth.infinity, false, false, false);
// commit the changes so that we can verify merge
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl().toString(),
"branches/A", NodeKind.dir,
CommitItemStateFlags.PropMods);
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl().toString(),
"branches/A/mu", NodeKind.file,
CommitItemStateFlags.TextMods);
checkCommitRevision(thisTest, "wrong revision number from commit", 6,
thisTest.getWCPathSet(), "log msg", Depth.infinity,
false, false, null, null);
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java view on Meta::CPAN
thisTest.getWCPath() + "/A", false);
fail("reintegrate merged into a mixed-revision WC");
}
catch(ClientException e)
{
// update the WC (to r6) and try again
update(thisTest);
client.mergeReintegrate(branchUrl, Revision.HEAD,
thisTest.getWCPath() + "/A", false);
}
// commit the changes so that we can verify merge
addExpectedCommitItem(thisTest.getWCPath(),
thisTest.getUrl().toString(), "A", NodeKind.dir,
CommitItemStateFlags.PropMods);
addExpectedCommitItem(thisTest.getWCPath(),
thisTest.getUrl().toString(), "A/D/G/rho",
NodeKind.file, CommitItemStateFlags.TextMods);
checkCommitRevision(thisTest, "wrong revision number from commit", 7,
thisTest.getWCPathSet(), "log msg", Depth.infinity,
false, false, null, null);
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java view on Meta::CPAN
// --record-only merge changes in A to branches/A
String branchPath = thisTest.getWCPath() + "/branches/A";
String modUrl = thisTest.getUrl() + "/A";
List<RevisionRange> ranges = new ArrayList<RevisionRange>(1);
ranges.add(new RevisionRange(new Revision.Number(2),
new Revision.Number(4)));
client.merge(modUrl, Revision.HEAD, ranges,
branchPath, true, Depth.infinity, false, false, true);
// commit the changes so that we can verify merge
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl().toString(),
"branches/A", NodeKind.dir,
CommitItemStateFlags.PropMods);
checkCommitRevision(thisTest, "wrong revision number from commit", 5,
thisTest.getWCPathSet(), "log msg", Depth.infinity,
false, false, null, null);
// Test retrieval of mergeinfo from a WC path.
String targetPath =
new File(thisTest.getWCPath(), "branches/A").getPath();
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java view on Meta::CPAN
thisTest.getWc().setItemPropStatus("A/D/G/rho", Status.Kind.normal);
// check the status of the working copy
thisTest.checkStatus();
// now edit the propval directly in the repository
long baseRev = 2L;
client.propertySetRemote(thisTest.getUrl()+"/A/D/G/rho", baseRev, PROP, NEWVALUE,
new ConstMsg("edit prop"), false, null, null);
// update the WC and verify that the property was changed
client.update(thisTest.getWCPathSet(), Revision.HEAD, Depth.infinity, false, false,
false, false);
byte[] propVal = client.propertyGet(thisTest.getWCPath()+"/A/D/G/rho", PROP, null, null);
assertEquals(new String(propVal), new String(NEWVALUE));
}
/**
* Test tolerance of unversioned obstructions when adding paths with
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/RunTests.java view on Meta::CPAN
* suites, or the fully qualified method names specified by
* the <code>test.tests</code> system property.
*
* @return The complete test suite.
*/
public static TestSuite suite()
{
TestSuite suite = new SVNTestSuite();
// Determine whether the caller requested that a specific
// set of test cases be run, and verify that they exist.
TestCase[] testCases = null;
String testNames = System.getProperty("test.tests");
if (testNames != null)
{
StringTokenizer tok = new StringTokenizer(testNames, ", ");
testCases = new TestCase[tok.countTokens()];
int testCaseIndex = 0;
while (tok.hasMoreTokens())
{
// ASSUMPTION: Class names are fully-qualified
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNReposTests.java view on Meta::CPAN
assertNotNull("expect non null rev props");
String logMessage = new String(pdata.get("svn:log"));
assertEquals("expect rev prop change to take effect", MSG, logMessage);
}
/* This test only tests the call down to the C++ layer. */
public void testVerify()
throws SubversionException, IOException
{
OneTest thisTest = new OneTest(false);
admin.verify(thisTest.getRepository(), Revision.getInstance(0),
Revision.HEAD, null);
}
/* This test only tests the call down to the C++ layer. */
public void testUpgrade()
throws SubversionException, IOException
{
OneTest thisTest = new OneTest(false);
admin.upgrade(thisTest.getRepository(), null);
}
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNReposTests.java view on Meta::CPAN
}
public void testLoadRepo()
throws SubversionException, IOException
{
/* Make sure ISVNRepos.load() works, with a repo dump file known
* to provoke bug 2979
*/
// makes repos with nothing in it
OneTest thisTest = new OneTest(false,false);
// verify zero revisions in new repos
URI repoUrl = makeReposUrl(thisTest.getRepository());
final Info[] infoHolder = new Info[1];
InfoCallback mycallback = new InfoCallback()
{
public void singleInfo(Info info)
{
infoHolder[0] = info;
}
};
client.info2(repoUrl.toString(), Revision.HEAD, Revision.HEAD,
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/SVNReposTests.java view on Meta::CPAN
File dump = new File(testSrcdir, "tests/data/issue2979.dump");
InputStream input = new FileInputStream(dump);
admin.load(thisTest.getRepository(),
input, true, true, false, false, null, null);
// should have two revs after the load
infoHolder[0] = null;
client.info2(repoUrl.toString(), Revision.HEAD, Revision.HEAD,
Depth.immediates, null, mycallback);
assertEquals("expect two revisions after load()",
2L, infoHolder[0].getLastChangedRev());
// verify that the repos is faithful rep. of the dump file,
// e.g., correct author
assertEquals("expect 'svn4ant' as author of r2",
"svn4ant", infoHolder[0].getLastChangedAuthor());
}
}
src/subversion/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java view on Meta::CPAN
"end revision", new Revision.Number(4), actualRange[1]);
// now do the real merge
client.merge(modUrl, new Revision.Number(2), modUrl, Revision.HEAD,
branchPath, false, true, false, false);
assertEquals("Notification of beginning of merge reported incorrect " +
"start revision", new Revision.Number(2), actualRange[0]);
assertEquals("Notification of beginning of merge reported incorrect " +
"end revision", new Revision.Number(4), actualRange[1]);
// commit the changes so that we can verify merge
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl(),
"branches/A", NodeKind.dir,
CommitItemStateFlags.PropMods);
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl(),
"branches/A/mu", NodeKind.file,
CommitItemStateFlags.TextMods);
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl(),
"branches/A/D/G/rho", NodeKind.file,
CommitItemStateFlags.TextMods);
assertEquals("wrong revision number from commit",
src/subversion/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java view on Meta::CPAN
"log msg", true),
4);
String branchPath = thisTest.getWCPath() + "/branches/A";
String modUrl = thisTest.getUrl() + "/A";
Revision unspec = new Revision(RevisionKind.unspecified);
client.merge(modUrl, Revision.HEAD,
new RevisionRange[] { new RevisionRange(unspec, unspec) },
branchPath, true, Depth.infinity, false, false, false);
// commit the changes so that we can verify merge
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl(),
"branches/A", NodeKind.dir,
CommitItemStateFlags.PropMods);
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl(),
"branches/A/mu", NodeKind.file,
CommitItemStateFlags.TextMods);
assertEquals("wrong revision number from commit",
client.commit(new String[] { thisTest.getWCPath() },
"log msg", true), 5);
}
src/subversion/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java view on Meta::CPAN
// update the branch WC (to r5) before merge
client.update(thisTest.getWCPath() + "/branches", Revision.HEAD, true);
String branchPath = thisTest.getWCPath() + "/branches/A";
String modUrl = thisTest.getUrl() + "/A";
Revision unspec = new Revision(RevisionKind.unspecified);
client.merge(modUrl, Revision.HEAD,
new RevisionRange[] { new RevisionRange(unspec, unspec) },
branchPath, true, Depth.infinity, false, false, false);
// commit the changes so that we can verify merge
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl(),
"branches/A", NodeKind.dir,
CommitItemStateFlags.PropMods);
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl(),
"branches/A/mu", NodeKind.file,
CommitItemStateFlags.TextMods);
assertEquals("wrong revision number from commit",
client.commit(new String[] { thisTest.getWCPath() },
"log msg", true), 6);
src/subversion/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java view on Meta::CPAN
thisTest.getWCPath() + "/A", false);
fail("reintegrate merged into a mixed-revision WC");
}
catch(ClientException e)
{
// update the WC (to r6) and try again
client.update(thisTest.getWCPath(), Revision.HEAD, true);
client.mergeReintegrate(branchUrl, Revision.HEAD,
thisTest.getWCPath() + "/A", false);
}
// commit the changes so that we can verify merge
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl(),
"A", NodeKind.dir,
CommitItemStateFlags.PropMods);
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl(),
"A/D/G/rho", NodeKind.file,
CommitItemStateFlags.TextMods);
assertEquals("wrong revision number from commit",
client.commit(new String[] { thisTest.getWCPath() },
"log msg", true), 7);
src/subversion/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java view on Meta::CPAN
// --record-only merge changes in A to branches/A
String branchPath = thisTest.getWCPath() + "/branches/A";
String modUrl = thisTest.getUrl() + "/A";
RevisionRange[] ranges = new RevisionRange[1];
ranges[0] = new RevisionRange(new Revision.Number(2),
new Revision.Number(4));
client.merge(modUrl, Revision.HEAD, ranges,
branchPath, true, Depth.infinity, false, false, true);
// commit the changes so that we can verify merge
addExpectedCommitItem(thisTest.getWCPath(), thisTest.getUrl(),
"branches/A", NodeKind.dir,
CommitItemStateFlags.PropMods);
assertEquals("wrong revision number from commit",
client.commit(new String[] { thisTest.getWCPath() },
"log msg", true), 5);
// Test retrieval of mergeinfo from a WC path.
String targetPath =
new File(thisTest.getWCPath(), "branches/A").getPath();
src/subversion/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/RunTests.java view on Meta::CPAN
* the <code>test.tests</code> system property.
*
* @return The complete test suite.
*/
@SuppressWarnings("unchecked")
public static TestSuite suite()
{
TestSuite suite = new SVNTestSuite();
// Determine whether the caller requested that a specific
// set of test cases be run, and verify that they exist.
TestCase[] testCases = null;
String testNames = System.getProperty("test.tests");
if (testNames != null)
{
StringTokenizer tok = new StringTokenizer(testNames, ", ");
testCases = new TestCase[tok.countTokens()];
int testCaseIndex = 0;
while (tok.hasMoreTokens())
{
// ASSUMPTION: Class names are fully-qualified
src/subversion/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/SVNAdminTests.java view on Meta::CPAN
assertEquals("expect rev prop change to take effect", MSG, logMessage);
}
public void testLoadRepo()
throws SubversionException, IOException
{
/* Make sure SVNAdmin.load() works, with a repo dump file known
* to provoke bug 2979
*/
// makes repos with nothing in it
OneTest thisTest = new OneTest(false,false);
// verify zero revisions in new repos
String repoUrl = makeReposUrl(thisTest.getRepository());
final Info2[] infoHolder = new Info2[1];
InfoCallback mycallback = new InfoCallback()
{
public void singleInfo(Info2 info)
{
infoHolder[0] = info;
}
};
client.info2(repoUrl, Revision.HEAD, Revision.HEAD,
src/subversion/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/SVNAdminTests.java view on Meta::CPAN
InputInterface input = new FileInputer(dump);
OutputInterface loadLog = new IgnoreOutputer();
admin.load(thisTest.getRepositoryPath(),
input, loadLog, true, true, null);
// should have two revs after the load
infoHolder[0] = null;
client.info2(repoUrl, Revision.HEAD, Revision.HEAD,
Depth.immediates, null, mycallback);
assertEquals("expect two revisions after load()",
2L, infoHolder[0].getLastChangedRev());
// verify that the repos is faithful rep. of the dump file,
// e.g., correct author
assertEquals("expect 'svn4ant' as author of r2",
"svn4ant", infoHolder[0].getLastChangedAuthor());
}
}
src/subversion/subversion/bindings/swig/INSTALL view on Meta::CPAN
to pass
--with-perl5=/path/to/correct/perl/binary
to the configure script. You need Perl 5.8.0 or above.
* Build and install.
Run 'make && make install'
* To verify you have SWIG installed correctly, run "swig -version"
from the command line. SWIG should report that it is version 1.3.24
or newer.
Step 2: Build and Install Subversion.
See Subversion's own INSTALL file for details.
Make sure that Subversion's ./configure script sees your installed SWIG!
It tries to detect SWIG near the very end of its output.
src/subversion/subversion/bindings/swig/perl/native/core.c view on Meta::CPAN
dXSARGS;
{
_global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
}
{
_global_pool = arg6 = svn_swig_pl_make_pool (ST(items-1));
}
arg1 = &temp1;
if ((items < 3) || (items > 5)) {
SWIG_croak("Usage: svn_io_stat_dirent2(path,verify_truename,ignore_enoent,result_pool,scratch_pool);");
}
res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_io_stat_dirent2" "', argument " "2"" of type '" "char const *""'");
}
arg2 = (char *)(buf2);
ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_io_stat_dirent2" "', argument " "3"" of type '" "svn_boolean_t""'");
}
src/subversion/subversion/bindings/swig/perl/native/svn_fs.c view on Meta::CPAN
SWIG_croak_null();
}
}
XS(_wrap_svn_fs_verify) {
{
char *arg1 = (char *) 0 ;
apr_hash_t *arg2 = (apr_hash_t *) 0 ;
svn_revnum_t arg3 ;
svn_revnum_t arg4 ;
svn_fs_progress_notify_func_t arg5 = (svn_fs_progress_notify_func_t) 0 ;
void *arg6 = (void *) 0 ;
svn_cancel_func_t arg7 = (svn_cancel_func_t) 0 ;
void *arg8 = (void *) 0 ;
apr_pool_t *arg9 = (apr_pool_t *) 0 ;
src/subversion/subversion/bindings/swig/perl/native/svn_fs.c view on Meta::CPAN
int res6 ;
int res8 ;
int argvi = 0;
svn_error_t *result = 0 ;
dXSARGS;
{
_global_pool = arg9 = svn_swig_pl_make_pool (ST(items-1));
}
if ((items < 8) || (items > 9)) {
SWIG_croak("Usage: svn_fs_verify(path,fs_config,start,end,notify_func,notify_baton,cancel_func,cancel_baton,scratch_pool);");
}
res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_verify" "', argument " "1"" of type '" "char const *""'");
}
arg1 = (char *)(buf1);
{
/* PERL-FIXME: Handle undef -> NULL. */
arg2 = svn_swig_pl_strings_to_hash(ST(1), _global_pool);
}
ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_fs_verify" "', argument " "3"" of type '" "svn_revnum_t""'");
}
arg3 = (svn_revnum_t)(val3);
ecode4 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_fs_verify" "', argument " "4"" of type '" "svn_revnum_t""'");
}
arg4 = (svn_revnum_t)(val4);
{
int res = SWIG_ConvertFunctionPtr(ST(4), (void**)(&arg5), SWIGTYPE_p_f_long_p_void_p_apr_pool_t__void);
if (!SWIG_IsOK(res)) {
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_verify" "', argument " "5"" of type '" "svn_fs_progress_notify_func_t""'");
}
}
res6 = SWIG_ConvertPtr(ST(5),SWIG_as_voidptrptr(&arg6), 0, 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "svn_fs_verify" "', argument " "6"" of type '" "void *""'");
}
{
int res = SWIG_ConvertFunctionPtr(ST(6), (void**)(&arg7), SWIGTYPE_p_f_p_void__p_svn_error_t);
if (!SWIG_IsOK(res)) {
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_fs_verify" "', argument " "7"" of type '" "svn_cancel_func_t""'");
}
}
res8 = SWIG_ConvertPtr(ST(7),SWIG_as_voidptrptr(&arg8), 0, 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "svn_fs_verify" "', argument " "8"" of type '" "void *""'");
}
if (items > 8) {
}
{
result = (svn_error_t *)svn_fs_verify((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
}
{
if (result) {
SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
if (SvOK(exception_handler)) {
SV *callback_result;
src/subversion/subversion/bindings/swig/perl/native/svn_fs.c view on Meta::CPAN
SWIG_croak_null();
}
}
XS(_wrap_svn_fs_verify_root) {
{
svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
apr_pool_t *arg2 = (apr_pool_t *) 0 ;
apr_pool_t *_global_pool ;
void *argp1 = 0 ;
int res1 = 0 ;
int argvi = 0;
svn_error_t *result = 0 ;
dXSARGS;
{
_global_pool = arg2 = svn_swig_pl_make_pool (ST(items-1));
}
if ((items < 1) || (items > 2)) {
SWIG_croak("Usage: svn_fs_verify_root(root,scratch_pool);");
}
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_fs_root_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_fs_verify_root" "', argument " "1"" of type '" "svn_fs_root_t *""'");
}
arg1 = (svn_fs_root_t *)(argp1);
if (items > 1) {
}
{
result = (svn_error_t *)svn_fs_verify_root(arg1,arg2);
}
{
if (result) {
SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
if (SvOK(exception_handler)) {
SV *callback_result;
src/subversion/subversion/bindings/swig/perl/native/svn_fs.c view on Meta::CPAN
{"SVN::_Fs::svn_fs_get_uuid", _wrap_svn_fs_get_uuid},
{"SVN::_Fs::svn_fs_set_uuid", _wrap_svn_fs_set_uuid},
{"SVN::_Fs::svn_fs_lock", _wrap_svn_fs_lock},
{"SVN::_Fs::svn_fs_generate_lock_token", _wrap_svn_fs_generate_lock_token},
{"SVN::_Fs::svn_fs_unlock", _wrap_svn_fs_unlock},
{"SVN::_Fs::svn_fs_get_lock", _wrap_svn_fs_get_lock},
{"SVN::_Fs::svn_fs_get_locks2", _wrap_svn_fs_get_locks2},
{"SVN::_Fs::svn_fs_get_locks", _wrap_svn_fs_get_locks},
{"SVN::_Fs::svn_fs_print_modules", _wrap_svn_fs_print_modules},
{"SVN::_Fs::svn_fs_pack", _wrap_svn_fs_pack},
{"SVN::_Fs::svn_fs_verify", _wrap_svn_fs_verify},
{"SVN::_Fs::svn_fs_verify_root", _wrap_svn_fs_verify_root},
{"SVN::_Fs::svn_fs_invoke_warning_callback", _wrap_svn_fs_invoke_warning_callback},
{"SVN::_Fs::svn_fs_invoke_progress_notify_func", _wrap_svn_fs_invoke_progress_notify_func},
{"SVN::_Fs::svn_fs_invoke_freeze_func", _wrap_svn_fs_invoke_freeze_func},
{"SVN::_Fs::svn_fs_invoke_process_contents_func", _wrap_svn_fs_invoke_process_contents_func},
{"SVN::_Fs::svn_fs_invoke_get_locks_callback", _wrap_svn_fs_invoke_get_locks_callback},
{"SVN::_Fs::svn_fs_invoke_pack_notify", _wrap_svn_fs_invoke_pack_notify},
{0,0}
};
/* -----------------------------------------------------------------------------
* Type initialization:
src/subversion/subversion/bindings/swig/perl/native/svn_repos.c view on Meta::CPAN
ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_svn_repos_node_t, 0 | SWIG_SHADOW); argvi++ ;
XSRETURN(argvi);
fail:
SWIG_croak_null();
}
}
XS(_wrap_svn_repos_verify_fs2) {
{
svn_repos_t *arg1 = (svn_repos_t *) 0 ;
svn_revnum_t arg2 ;
svn_revnum_t arg3 ;
svn_repos_notify_func_t arg4 = (svn_repos_notify_func_t) 0 ;
void *arg5 = (void *) 0 ;
svn_cancel_func_t arg6 = (svn_cancel_func_t) 0 ;
void *arg7 = (void *) 0 ;
apr_pool_t *arg8 = (apr_pool_t *) 0 ;
apr_pool_t *_global_pool ;
src/subversion/subversion/bindings/swig/perl/native/svn_repos.c view on Meta::CPAN
int res5 ;
int res7 ;
int argvi = 0;
svn_error_t *result = 0 ;
dXSARGS;
{
_global_pool = arg8 = svn_swig_pl_make_pool (ST(items-1));
}
if ((items < 7) || (items > 8)) {
SWIG_croak("Usage: svn_repos_verify_fs2(repos,start_rev,end_rev,notify_func,notify_baton,cancel,cancel_baton,scratch_pool);");
}
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_repos_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_repos_verify_fs2" "', argument " "1"" of type '" "svn_repos_t *""'");
}
arg1 = (svn_repos_t *)(argp1);
ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_repos_verify_fs2" "', argument " "2"" of type '" "svn_revnum_t""'");
}
arg2 = (svn_revnum_t)(val2);
ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_repos_verify_fs2" "', argument " "3"" of type '" "svn_revnum_t""'");
}
arg3 = (svn_revnum_t)(val3);
{
int res = SWIG_ConvertFunctionPtr(ST(3), (void**)(&arg4), SWIGTYPE_p_f_p_void_p_q_const__struct_svn_repos_notify_t_p_apr_pool_t__void);
if (!SWIG_IsOK(res)) {
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_repos_verify_fs2" "', argument " "4"" of type '" "svn_repos_notify_func_t""'");
}
}
res5 = SWIG_ConvertPtr(ST(4),SWIG_as_voidptrptr(&arg5), 0, 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "svn_repos_verify_fs2" "', argument " "5"" of type '" "void *""'");
}
{
int res = SWIG_ConvertFunctionPtr(ST(5), (void**)(&arg6), SWIGTYPE_p_f_p_void__p_svn_error_t);
if (!SWIG_IsOK(res)) {
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_repos_verify_fs2" "', argument " "6"" of type '" "svn_cancel_func_t""'");
}
}
res7 = SWIG_ConvertPtr(ST(6),SWIG_as_voidptrptr(&arg7), 0, 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "svn_repos_verify_fs2" "', argument " "7"" of type '" "void *""'");
}
if (items > 7) {
}
{
result = (svn_error_t *)svn_repos_verify_fs2(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
}
{
if (result) {
SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
if (SvOK(exception_handler)) {
SV *callback_result;
src/subversion/subversion/bindings/swig/perl/native/svn_repos.c view on Meta::CPAN
SWIG_croak_null();
}
}
XS(_wrap_svn_repos_verify_fs) {
{
svn_repos_t *arg1 = (svn_repos_t *) 0 ;
svn_stream_t *arg2 = (svn_stream_t *) 0 ;
svn_revnum_t arg3 ;
svn_revnum_t arg4 ;
svn_cancel_func_t arg5 = (svn_cancel_func_t) 0 ;
void *arg6 = (void *) 0 ;
apr_pool_t *arg7 = (apr_pool_t *) 0 ;
apr_pool_t *_global_pool ;
void *argp1 = 0 ;
src/subversion/subversion/bindings/swig/perl/native/svn_repos.c view on Meta::CPAN
int ecode4 = 0 ;
int res6 ;
int argvi = 0;
svn_error_t *result = 0 ;
dXSARGS;
{
_global_pool = arg7 = svn_swig_pl_make_pool (ST(items-1));
}
if ((items < 6) || (items > 7)) {
SWIG_croak("Usage: svn_repos_verify_fs(repos,feedback_stream,start_rev,end_rev,cancel_func,cancel_baton,pool);");
}
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_repos_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_repos_verify_fs" "', argument " "1"" of type '" "svn_repos_t *""'");
}
arg1 = (svn_repos_t *)(argp1);
{
svn_swig_pl_make_stream (&arg2, ST(1));
}
ecode3 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "svn_repos_verify_fs" "', argument " "3"" of type '" "svn_revnum_t""'");
}
arg3 = (svn_revnum_t)(val3);
ecode4 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_repos_verify_fs" "', argument " "4"" of type '" "svn_revnum_t""'");
}
arg4 = (svn_revnum_t)(val4);
{
int res = SWIG_ConvertFunctionPtr(ST(4), (void**)(&arg5), SWIGTYPE_p_f_p_void__p_svn_error_t);
if (!SWIG_IsOK(res)) {
SWIG_exception_fail(SWIG_ArgError(res), "in method '" "svn_repos_verify_fs" "', argument " "5"" of type '" "svn_cancel_func_t""'");
}
}
res6 = SWIG_ConvertPtr(ST(5),SWIG_as_voidptrptr(&arg6), 0, 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "svn_repos_verify_fs" "', argument " "6"" of type '" "void *""'");
}
if (items > 6) {
}
{
result = (svn_error_t *)svn_repos_verify_fs(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
}
{
if (result) {
SV *exception_handler = perl_get_sv ("SVN::Error::handler", FALSE);
if (SvOK(exception_handler)) {
SV *callback_result;
src/subversion/subversion/bindings/swig/perl/native/svn_repos.c view on Meta::CPAN
{"SVN::_Repos::svn_repos_node_t_copyfrom_path_set", _wrap_svn_repos_node_t_copyfrom_path_set},
{"SVN::_Repos::svn_repos_node_t_copyfrom_path_get", _wrap_svn_repos_node_t_copyfrom_path_get},
{"SVN::_Repos::svn_repos_node_t_sibling_set", _wrap_svn_repos_node_t_sibling_set},
{"SVN::_Repos::svn_repos_node_t_sibling_get", _wrap_svn_repos_node_t_sibling_get},
{"SVN::_Repos::svn_repos_node_t_child_set", _wrap_svn_repos_node_t_child_set},
{"SVN::_Repos::svn_repos_node_t_child_get", _wrap_svn_repos_node_t_child_get},
{"SVN::_Repos::svn_repos_node_t_parent_set", _wrap_svn_repos_node_t_parent_set},
{"SVN::_Repos::svn_repos_node_t_parent_get", _wrap_svn_repos_node_t_parent_get},
{"SVN::_Repos::svn_repos_node_editor", _wrap_svn_repos_node_editor},
{"SVN::_Repos::svn_repos_node_from_baton", _wrap_svn_repos_node_from_baton},
{"SVN::_Repos::svn_repos_verify_fs2", _wrap_svn_repos_verify_fs2},
{"SVN::_Repos::svn_repos_verify_fs", _wrap_svn_repos_verify_fs},
{"SVN::_Repos::svn_repos_dump_fs3", _wrap_svn_repos_dump_fs3},
{"SVN::_Repos::svn_repos_dump_fs2", _wrap_svn_repos_dump_fs2},
{"SVN::_Repos::svn_repos_dump_fs", _wrap_svn_repos_dump_fs},
{"SVN::_Repos::svn_repos_load_fs4", _wrap_svn_repos_load_fs4},
{"SVN::_Repos::svn_repos_load_fs3", _wrap_svn_repos_load_fs3},
{"SVN::_Repos::svn_repos_load_fs2", _wrap_svn_repos_load_fs2},
{"SVN::_Repos::svn_repos_load_fs", _wrap_svn_repos_load_fs},
{"SVN::_Repos::svn_repos_parse_fns3_t_magic_header_record_set", _wrap_svn_repos_parse_fns3_t_magic_header_record_set},
{"SVN::_Repos::svn_repos_parse_fns3_t_magic_header_record_get", _wrap_svn_repos_parse_fns3_t_magic_header_record_get},
{"SVN::_Repos::svn_repos_parse_fns3_t_uuid_record_set", _wrap_svn_repos_parse_fns3_t_uuid_record_set},
src/subversion/subversion/bindings/swig/perl/native/svn_repos.c view on Meta::CPAN
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_warning", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_warning)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/home/breser/wandisco/rm/1.8.11/prefix/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_dump_rev_end", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_dump_rev_end)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/home/breser/wandisco/rm/1.8.11/prefix/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_verify_rev_end", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_verify_rev_end)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/home/breser/wandisco/rm/1.8.11/prefix/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_dump_end", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_dump_end)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/home/breser/wandisco/rm/1.8.11/prefix/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_verify_end", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_verify_end)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/home/breser/wandisco/rm/1.8.11/prefix/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_pack_shard_start", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_pack_shard_start)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/home/breser/wandisco/rm/1.8.11/prefix/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_pack_shard_end", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_pack_shard_end)));
src/subversion/subversion/bindings/swig/perl/native/svn_repos.c view on Meta::CPAN
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_upgrade_start", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_upgrade_start)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/home/breser/wandisco/rm/1.8.11/prefix/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_load_skipped_rev", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_load_skipped_rev)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/home/breser/wandisco/rm/1.8.11/prefix/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_verify_rev_structure", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_verify_rev_structure)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/home/breser/wandisco/rm/1.8.11/prefix/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_warning_found_old_reference", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_warning_found_old_reference)));
SvREADONLY_on(sv);
} while(0) /*@SWIG@*/;
/*@SWIG:/home/breser/wandisco/rm/1.8.11/prefix/share/swig/2.0.9/perl5/perltypemaps.swg,65,%set_constant@*/ do {
SV *sv = get_sv((char*) SWIG_prefix "svn_repos_notify_warning_found_old_mergeinfo", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(svn_repos_notify_warning_found_old_mergeinfo)));
src/subversion/subversion/bindings/swig/python/core.c view on Meta::CPAN
""},
{ (char *)"svn_stringbuf_from_file2", _wrap_svn_stringbuf_from_file2, METH_VARARGS, (char *)"svn_stringbuf_from_file2(char const * filename, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_stringbuf_from_file", _wrap_svn_stringbuf_from_file, METH_VARARGS, (char *)"svn_stringbuf_from_file(char const * filename, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_stringbuf_from_aprfile", _wrap_svn_stringbuf_from_aprfile, METH_VARARGS, (char *)"svn_stringbuf_from_aprfile(apr_file_t file, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_io_remove_file2", _wrap_svn_io_remove_file2, METH_VARARGS, (char *)"svn_io_remove_file2(char const * path, svn_boolean_t ignore_enoent, apr_pool_t scratch_pool) -> svn_error_t"},
{ (char *)"svn_io_remove_file", _wrap_svn_io_remove_file, METH_VARARGS, (char *)"svn_io_remove_file(char const * path, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_io_remove_dir2", _wrap_svn_io_remove_dir2, METH_VARARGS, (char *)"svn_io_remove_dir2(char const * path, svn_boolean_t ignore_enoent, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_io_remove_dir", _wrap_svn_io_remove_dir, METH_VARARGS, (char *)"svn_io_remove_dir(char const * path, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_io_get_dirents3", _wrap_svn_io_get_dirents3, METH_VARARGS, (char *)"svn_io_get_dirents3(char const * path, svn_boolean_t only_check_type, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"},
{ (char *)"svn_io_stat_dirent2", _wrap_svn_io_stat_dirent2, METH_VARARGS, (char *)"\n"
"svn_io_stat_dirent2(char const * path, svn_boolean_t verify_truename, svn_boolean_t ignore_enoent, apr_pool_t result_pool, \n"
" apr_pool_t scratch_pool) -> svn_error_t\n"
""},
{ (char *)"svn_io_stat_dirent", _wrap_svn_io_stat_dirent, METH_VARARGS, (char *)"svn_io_stat_dirent(char const * path, svn_boolean_t ignore_enoent, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"},
{ (char *)"svn_io_dir_walk2", _wrap_svn_io_dir_walk2, METH_VARARGS, (char *)"\n"
"svn_io_dir_walk2(char const * dirname, apr_int32_t wanted, svn_io_walk_func_t walk_func, void * walk_baton, \n"
" apr_pool_t pool) -> svn_error_t\n"
""},
{ (char *)"svn_io_start_cmd3", _wrap_svn_io_start_cmd3, METH_VARARGS, (char *)"\n"
"svn_io_start_cmd3(apr_proc_t * cmd_proc, char const * path, char const * cmd, char const *const * args, \n"
" char const *const * env, svn_boolean_t inherit, svn_boolean_t infile_pipe, \n"
src/subversion/subversion/bindings/swig/python/core.py view on Meta::CPAN
def svn_io_remove_dir(*args):
"""svn_io_remove_dir(char const * path, apr_pool_t pool) -> svn_error_t"""
return _core.svn_io_remove_dir(*args)
def svn_io_get_dirents3(*args):
"""svn_io_get_dirents3(char const * path, svn_boolean_t only_check_type, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
return _core.svn_io_get_dirents3(*args)
def svn_io_stat_dirent2(*args):
"""
svn_io_stat_dirent2(char const * path, svn_boolean_t verify_truename, svn_boolean_t ignore_enoent, apr_pool_t result_pool,
apr_pool_t scratch_pool) -> svn_error_t
"""
return _core.svn_io_stat_dirent2(*args)
def svn_io_stat_dirent(*args):
"""svn_io_stat_dirent(char const * path, svn_boolean_t ignore_enoent, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"""
return _core.svn_io_stat_dirent(*args)
def svn_io_dir_walk2(*args):
"""
src/subversion/subversion/bindings/swig/python/fs.py view on Meta::CPAN
svn_fs_pack_notify_start_revprop = _fs.svn_fs_pack_notify_start_revprop
svn_fs_pack_notify_end_revprop = _fs.svn_fs_pack_notify_end_revprop
def svn_fs_pack(*args):
"""
svn_fs_pack(char const * db_path, svn_fs_pack_notify_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func,
apr_pool_t pool) -> svn_error_t
"""
return _fs.svn_fs_pack(*args)
def svn_fs_verify(*args):
"""
svn_fs_verify(char const * path, apr_hash_t fs_config, svn_revnum_t start, svn_revnum_t end, svn_fs_progress_notify_func_t notify_func,
void * notify_baton, svn_cancel_func_t cancel_func,
apr_pool_t scratch_pool) -> svn_error_t
"""
return _fs.svn_fs_verify(*args)
def svn_fs_verify_root(*args):
"""svn_fs_verify_root(svn_fs_root_t * root, apr_pool_t scratch_pool) -> svn_error_t"""
return _fs.svn_fs_verify_root(*args)
class svn_fs_t:
"""Proxy of C svn_fs_t struct"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, svn_fs_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, svn_fs_t, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def set_parent_pool(self, parent_pool=None):
"""Create a new proxy object for svn_fs_t"""
src/subversion/subversion/bindings/swig/python/repos.py view on Meta::CPAN
svn_node_action_replace = _repos.svn_node_action_replace
svn_repos_load_uuid_default = _repos.svn_repos_load_uuid_default
svn_repos_load_uuid_ignore = _repos.svn_repos_load_uuid_ignore
svn_repos_load_uuid_force = _repos.svn_repos_load_uuid_force
svn_authz_none = _repos.svn_authz_none
svn_authz_read = _repos.svn_authz_read
svn_authz_write = _repos.svn_authz_write
svn_authz_recursive = _repos.svn_authz_recursive
svn_repos_notify_warning = _repos.svn_repos_notify_warning
svn_repos_notify_dump_rev_end = _repos.svn_repos_notify_dump_rev_end
svn_repos_notify_verify_rev_end = _repos.svn_repos_notify_verify_rev_end
svn_repos_notify_dump_end = _repos.svn_repos_notify_dump_end
svn_repos_notify_verify_end = _repos.svn_repos_notify_verify_end
svn_repos_notify_pack_shard_start = _repos.svn_repos_notify_pack_shard_start
svn_repos_notify_pack_shard_end = _repos.svn_repos_notify_pack_shard_end
svn_repos_notify_pack_shard_start_revprop = _repos.svn_repos_notify_pack_shard_start_revprop
svn_repos_notify_pack_shard_end_revprop = _repos.svn_repos_notify_pack_shard_end_revprop
svn_repos_notify_load_txn_start = _repos.svn_repos_notify_load_txn_start
svn_repos_notify_load_txn_committed = _repos.svn_repos_notify_load_txn_committed
svn_repos_notify_load_node_start = _repos.svn_repos_notify_load_node_start
svn_repos_notify_load_node_done = _repos.svn_repos_notify_load_node_done
svn_repos_notify_load_copied_node = _repos.svn_repos_notify_load_copied_node
svn_repos_notify_load_normalized_mergeinfo = _repos.svn_repos_notify_load_normalized_mergeinfo
svn_repos_notify_mutex_acquired = _repos.svn_repos_notify_mutex_acquired
svn_repos_notify_recover_start = _repos.svn_repos_notify_recover_start
svn_repos_notify_upgrade_start = _repos.svn_repos_notify_upgrade_start
svn_repos_notify_load_skipped_rev = _repos.svn_repos_notify_load_skipped_rev
svn_repos_notify_verify_rev_structure = _repos.svn_repos_notify_verify_rev_structure
svn_repos_notify_warning_found_old_reference = _repos.svn_repos_notify_warning_found_old_reference
svn_repos_notify_warning_found_old_mergeinfo = _repos.svn_repos_notify_warning_found_old_mergeinfo
svn_repos_notify_warning_invalid_fspath = _repos.svn_repos_notify_warning_invalid_fspath
class svn_repos_notify_t:
"""Proxy of C svn_repos_notify_t struct"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, svn_repos_notify_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, svn_repos_notify_t, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
src/subversion/subversion/bindings/swig/python/repos.py view on Meta::CPAN
SVN_REPOS_DUMPFILE_TEXT_CONTENT_SHA1 = _repos.SVN_REPOS_DUMPFILE_TEXT_CONTENT_SHA1
SVN_REPOS_DUMPFILE_TEXT_CONTENT_CHECKSUM = _repos.SVN_REPOS_DUMPFILE_TEXT_CONTENT_CHECKSUM
SVN_REPOS_DUMPFILE_PROP_CONTENT_LENGTH = _repos.SVN_REPOS_DUMPFILE_PROP_CONTENT_LENGTH
SVN_REPOS_DUMPFILE_TEXT_CONTENT_LENGTH = _repos.SVN_REPOS_DUMPFILE_TEXT_CONTENT_LENGTH
SVN_REPOS_DUMPFILE_PROP_DELTA = _repos.SVN_REPOS_DUMPFILE_PROP_DELTA
SVN_REPOS_DUMPFILE_TEXT_DELTA = _repos.SVN_REPOS_DUMPFILE_TEXT_DELTA
SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_MD5 = _repos.SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_MD5
SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_SHA1 = _repos.SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_SHA1
SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_CHECKSUM = _repos.SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_CHECKSUM
def svn_repos_verify_fs2(*args):
"""
svn_repos_verify_fs2(svn_repos_t * repos, svn_revnum_t start_rev, svn_revnum_t end_rev, svn_repos_notify_func_t notify_func,
void * notify_baton, svn_cancel_func_t cancel, void * cancel_baton,
apr_pool_t scratch_pool) -> svn_error_t
"""
return _repos.svn_repos_verify_fs2(*args)
def svn_repos_verify_fs(*args):
"""
svn_repos_verify_fs(svn_repos_t * repos, svn_stream_t * feedback_stream, svn_revnum_t start_rev, svn_revnum_t end_rev,
svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t
"""
return _repos.svn_repos_verify_fs(*args)
def svn_repos_dump_fs3(*args):
"""
svn_repos_dump_fs3(svn_repos_t * repos, svn_stream_t * dumpstream, svn_revnum_t start_rev, svn_revnum_t end_rev,
svn_boolean_t incremental, svn_boolean_t use_deltas, svn_repos_notify_func_t notify_func,
void * notify_baton, svn_cancel_func_t cancel_func,
apr_pool_t scratch_pool) -> svn_error_t
"""
return _repos.svn_repos_dump_fs3(*args)
src/subversion/subversion/bindings/swig/python/svn_fs.c view on Meta::CPAN
}
return resultobj;
fail:
{
Py_XDECREF(_global_py_pool);
}
return NULL;
}
SWIGINTERN PyObject *_wrap_svn_fs_verify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *arg1 = (char *) 0 ;
apr_hash_t *arg2 = (apr_hash_t *) 0 ;
svn_revnum_t arg3 ;
svn_revnum_t arg4 ;
svn_fs_progress_notify_func_t arg5 = (svn_fs_progress_notify_func_t) 0 ;
void *arg6 = (void *) 0 ;
svn_cancel_func_t arg7 = (svn_cancel_func_t) 0 ;
void *arg8 = (void *) 0 ;
apr_pool_t *arg9 = (apr_pool_t *) 0 ;
src/subversion/subversion/bindings/swig/python/svn_fs.c view on Meta::CPAN
PyObject * obj4 = 0 ;
PyObject * obj5 = 0 ;
PyObject * obj6 = 0 ;
PyObject * obj7 = 0 ;
svn_error_t *result = 0 ;
if (svn_swig_py_get_pool_arg(args, SWIGTYPE_p_apr_pool_t,
&_global_py_pool, &_global_pool))
SWIG_fail;
arg9 = _global_pool;
if (!PyArg_ParseTuple(args,(char *)"sOOOOOO|O:svn_fs_verify",&arg1,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
{
/* PYTHON-FIXME: Handle None -> NULL. */
arg2 = svn_swig_py_stringhash_from_dict(obj1, _global_pool);
}
{
arg3 = (svn_revnum_t)SWIG_As_long (obj2);
if (SWIG_arg_fail(svn_argnum_obj2)) {
SWIG_fail;
}
}
src/subversion/subversion/bindings/swig/python/svn_fs.c view on Meta::CPAN
/* Verify that the user supplied a valid pool */
if (obj7 != Py_None && obj7 != _global_py_pool) {
SWIG_Python_TypeError(SWIG_TypePrettyName(SWIGTYPE_p_apr_pool_t), obj7);
SWIG_arg_fail(svn_argnum_obj7);
SWIG_fail;
}
}
{
svn_swig_py_release_py_lock();
result = (svn_error_t *)svn_fs_verify((char const *)arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
svn_swig_py_acquire_py_lock();
}
{
if (result != NULL) {
if (result->apr_err != SVN_ERR_SWIG_PY_EXCEPTION_SET)
svn_swig_py_svn_exception(result);
else
svn_error_clear(result);
src/subversion/subversion/bindings/swig/python/svn_fs.c view on Meta::CPAN
}
return resultobj;
fail:
{
Py_XDECREF(_global_py_pool);
}
return NULL;
}
SWIGINTERN PyObject *_wrap_svn_fs_verify_root(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
svn_fs_root_t *arg1 = (svn_fs_root_t *) 0 ;
apr_pool_t *arg2 = (apr_pool_t *) 0 ;
apr_pool_t *_global_pool = NULL ;
PyObject *_global_py_pool = NULL ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
svn_error_t *result = 0 ;
if (svn_swig_py_get_pool_arg(args, SWIGTYPE_p_apr_pool_t,
&_global_py_pool, &_global_pool))
SWIG_fail;
arg2 = _global_pool;
if (!PyArg_ParseTuple(args,(char *)"O|O:svn_fs_verify_root",&obj0,&obj1)) SWIG_fail;
{
arg1 = (svn_fs_root_t *)svn_swig_MustGetPtr(obj0, SWIGTYPE_p_svn_fs_root_t, svn_argnum_obj0);
if (PyErr_Occurred()) {
SWIG_fail;
}
}
if (obj1) {
/* Verify that the user supplied a valid pool */
if (obj1 != Py_None && obj1 != _global_py_pool) {
SWIG_Python_TypeError(SWIG_TypePrettyName(SWIGTYPE_p_apr_pool_t), obj1);
SWIG_arg_fail(svn_argnum_obj1);
SWIG_fail;
}
}
{
svn_swig_py_release_py_lock();
result = (svn_error_t *)svn_fs_verify_root(arg1,arg2);
svn_swig_py_acquire_py_lock();
}
{
if (result != NULL) {
if (result->apr_err != SVN_ERR_SWIG_PY_EXCEPTION_SET)
svn_swig_py_svn_exception(result);
else
svn_error_clear(result);
src/subversion/subversion/bindings/swig/python/svn_fs.c view on Meta::CPAN
{ (char *)"svn_fs_get_locks2", _wrap_svn_fs_get_locks2, METH_VARARGS, (char *)"\n"
"svn_fs_get_locks2(svn_fs_t * fs, char const * path, svn_depth_t depth, svn_fs_get_locks_callback_t get_locks_func, \n"
" apr_pool_t pool) -> svn_error_t\n"
""},
{ (char *)"svn_fs_get_locks", _wrap_svn_fs_get_locks, METH_VARARGS, (char *)"svn_fs_get_locks(svn_fs_t * fs, char const * path, svn_fs_get_locks_callback_t get_locks_func, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_fs_print_modules", _wrap_svn_fs_print_modules, METH_VARARGS, (char *)"svn_fs_print_modules(svn_stringbuf_t * output, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_fs_pack", _wrap_svn_fs_pack, METH_VARARGS, (char *)"\n"
"svn_fs_pack(char const * db_path, svn_fs_pack_notify_t notify_func, void * notify_baton, svn_cancel_func_t cancel_func, \n"
" apr_pool_t pool) -> svn_error_t\n"
""},
{ (char *)"svn_fs_verify", _wrap_svn_fs_verify, METH_VARARGS, (char *)"\n"
"svn_fs_verify(char const * path, apr_hash_t fs_config, svn_revnum_t start, svn_revnum_t end, svn_fs_progress_notify_func_t notify_func, \n"
" void * notify_baton, svn_cancel_func_t cancel_func, \n"
" apr_pool_t scratch_pool) -> svn_error_t\n"
""},
{ (char *)"svn_fs_verify_root", _wrap_svn_fs_verify_root, METH_VARARGS, (char *)"svn_fs_verify_root(svn_fs_root_t * root, apr_pool_t scratch_pool) -> svn_error_t"},
{ (char *)"svn_fs_t_swigregister", svn_fs_t_swigregister, METH_VARARGS, NULL},
{ (char *)"svn_fs_access_t_swigregister", svn_fs_access_t_swigregister, METH_VARARGS, NULL},
{ (char *)"svn_fs_id_t_swigregister", svn_fs_id_t_swigregister, METH_VARARGS, NULL},
{ (char *)"svn_fs_txn_t_swigregister", svn_fs_txn_t_swigregister, METH_VARARGS, NULL},
{ (char *)"svn_fs_root_t_swigregister", svn_fs_root_t_swigregister, METH_VARARGS, NULL},
{ (char *)"svn_fs_history_t_swigregister", svn_fs_history_t_swigregister, METH_VARARGS, NULL},
{ (char *)"svn_fs_invoke_warning_callback", _wrap_svn_fs_invoke_warning_callback, METH_VARARGS, (char *)"svn_fs_invoke_warning_callback(svn_fs_warning_callback_t _obj, void * baton, svn_error_t err)"},
{ (char *)"svn_fs_invoke_progress_notify_func", _wrap_svn_fs_invoke_progress_notify_func, METH_VARARGS, (char *)"svn_fs_invoke_progress_notify_func(svn_fs_progress_notify_func_t _obj, svn_revnum_t revision, void * baton, apr_pool_t pool)"},
{ (char *)"svn_fs_invoke_freeze_func", _wrap_svn_fs_invoke_freeze_func, METH_VARARGS, (char *)"svn_fs_invoke_freeze_func(svn_fs_freeze_func_t _obj, void * baton, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_fs_invoke_process_contents_func", _wrap_svn_fs_invoke_process_contents_func, METH_VARARGS, (char *)"\n"