view release on metacpan or search on metacpan
src/subversion/subversion/include/private/svn_client_private.h
src/subversion/subversion/include/private/svn_cmdline_private.h
src/subversion/subversion/include/private/svn_dav_protocol.h
src/subversion/subversion/include/private/svn_debug.h
src/subversion/subversion/include/private/svn_delta_private.h
src/subversion/subversion/include/private/svn_dep_compat.h
src/subversion/subversion/include/private/svn_diff_private.h
src/subversion/subversion/include/private/svn_diff_tree.h
src/subversion/subversion/include/private/svn_doxygen.h
src/subversion/subversion/include/private/svn_editor.h
src/subversion/subversion/include/private/svn_eol_private.h
src/subversion/subversion/include/private/svn_error_private.h
src/subversion/subversion/include/private/svn_fs_private.h
src/subversion/subversion/include/private/svn_fs_util.h
src/subversion/subversion/include/private/svn_fspath.h
src/subversion/subversion/include/private/svn_io_private.h
src/subversion/subversion/include/private/svn_log.h
src/subversion/subversion/include/private/svn_magic.h
src/subversion/subversion/include/private/svn_mergeinfo_private.h
src/subversion/subversion/include/private/svn_mutex.h
src/subversion/subversion/include/private/svn_named_atomic.h
src/subversion/subversion/libsvn_subr/config_win.c
src/subversion/subversion/libsvn_subr/crypto.c
src/subversion/subversion/libsvn_subr/crypto.h
src/subversion/subversion/libsvn_subr/ctype.c
src/subversion/subversion/libsvn_subr/date.c
src/subversion/subversion/libsvn_subr/debug.c
src/subversion/subversion/libsvn_subr/deprecated.c
src/subversion/subversion/libsvn_subr/dirent_uri.c
src/subversion/subversion/libsvn_subr/dirent_uri.h
src/subversion/subversion/libsvn_subr/dso.c
src/subversion/subversion/libsvn_subr/eol.c
src/subversion/subversion/libsvn_subr/error.c
src/subversion/subversion/libsvn_subr/genctype.py
src/subversion/subversion/libsvn_subr/gpg_agent.c
src/subversion/subversion/libsvn_subr/hash.c
src/subversion/subversion/libsvn_subr/internal_statements.h
src/subversion/subversion/libsvn_subr/internal_statements.sql
src/subversion/subversion/libsvn_subr/io.c
src/subversion/subversion/libsvn_subr/iter.c
src/subversion/subversion/libsvn_subr/lock.c
src/subversion/subversion/libsvn_subr/log.c
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/subversion/tests/cmdline/upgrade_tests_data/add_add_del_del_tc.tar.bz2
src/subversion/subversion/tests/cmdline/upgrade_tests_data/add_add_x2.tar.bz2
src/subversion/subversion/tests/cmdline/upgrade_tests_data/basic_upgrade.tar.bz2
src/subversion/subversion/tests/cmdline/upgrade_tests_data/changelist_upgrade_1_6.tar.bz2
src/subversion/subversion/tests/cmdline/upgrade_tests_data/delete-in-copy.tar.bz2
src/subversion/subversion/tests/cmdline/upgrade_tests_data/depth_exclude.tar.bz2
src/subversion/subversion/tests/cmdline/upgrade_tests_data/depth_exclude_2.tar.bz2
src/subversion/subversion/tests/cmdline/upgrade_tests_data/dirs-only.tar.bz2
src/subversion/subversion/tests/cmdline/upgrade_tests_data/format_12a.tar.bz2
src/subversion/CHANGES view on Meta::CPAN
Version 1.7.6
(15 Aug 2012, from /branches/1.7.x)
http://svn.apache.org/repos/asf/subversion/tags/1.7.6
User-visible changes:
- Client- and server-side bugfixes:
- Client-side bugfixes:
* Fix "svn status -u --depth empty FILE" (r1348822, r1349215)
* Fix example output of 'svn help status' (issue #3962)
* propset of svn:eol-style might not notice related text changes (r1353572)
* sort output of 'svn propget -R' (r1355699)
* sort output of 'svn proplist' (r1355698)
* sort output of 'svn status' (r1341012)
* avoid a filestat per working copy find operation (r1340556)
* optimize 'svn upgrade' performance on large working copies (r1342984)
* allow 'file:///C:\repos' style arguments on Windows, like 1.6 (r1346765)
* fix ra_serf against Subversion 1.2 servers (r1349367)
* fix 'svn upgrade' on working copies with certain tree conflicts (r1345482)
* avoid workqueue references to system temp dir (r1367854)
* allow non-existent canonical paths (r1367853)
src/subversion/CHANGES view on Meta::CPAN
* fix an assertion failure when a symlink is updated (r1186944, -81, -83)
* make working copy operations fail if nodes have no base checksum (r1202630)
* fix nested <Location>s when using v2 protocol (r1203546, -651, -653)
* make mod_dav_svn ignore non-Subversion POST requests (r1187695)
* avoid reading freed memory (r1204478)
* recognize empty (only byte order mark) UTF-8 files as text (issue #4064)
* fix 1.7 client regression when operating against a 1.0.x server (r1199876)
* remove empty parent dirs of removed externals on update (issue #4044)
* make 'svn diff -c N' work for files added in rN (issue #2873)
* plug a memory leak in the bdb backend (r1205726)
* fix 'svn import' with native eol-style and inconsistent EOLs (r1205193)
* fix reading beyond the end of a string in bdb backend (r1205839, -48)
* don't assert when committing an incomplete directory (issue #4042)
Developer-visible changes:
* JavaHL: allow 'status -u' to function properly (r1189190, -395)
* don't put '\r' characters in our generate sql headers (r1189580)
* properly define WIN64 on Windows x64 builds (r1188609)
* better adherence to C89 in enum definitions (r1189665)
* bump copyright year in Windows DLLs (r1189261)
* log a better error when opening rep-cache.db fails (r1204610, -73)
src/subversion/CHANGES view on Meta::CPAN
- Client-side bugfixes:
* 'svn cp A B; svn mv B C' is equivalent to 'svn cp A C' (issue #756)
* revert fetches missing directories from the server (issue #1040)
* allow subdirs of moved dirs to be moved and committed (issue #1259)
* improved performance of 'svn mv' with whole directories (issue #1284)
* 'svn rm B; svn cp A B' now works (issue #1516)
* 'svn diff URL1 URL2' now reverse of 'svn diff URL2 URL1' (issue #2333)
* error if relocating to an unused URL (issue #2531)
* 'svn blame -rWORKING' is now supported (issue #2544)
* improve correctness of commit on a relocated wc over ra_dav (issue #2578)
* add early error to 'svn add --auto-props' with mixed eols (issue #2713)
* allow 'svn diff' to accept symlinks as targets (issue #2716)
* don't lose props for replaced items (issue #2743)
* handle mergeinfo for subtrees removed outside of svn (issue #2915)
* add ability to force 'svn diff' to use internal diff (issue #3701)
* correctly recover a schedule-for-delete rm'd outside of svn (issue #3106)
* don't create self-referential mergeinfo from own history (issue #3157)
* improve 'svn log -g' handling of bad mergeinfo source paths (issue #3270)
* better conflict stat printing (issue #3342, issue #3594)
* 'svn update' restores excluded files (issue #3544)
* allow reintegrate merges into WCs with missing subtrees (issue #3603)
src/subversion/CHANGES view on Meta::CPAN
* catch improper arguments to diff (issue #2996)
* handle URLs like http://hostname (i.e. no path part) (issue #1851)
* config autoprops honored regardless of case of entry (issue #2036)
* "Cannot replace a directory from within" error now rarer (issue #2047)
* handle _svn/.svn as part of a path (issue #3026)
* make permissions changes on symlinks a no-op (issue #2581)
* error usefully if asked to update a URL (r22296)
* fixed infinite loop on Windows if fail to find repository root (r22483)
* 'svn info $REPO_ROOT' now supports pre-1.2 svn:// servers (r26264)
* be more resilient in the face of faulty .svn/entries files (r26482)
* 'svn diff -x --ignore-eol-style' failed to ignore all EOLs (r27094)
* rare property dataloss bug now fixed (issue #2986, see also r29538)
* fixed faulty status reporting for some missing directories (issue #2804)
* 'svn diff --summarize' showed wrong output paths (issue #2765)
* propset and move interaction could cause property weirdness (r25833)
* 'svn propget <propname> .@HEAD' now works (issue #3012)
* 'svnsync' had bug with replaced+modified rev over serf (issue #2904)
* 'svnsync --config-dir' sometimes ignored, thus tunnel agent bug (r27056)
* update/merge safely receives file on top of schedule-add file (r23506)
* http:// (over Neon) reports progress while disk-spooling delta (r26271)
* print "Out of memory" before dying from memory shortage (issue #2167)
src/subversion/CHANGES view on Meta::CPAN
* fixed: 'svn status' wrong on previously-reverted deleted dir (issue #2804)
* fixed: 'svn up' can delete unversioned symlinks (issue #1808)
* fixed: use correct properties for locally replaced files (issue #2743)
* fixed: 'svn info -R $REPO_ROOT' w/ pre-1.2 svnserve broken (r26264)
* fixed: svnsync ignores '--config-dir' (r27056)
* datestamps can be localized (r26156)
* fixed: text base not updated when merging a replaced file (issue #2698)
* fixed: inverted 'switch --relocate' error message (r22355)
* fixed: sporadically failing file and directory removal on Windows (r25520)
* fixed: property file handling for schedule-delete files (r25833)
* fixed: allow invalid svn:eol-style values (r28331)
* fixed: 'svnadmin rmlocks' should error when no path provided (r28431)
* support neon 0.26.4 (r26077)
- Server:
* fixed: authz granted if calculation inconclusive (r23815)
* fixed: svndumpfilter crashes on Windows (r23494)
* fixed: wrong pointer type used for memset (r27263)
* fixed: invalid FSFS directory cache can corrupt repository (r27256)
* fixed: dir props on FSFS filesystem root never conflict (issue #2608)
src/subversion/CHANGES view on Meta::CPAN
- increased working copy stability with merge, copy and move:
(fixes issues #845, #1516, #1553, #2135, #2144, #2148)
* new switches added:
- 'svn blame --force' (issue #2509)
- 'svn diff/merge -c/--change' (r17054 -6 -68 18568 -741)
- 'svn diff --summarize' (issue #2015)
- 'svn merge/blame -x' (r18716 -20) (r18602 -857)
* 'svn log' now supports peg revisions (issue #2287)
* 'svn export' now creates intermediate directories if needed (r20030)
* use switch/relocate when svn:externals updated (issue #2209)
* internal diff can ignore whitespace and eol style changes (issue #2121)
* conflict markers now match the file's eol style (issue #1325)
* new svn2cl, svn-viewdiff and svn-resolve contrib scripts
* numerous improvements to svnmerge.py, vc-svn and psvn
* translation updates for all languages
* Mac OS X: store cached passwords encrypted in Keychain (r17619 -43)
* fixed: 'svn ls' slow over ra_dav (issue #2151)
* fixed: 'svn import' not handling eol-style correctly (issue #2433)
* fixed: 'svn blame' should default operative rev range to peg rev (r18400)
* fixed: 'svn blame' ignores eol-style (issue #2431)
* fixed: 'svn checkout' should default operative rev to peg rev (r18422)
* fixed: 'svn diff' supports all eol styles (r17624 -8 -61 18195 -392)
* fixed: 'svn diff' multi-target memory leak (r17518)
* fixed: 'svn merge' showing wrong status with external diff3 (issue #1914)
* fixed: 'svn merge' not merging added dir into deleted dir (issue #2515)
* fixed: 'svn rm' of non-existent item should fail (issue #2440)
* fixed: 'svn status' should skip unversioned files (issue #2030)
* fixed: 'svn status' shows added and conflicted files as added (r20382)
* fixed: 'svn switch --relocate' may set wrong repos root (r17031)
* fixed: 'svn switch --relocate' memory leak (r19535)
* fixed: 'svn switch --relocate' not caching passwords (issue #2360)
* fixed: 'svn info' not showing locks sometimes (r19777)
src/subversion/CHANGES view on Meta::CPAN
* require APR >= 0.9.7 to improve error detection for FSFS repos (r19915)
* require zlib, for svndiff1 delta encoding (r18363)
* support SWIG 1.3.29 (r19968)
* support autoconf 2.60-dev (r19919 20632 -36)
* removed no-longer-supported Red Hat 7.x RPMs (r20462)
* add support for building RPMs for x86-64 architecture (r20548 -552)
* numerous improvements to gen-make.py build system, especially on win32
* removed Visual Studio.NET APR 0.9 project files (r20170)
* numerous improvements to the test suite
* new public APIs:
- keyword / eol translation helpers and generic streams (see svn_subst.h)
- new generic stream helpers (see svn_io.h)
- authn providers made available to other clients (see svn_auth.h)
- svn_cmdline_setup_auth_baton
- svn_dso_initialize, svn_dso_load
- svn_client_diff_summarize and svn_client_diff_summarize_peg
- svn_client_list
- svn_config_has_section
- svn_txdelta_compose_windows and svn_txdelta_apply_instructions
- svn_txdelta_stream_create
- svn_diff_file_options_create and svn_diff_file_options_parse
src/subversion/CHANGES view on Meta::CPAN
(22 October 2004, from /branches/1.1.x)
http://svn.apache.org/repos/asf/subversion/tags/1.1.1
User-visible changes:
- Client:
* fixed: 'svn status' win32 performance regression (issue #2016)
* fixed: 'svn ls' dying on non-ascii paths over DAV (issue #2060)
* fixed: allow URI-encoded colon or pipe on win32 (issue #2012)
* fixed: broken win32 UNC paths (issue #2011)
* fixed: memory bloat when committing many files over DAV (r11284, -321)
* fixed: eol-style translation error for 'svn propget' (r11202, -243)
* fixed: 'svn propedit' does EOL conversion properly (issue #2063)
* fixed: 'svn log --xml' shouldn't be locale-dependent. (r11181)
* fixed: 'svn export' of symlinks with 'use-commit-times' (r11224)
* fixed: 'svn export -rBASE' when WC has added items (r11296, -415)
* many translation updates for localized client messages.
- Server:
* fixed: 'svn ls' HTTP performance regression (r11211, -232, -285)
* fixed: make it possible to set "SVNPathAuthz off" in httpd.conf (r11190)
* fixed: fsfs validating revisions when accessing revprops (issue #2076)
src/subversion/CHANGES view on Meta::CPAN
* new framework for localized error/info/help messages, initial translations:
- German, Polish, Swedish, Norwegian Bokmål, Traditional Chinese,
Japanese, Brazilian Portuguese.
* speed improvements:
- faster 'svn up' on complex working copies -- no more repos txns (r8840)
- faster 'svn status' -- fewer stat() calls (r9182)
- faster 'svn checkout' -- fewer sleep() calls (r9123)
- faster 'svn blame' -- new RA->get_file_revs() func (issue #1715)
* new switches added:
- 'svn blame --verbose' - show extra annotation info
- 'svn export --native-eol TYPE' - export using TYPE line-endings
- 'svn add --force' - recurse into version-controlled dirs
- 'svnadmin dump --deltas' - include binary diffs in dumpfile
- 'svnadmin create --fs-type fsfs' - create fs_fs repos (default is bdb)
- 'svnserve --tunnel-user=NAME' - assume authenticated NAME over tunnel
- 'svndumpfilter [cmd] --quiet' - less chatty dumpfiltering
- 'svnserve --version' - show program's version
'svnversion --version'
'svndumpfilter --version'
* svnadmin dump/deltify now understand -r{DATE} (r9805)
* allow update of non-existent target entry (partial issue #1902 fix)
src/subversion/CHANGES view on Meta::CPAN
Developer-visible changes:
* new authentication library libsvn_auth (#724)
* new bdb table uuids
* client context object in libsvn_client
* more work on java and other language bindings
* test framework now has a quiet option (-q)
* miscellaneous small code cleanups
* bug fixes: more valgrind memory bugs, apr xlate i18n mess (#872),
non-existent URL checkout (#946), props on to-be-deleted files (#1066),
ra_svn move/copy (#1084), eol translation (#1085), ra_svn
checksumming (#1099), cat command corrupt output (#1104), cvs2svn
memory consumption (#1107), merge of property add (#1109),
'..' relative path (#1111), commit/cleanup/diff3 (#1119),
.svn/entries checksum (#1120), svn commit in / (#1122),
status on uncontrolled directory (#1124), commit message eol
characters (#1126), cat -r PREV (#1134), ra_dav wcprops (#1136)
split XML cdata/attribute encoding (#1118)
Version 0.17.1 (released 22 Jan 2003, revision 4503, branches/0.17.1)
User-visible changes:
* changed non-baseline build version number display.
* compatibility change: make sure old clients can talk to newest servers.
* some changes to the Book
Developer-visible changes:
* dumper/loader now use checksums (#1102)
* miscellaneous small code cleanups
* bug fixes: eol-style timestamp changes (#1086), valgrind mem bug,
better checksum error reporting,
Version 0.17.0 (released 20 Jan 2003, revision 4468, branches/0.17)
User-visible changes:
* '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
src/subversion/CHANGES view on Meta::CPAN
* entry-caching improvements
* stop using global apr_xlate objects
* win32-innosetup code added to packages/
* new work on ruby bindings and swig-java bindings
* many, many bug fixes: various small coredumps, svn_error_t leaks,
copy props correctly (#976), copy executable bits correctly (#982),
test-system fix (#882), accidentally imported tmpfile (#964),
ra_local checkout memleak (#985), accidental wc deletion (#988),
better text vs. binary detection (#994), dav log-report error
handling, bad 'svn switch' dav caching (#1000), don't call NULL
callbacks (#1005), bogus switch feedback (#1007), eol-style file
corruption (#920), getdate.y fix (#1009), ra_local error reporting (#900),
start of work on issues #830 and #869.
Version 0.15 (released 7 Nov 2002, revision 3687)
User-visible changes:
* New 'S' indicator in 'svn status' shows switched subdirs
* New --dry-run option added for 'svn merge' (issue #953)
* Fix 'svn update .' to handle svn:externals correctly
src/subversion/COMMITTERS view on Meta::CPAN
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)
jzgoda Jaroslaw Zgoda <jzgoda@o2.pl> (po: pl)
karolszk Karol Szkudlarek <karol@mikronika.com.pl> (po: pl)
plasma Wei-Hon Chen <plasma@ms9.hinet.net> (po: zh_TW)
jihuang June-Yen Huang <jihuang@iis.sinica.edu.tw> (po: zh_TW) [EMAIL
IS BOUNCING]
marcosc Marcos Chaves <marcos.nospam@gmail.com> (po: pt_BR)
pynoos Hojin Choi <hojin.choi@gmail.com> (po: ko)
blueboh Jeong Seolin <blueboh@gmail.com> (po: ko)
dongsheng Dongsheng Song <songdongsheng@live.cn> (po: zh_CN)
hynnet YingNing Huang <hyn@bao.hynnet.com> (po: zh_CN) [EMAIL
IS BOUNCING]
lark Wang Jian <lark@linux.net.cn> (po: zh_CN) [EMAIL
IS BOUNCING]
giorgio_valoti Giorgio Valoti <giorgio_v@mac.com> (po: it)
nebiac Federico Nebiacolombo <cint1@amsjv.it> (po: it) [EMAIL
IS BOUNCING]
fabien Fabien Coelho <fabien@coelho.net> (po: fr)
marcelg Marcel Gosselin <marcel.gosselin@polymtl.ca> (po: fr)
src/subversion/build-outputs.mk view on Meta::CPAN
subversion/libsvn_ra_svn/libsvn_ra_svn-1.la: $(libsvn_ra_svn_DEPS)
cd subversion/libsvn_ra_svn && $(LINK_LIB) $(libsvn_ra_svn_LDFLAGS) -o libsvn_ra_svn-1.la $(LT_NO_UNDEFINED) $(libsvn_ra_svn_OBJECTS) ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la $(SVN_APRUTIL_LIBS) $...
libsvn_repos_PATH = subversion/libsvn_repos
libsvn_repos_DEPS = subversion/libsvn_repos/authz.lo subversion/libsvn_repos/commit.lo subversion/libsvn_repos/delta.lo subversion/libsvn_repos/deprecated.lo subversion/libsvn_repos/dump.lo subversion/libsvn_repos/fs-wrap.lo subversion/libsvn_repos/...
libsvn_repos_OBJECTS = authz.lo commit.lo delta.lo deprecated.lo dump.lo fs-wrap.lo hooks.lo load-fs-vtable.lo load.lo log.lo node_tree.lo notify.lo replay.lo reporter.lo repos.lo rev_hunt.lo
subversion/libsvn_repos/libsvn_repos-1.la: $(libsvn_repos_DEPS)
cd subversion/libsvn_repos && $(LINK_LIB) $(libsvn_repos_LDFLAGS) -o libsvn_repos-1.la $(LT_NO_UNDEFINED) $(libsvn_repos_OBJECTS) ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/...
libsvn_subr_PATH = subversion/libsvn_subr
libsvn_subr_DEPS = subversion/libsvn_subr/adler32.lo subversion/libsvn_subr/atomic.lo subversion/libsvn_subr/auth.lo subversion/libsvn_subr/base64.lo subversion/libsvn_subr/cache-inprocess.lo subversion/libsvn_subr/cache-membuffer.lo subversion/libs...
libsvn_subr_OBJECTS = adler32.lo atomic.lo auth.lo base64.lo cache-inprocess.lo cache-membuffer.lo cache-memcache.lo cache.lo cache_config.lo checksum.lo cmdline.lo compat.lo config.lo config_auth.lo config_file.lo config_win.lo crypto.lo ctype.lo da...
subversion/libsvn_subr/libsvn_subr-1.la: $(libsvn_subr_DEPS)
cd subversion/libsvn_subr && $(LINK_LIB) $(libsvn_subr_LDFLAGS) -o libsvn_subr-1.la $(LT_NO_UNDEFINED) $(libsvn_subr_OBJECTS) $(SVN_APRUTIL_LIBS) $(SVN_APR_LIBS) $(SVN_XML_LIBS) $(SVN_ZLIB_LIBS) $(SVN_APR_MEMCACHE_LIBS) $(SVN_SQLITE_LIBS) $(SVN_MAGI...
libsvn_swig_perl_PATH = subversion/bindings/swig/perl/libsvn_swig_perl
libsvn_swig_perl_DEPS = subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.lo subversion/libsvn_delta/libsvn_delta-1.la subversion/libsvn_subr/libsvn_subr-1.la
libsvn_swig_perl_OBJECTS = swigutil_pl.lo
subversion/bindings/swig/perl/libsvn_swig_perl/libsvn_swig_perl-1.la: $(libsvn_swig_perl_DEPS)
cd subversion/bindings/swig/perl/libsvn_swig_perl && $(LINK_LIB) $(libsvn_swig_perl_LDFLAGS) -o libsvn_swig_perl-1.la $(LT_NO_UNDEFINED) $(libsvn_swig_perl_OBJECTS) ../../../../../subversion/libsvn_delta/libsvn_delta-1.la ../../../../../subversion/l...
libsvn_swig_py_PATH = subversion/bindings/swig/python/libsvn_swig_py
src/subversion/build-outputs.mk view on Meta::CPAN
subversion/libsvn_client/list.lo: subversion/libsvn_client/list.c subversion/include/private/svn_client_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/private/svn_editor.h subversion/inc...
subversion/libsvn_client/locking_commands.lo: subversion/libsvn_client/locking_commands.c subversion/include/private/svn_client_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/private/svn...
subversion/libsvn_client/log.lo: subversion/libsvn_client/log.c subversion/include/private/svn_client_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/private/svn_editor.h subversion/inclu...
subversion/libsvn_client/merge.lo: subversion/libsvn_client/merge.c subversion/include/private/svn_client_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/private/svn_editor.h subversion/i...
subversion/libsvn_client/mergeinfo.lo: subversion/libsvn_client/mergeinfo.c subversion/include/private/svn_client_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/private/svn_editor.h subv...
subversion/libsvn_client/patch.lo: subversion/libsvn_client/patch.c subversion/include/private/svn_client_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_dep_compat.h subversion/include/private/svn_diff_tree.h subversi...
subversion/libsvn_client/prop_commands.lo: subversion/libsvn_client/prop_commands.c subversion/include/private/svn_client_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/private/svn_edito...
subversion/libsvn_client/ra.lo: subversion/libsvn_client/ra.c subversion/include/private/svn_client_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/private/svn_editor.h subversion/include...
subversion/libsvn_client/relocate.lo: subversion/libsvn_client/relocate.c subversion/include/private/svn_client_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/private/svn_editor.h subver...
subversion/libsvn_client/repos_diff.lo: subversion/libsvn_client/repos_diff.c subversion/include/private/svn_client_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/private/svn_editor.h su...
subversion/libsvn_client/resolved.lo: subversion/libsvn_client/resolved.c subversion/include/private/svn_client_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/private/svn_editor.h subver...
src/subversion/build-outputs.mk view on Meta::CPAN
subversion/libsvn_delta/xdelta.lo: subversion/libsvn_delta/xdelta.c subversion/include/private/svn_debug.h subversion/include/svn_checksum.h subversion/include/svn_delta.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion...
subversion/libsvn_diff/deprecated.lo: subversion/libsvn_diff/deprecated.c subversion/include/private/svn_debug.h subversion/include/svn_checksum.h subversion/include/svn_diff.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subve...
subversion/libsvn_diff/diff.lo: subversion/libsvn_diff/diff.c subversion/include/private/svn_debug.h subversion/include/svn_checksum.h subversion/include/svn_diff.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/includ...
subversion/libsvn_diff/diff3.lo: subversion/libsvn_diff/diff3.c subversion/include/private/svn_debug.h subversion/include/svn_checksum.h subversion/include/svn_diff.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/incl...
subversion/libsvn_diff/diff4.lo: subversion/libsvn_diff/diff4.c subversion/include/private/svn_debug.h subversion/include/svn_checksum.h subversion/include/svn_diff.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/incl...
subversion/libsvn_diff/diff_file.lo: subversion/libsvn_diff/diff_file.c subversion/include/private/svn_adler32.h subversion/include/private/svn_debug.h subversion/include/private/svn_dep_compat.h subversion/include/private/svn_diff_private.h subversi...
subversion/libsvn_diff/diff_memory.lo: subversion/libsvn_diff/diff_memory.c subversion/include/private/svn_adler32.h subversion/include/private/svn_debug.h subversion/include/private/svn_diff_private.h subversion/include/svn_checksum.h subversion/inc...
subversion/libsvn_diff/diff_tree.lo: subversion/libsvn_diff/diff_tree.c subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/svn_checksum.h subversion/include/svn_dirent_uri.h subversion/include/svn_err...
subversion/libsvn_diff/lcs.lo: subversion/libsvn_diff/lcs.c subversion/include/private/svn_debug.h subversion/include/svn_checksum.h subversion/include/svn_diff.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/include/...
subversion/libsvn_diff/parse-diff.lo: subversion/libsvn_diff/parse-diff.c subversion/include/private/svn_debug.h subversion/include/private/svn_dep_compat.h subversion/include/private/svn_eol_private.h subversion/include/svn_checksum.h subversion/inc...
subversion/libsvn_diff/token.lo: subversion/libsvn_diff/token.c subversion/include/private/svn_debug.h subversion/include/svn_checksum.h subversion/include/svn_diff.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/incl...
subversion/libsvn_diff/util.lo: subversion/libsvn_diff/util.c subversion/include/private/svn_debug.h subversion/include/private/svn_diff_private.h subversion/include/svn_checksum.h subversion/include/svn_ctype.h subversion/include/svn_diff.h subversi...
subversion/libsvn_fs/access.lo: subversion/libsvn_fs/access.c subversion/include/private/svn_debug.h subversion/include/private/svn_editor.h subversion/include/private/svn_fs_private.h subversion/include/svn_checksum.h subversion/include/svn_delta.h ...
subversion/libsvn_fs/editor.lo: subversion/libsvn_fs/editor.c subversion/include/private/svn_debug.h subversion/include/private/svn_editor.h subversion/include/private/svn_fs_private.h subversion/include/private/svn_fspath.h subversion/include/svn_ch...
subversion/libsvn_fs/fs-loader.lo: subversion/libsvn_fs/fs-loader.c subversion/include/private/svn_debug.h subversion/include/private/svn_editor.h subversion/include/private/svn_fs_private.h subversion/include/private/svn_fs_util.h subversion/include...
src/subversion/build-outputs.mk view on Meta::CPAN
subversion/libsvn_subr/date.lo: subversion/libsvn_subr/date.c subversion/include/private/svn_debug.h subversion/include/private/svn_token.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/include/svn_string.h subversion...
subversion/libsvn_subr/debug.lo: subversion/libsvn_subr/debug.c subversion/include/private/svn_debug.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/include/svn_string.h subversion/include/svn_types.h
subversion/libsvn_subr/deprecated.lo: subversion/libsvn_subr/deprecated.c subversion/include/private/svn_debug.h subversion/include/private/svn_mergeinfo_private.h subversion/include/private/svn_opt_private.h subversion/include/private/svn_subr_priva...
subversion/libsvn_subr/dirent_uri.lo: subversion/libsvn_subr/dirent_uri.c subversion/include/private/svn_cert.h subversion/include/private/svn_debug.h subversion/include/private/svn_fspath.h subversion/include/svn_ctype.h subversion/include/svn_diren...
subversion/libsvn_subr/dso.lo: subversion/libsvn_subr/dso.c subversion/include/private/svn_debug.h subversion/include/private/svn_mutex.h subversion/include/svn_checksum.h subversion/include/svn_dso.h subversion/include/svn_error.h subversion/include...
subversion/libsvn_subr/eol.lo: subversion/libsvn_subr/eol.c subversion/include/private/svn_debug.h subversion/include/private/svn_dep_compat.h subversion/include/private/svn_eol_private.h subversion/include/svn_checksum.h subversion/include/svn_error...
subversion/libsvn_subr/error.lo: subversion/libsvn_subr/error.c subversion/include/private/svn_debug.h subversion/include/private/svn_error_private.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_cmdline.h sub...
subversion/libsvn_subr/gpg_agent.lo: subversion/libsvn_subr/gpg_agent.c subversion/include/private/svn_auth_private.h subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_cmdlin...
subversion/libsvn_subr/hash.lo: subversion/libsvn_subr/hash.c subversion/include/private/svn_debug.h subversion/include/private/svn_dep_compat.h subversion/include/private/svn_subr_private.h subversion/include/svn_checksum.h subversion/include/svn_er...
subversion/libsvn_subr/io.lo: subversion/libsvn_subr/io.c subversion/include/private/svn_atomic.h subversion/include/private/svn_debug.h subversion/include/private/svn_dep_compat.h subversion/include/private/svn_io_private.h subversion/include/svn_ch...
subversion/libsvn_subr/iter.lo: subversion/libsvn_subr/iter.c subversion/include/private/svn_debug.h subversion/include/private/svn_dep_compat.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/include/svn_iter.h subvers...
src/subversion/build-outputs.mk view on Meta::CPAN
subversion/libsvn_subr/sqlite.lo: subversion/libsvn_subr/sqlite.c subversion/include/private/svn_atomic.h subversion/include/private/svn_debug.h subversion/include/private/svn_dep_compat.h subversion/include/private/svn_skel.h subversion/include/priv...
subversion/libsvn_subr/sqlite3wrapper.lo: subversion/libsvn_subr/sqlite3wrapper.c subversion/svn_private_config.h
subversion/libsvn_subr/ssl_client_cert_providers.lo: subversion/libsvn_subr/ssl_client_cert_providers.c subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_config.h subversion/...
subversion/libsvn_subr/ssl_client_cert_pw_providers.lo: subversion/libsvn_subr/ssl_client_cert_pw_providers.c subversion/include/private/svn_auth_private.h subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_ch...
subversion/libsvn_subr/ssl_server_trust_providers.lo: subversion/libsvn_subr/ssl_server_trust_providers.c subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_config.h subversio...
subversion/libsvn_subr/stream.lo: subversion/libsvn_subr/stream.c subversion/include/private/svn_debug.h subversion/include/private/svn_eol_private.h subversion/include/private/svn_error_private.h subversion/include/private/svn_io_private.h subversio...
subversion/libsvn_subr/string.lo: subversion/libsvn_subr/string.c subversion/include/private/svn_debug.h subversion/include/private/svn_dep_compat.h subversion/include/private/svn_string_private.h subversion/include/svn_ctype.h subversion/include/svn...
subversion/libsvn_subr/subst.lo: subversion/libsvn_subr/subst.c subversion/include/private/svn_debug.h subversion/include/private/svn_io_private.h subversion/include/private/svn_string_private.h subversion/include/svn_auth.h subversion/include/svn_ch...
subversion/libsvn_subr/sysinfo.lo: subversion/libsvn_subr/sysinfo.c subversion/include/private/svn_debug.h subversion/include/private/svn_sqlite.h subversion/include/private/svn_token.h subversion/include/svn_checksum.h subversion/include/svn_ctype.h...
subversion/libsvn_subr/target.lo: subversion/libsvn_subr/target.c subversion/include/private/svn_debug.h subversion/include/svn_dirent_uri.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/include/svn_path.h subversion/...
subversion/libsvn_subr/temp_serializer.lo: subversion/libsvn_subr/temp_serializer.c subversion/include/private/svn_debug.h subversion/include/private/svn_temp_serializer.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion...
src/subversion/build-outputs.mk view on Meta::CPAN
subversion/libsvn_subr/token.lo: subversion/libsvn_subr/token.c subversion/include/private/svn_debug.h subversion/include/private/svn_token.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/include/svn_types.h subversio...
subversion/libsvn_subr/types.lo: subversion/libsvn_subr/types.c subversion/include/private/svn_debug.h subversion/include/svn_checksum.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/include/svn_hash.h subversion/incl...
subversion/libsvn_subr/user.lo: subversion/libsvn_subr/user.c subversion/include/private/svn_debug.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/include/svn_string.h subversion/include/svn_types.h subversion/include...
subversion/libsvn_subr/username_providers.lo: subversion/libsvn_subr/username_providers.c subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_config.h subversion/include/svn_er...
subversion/libsvn_subr/utf.lo: subversion/libsvn_subr/utf.c subversion/include/private/svn_debug.h subversion/include/private/svn_dep_compat.h subversion/include/private/svn_mutex.h subversion/include/private/svn_string_private.h subversion/include/p...
subversion/libsvn_subr/utf_validate.lo: subversion/libsvn_subr/utf_validate.c subversion/include/private/svn_debug.h subversion/include/private/svn_dep_compat.h subversion/include/private/svn_eol_private.h subversion/include/private/svn_utf_private.h...
subversion/libsvn_subr/utf_width.lo: subversion/libsvn_subr/utf_width.c subversion/include/private/svn_debug.h subversion/include/private/svn_utf_private.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/include/svn_str...
subversion/libsvn_subr/validate.lo: subversion/libsvn_subr/validate.c subversion/include/private/svn_debug.h subversion/include/svn_ctype.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/include/svn_types.h subversion/...
subversion/libsvn_subr/version.lo: subversion/libsvn_subr/version.c subversion/include/private/svn_debug.h subversion/include/private/svn_subr_private.h subversion/include/svn_checksum.h subversion/include/svn_error.h subversion/include/svn_error_cod...
subversion/libsvn_subr/win32_crashrpt.lo: subversion/libsvn_subr/win32_crashrpt.c subversion/include/private/svn_debug.h subversion/include/svn_error.h subversion/include/svn_error_codes.h subversion/include/svn_types.h subversion/include/svn_version...
subversion/libsvn_subr/win32_crypto.lo: subversion/libsvn_subr/win32_crypto.c subversion/include/private/svn_auth_private.h subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_base64.h subversion/include/svn_ch...
src/subversion/build.conf view on Meta::CPAN
svn_auth.h svn_base64.h svn_cache_config.h svn_checksum.h svn_cmdline.h
svn_compat.h svn_config.h svn_ctype.h svn_dirent_uri.h svn_dso.h
svn_error.h svn_hash.h svn_io.h svn_iter.h svn_md5.h svn_mergeinfo.h
svn_nls.h svn_opt.h svn_path.h svn_pools.h svn_props.h svn_quoprint.h
svn_sorts.h svn_string.h svn_subst.h svn_time.h svn_types.h svn_user.h
svn_utf.h svn_version.h svn_xml.h
private\svn_atomic.h private\svn_cache.h private\svn_cmdline_private.h
private\svn_debug.h private\svn_error_private.h private\svn_fspath.h
private\svn_log.h private\svn_mergeinfo_private.h
private\svn_opt_private.h private\svn_skel.h private\svn_sqlite.h
private\svn_utf_private.h private\svn_eol_private.h
private\svn_token.h private\svn_adler32.h
private\svn_temp_serializer.h private\svn_io_private.h
private\svn_string_private.h private\svn_magic.h
private\svn_subr_private.h private\svn_mutex.h private\svn_named_atomic.h
private\svn_cert.h
# Working copy management lib
[libsvn_wc]
description = Subversion Working Copy Library
type = lib
src/subversion/build.conf view on Meta::CPAN
[subst_translate-test]
description = Test the svn_subst_translate* functions
type = exe
path = subversion/tests/libsvn_subr
sources = subst_translate-test.c
install = test
libs = libsvn_test libsvn_subr apriconv apr
[translate-test]
description = Test eol conversion and keyword substitution routines
type = exe
path = subversion/tests/libsvn_subr
sources = translate-test.c
install = test
libs = libsvn_test libsvn_subr apriconv apr
# ----------------------------------------------------------------------------
# Tests for libsvn_delta
[random-test]
src/subversion/subversion/bindings/ctypes-python/csvn/wc.py view on Meta::CPAN
Cleanup means: finish any incomplete operations and release all locks.
Keyword arguments:
path -- path to cleanup (defaults to WC root)"""
svn_client_cleanup(self._build_path(path), self.client,
self.iterpool)
self.iterpool.clear()
def export(self, from_path, to_path, overwrite=False,
ignore_externals=True, recurse=True, eol=NULL):
"""Export from_path to to_path.
An export creates a clean copy of the exported items, with no
subversion metadata.
Keyword arguments:
from_path -- path to export
to_path -- location to export to
overwrite -- if True, existing items at to_path will be overwritten
(default False)
ignore_externals -- if True, export does not include externals (default
True)
recurse -- if True, directory contents will also be exported (default
True)
eol -- End of line character to use (defaults to standard eol marker)"""
rev = svn_opt_revision_t()
peg_rev = svn_opt_revision_t()
svn_client_export3(POINTER(svn_revnum_t)(),
self._build_path(from_path),
self._build_path(to_path), byref(peg_rev),
byref(rev), overwrite, ignore_externals, recurse,
eol, self.client, self.iterpool)
self.iterpool.clear()
def resolved(self, path="", recursive=True):
"""Resolve a conflict on PATH. Marks the conflict as resolved, does
not change the text of PATH.
If RECURSIVE is True (True by default) then directories will be
recursed."""
svn_client_resolved(self._build_path(path), recursive, self.client,
src/subversion/subversion/bindings/ctypes-python/examples/example.py view on Meta::CPAN
_, ext = os.path.splitext(basename)
return (basename == ".svn" or basename.endswith("~") or
basename.startswith(".") or ext in (".pyc", ".pyo"))
def autoprop(txn, path, kind):
# Ignore compiled/optimized python files
if kind == svn_node_dir:
txn.propset(path, "svn:ignore", "*.py[co]")
# Set eol-style to native for python files and text files
if kind == svn_node_file and (path.endswith(".py") or
path.endswith(".txt")):
txn.propset(path, "svn:eol-style", "native")
txn = session.txn()
txn.ignore(ignore)
txn.autoprop(autoprop)
txn.upload("csvn", local_path="csvn")
rev = txn.commit("import csvn dir")
print("Committed revision %d" % rev)
txn = session.txn()
txn.copy(src_path="csvn", dest_path="csvn2")
src/subversion/subversion/bindings/javahl/native/DiffOptions.cpp view on Meta::CPAN
// files, so we always have to allocate an array, even if it will
// remain empty.
apr_array_header_t *opt = apr_array_make(resultPool.getPool(),
0, sizeof(const char*));
if (flags & IGNORE_ALL_SPACE)
APR_ARRAY_PUSH(opt, const char*) = "--ignore-all-space";
if (flags & IGNORE_SPACE_CHANGE)
APR_ARRAY_PUSH(opt, const char*) = "--ignore-space-change";
if (flags & IGNORE_EOL_STYLE)
APR_ARRAY_PUSH(opt, const char*) = "--ignore-eol-style";
if (flags & SHOW_C_FUNCTION)
APR_ARRAY_PUSH(opt, const char*) = "--show-c-function";
return opt;
}
src/subversion/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/Property.java view on Meta::CPAN
/**
* list of filenames with wildcards which should be ignored by add and
* status
*/
public static final String IGNORE = "svn:ignore";
/**
* how the end of line code should be treated during retrieval
*/
public static final String EOL_STYLE = "svn:eol-style";
/**
* list of keywords to be expanded during retrieval
*/
public static final String KEYWORDS = "svn:keywords";
/**
* flag if the file should be made excutable during retrieval
*/
public static final String EXECUTABLE = "svn:executable";
src/subversion/subversion/bindings/javahl/src/org/tigris/subversion/javahl/PropertyData.java view on Meta::CPAN
/**
* list of filenames with wildcards which should be ignored by add and
* status
*/
public static final String IGNORE = "svn:ignore";
/**
* how the end of line code should be treated during retrieval
*/
public static final String EOL_STYLE = "svn:eol-style";
/**
* list of keywords to be expanded during retrieval
*/
public static final String KEYWORDS = "svn:keywords";
/**
* flag if the file should be made excutable during retrieval
*/
public static final String EXECUTABLE = "svn:executable";
src/subversion/subversion/bindings/javahl/tests/data/issue2979.dump view on Meta::CPAN
K 13
svn:mime-type
V 10
text/plain
K 12
svn:keywords
V 2
Id
K 13
svn:eol-style
V 6
native
PROPS-END
World
Node-path: 20-Oct-2007_10-14-52614PM/hello.txt
Node-kind: file
Node-action: add
Prop-content-length: 100
Text-content-length: 5
src/subversion/subversion/bindings/javahl/tests/data/issue2979.dump view on Meta::CPAN
K 13
svn:mime-type
V 10
text/plain
K 12
svn:keywords
V 2
Id
K 13
svn:eol-style
V 6
native
PROPS-END
Hello
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java view on Meta::CPAN
final String wcPath = fileToSVNPath(new File(thisTest.getWCPath()),
false);
// make edits to iota
PrintWriter writer = new PrintWriter(new FileOutputStream(iotaPath));
writer.print("This is the file 'mu'.");
writer.flush();
writer.close();
/*
* This test does tests with and without svn:eol-style set to native
* We will first run all of the tests where this does not matter so
* that they are not run twice.
*/
// Two-path diff of URLs.
String expectedDiffOutput = "Index: iota" + NL + sepLine +
"--- iota\t(.../iota)\t(revision 1)" + NL +
"+++ iota\t(.../A/mu)\t(revision 1)" + NL +
expectedDiffBody;
client.diff(thisTest.getUrl() + "/iota", Revision.HEAD,
src/subversion/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java view on Meta::CPAN
client.diff(aPath, Revision.BASE, aPath, Revision.WORKING, aPath,
diffOutput.getPath(), Depth.infinity, null, true, true,
false, false);
assertFileContentsEquals("Unexpected diff output in file '" +
diffOutput.getPath() + '\'',
expectedDiffOutput, diffOutput);
/*
* The rest of these tests are run twice. The first time
* without svn:eol-style set and the second time with the
* property set to native. This is tracked by the int named
* operativeRevision. It will have a value = 2 after the
* commit which sets the property
*/
for (int operativeRevision = 1; operativeRevision < 3; operativeRevision++)
{
String revisionPrefix = "While processing operativeRevison=" + operativeRevision + ". ";
String assertPrefix = revisionPrefix + "Unexpected diff output in file '";
// Undo previous edits to working copy
client.revert(wcPath, Depth.infinity, null);
if (operativeRevision == 2) {
// Set svn:eol-style=native on iota
setprop(iotaPath, "svn:eol-style", "native");
Set<String> paths = new HashSet<String>(1);
paths.add(iotaPath);
addExpectedCommitItem(thisTest.getWCPath(),
thisTest.getUrl().toString(), "iota",NodeKind.file,
CommitItemStateFlags.PropMods);
client.commit(paths, Depth.empty, false, false, null, null,
new ConstMsg("Set svn:eol-style to native"),
null);
}
// make edits to iota and set expected output.
writer = new PrintWriter(new FileOutputStream(iotaPath));
writer.print("This is the file 'mu'.");
writer.flush();
writer.close();
expectedDiffOutput = "Index: " + iotaPath + NL + sepLine +
"--- " + iotaPath + "\t(revision " + operativeRevision + ")" + NL +
src/subversion/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java view on Meta::CPAN
final String wcPath = fileToSVNPath(new File(thisTest.getWCPath()),
false);
// make edits to iota
PrintWriter writer = new PrintWriter(new FileOutputStream(iotaPath));
writer.print("This is the file 'mu'.");
writer.flush();
writer.close();
/*
* This test does tests with and without svn:eol-style set to native
* We will first run all of the tests where this does not matter so
* that they are not run twice.
*/
// Two-path diff of URLs.
String expectedDiffOutput = "Index: iota" + NL + sepLine +
"--- iota\t(.../iota)\t(revision 1)" + NL +
"+++ iota\t(.../A/mu)\t(revision 1)" + NL +
expectedDiffBody;
client.diff(thisTest.getUrl() + "/iota", Revision.HEAD,
src/subversion/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java view on Meta::CPAN
client.diff(aPath, Revision.BASE, aPath, Revision.WORKING, aPath,
diffOutput.getPath(), Depth.infinity, null, true, true,
false);
assertFileContentsEquals("Unexpected diff output in file '" +
diffOutput.getPath() + '\'',
expectedDiffOutput, diffOutput);
/*
* The rest of these tests are run twice. The first time
* without svn:eol-style set and the second time with the
* property set to native. This is tracked by the int named
* operativeRevision. It will have a value = 2 after the
* commit which sets the property
*/
for (int operativeRevision = 1; operativeRevision < 3; operativeRevision++)
{
String revisionPrefix = "While processing operativeRevison=" + operativeRevision + ". ";
String assertPrefix = revisionPrefix + "Unexpected diff output in file '";
// Undo previous edits to working copy
client.revert(wcPath, true);
if (operativeRevision == 2) {
// Set svn:eol-style=native on iota
client.propertyCreate(iotaPath, "svn:eol-style", "native", false);
String[] paths = new String[] {iotaPath};
addExpectedCommitItem(thisTest.getWCPath(),
thisTest.getUrl(), "iota",NodeKind.file,
CommitItemStateFlags.PropMods);
client.commit(paths, "Set svn:eol-style to native", false);
}
// make edits to iota and set expected output.
writer = new PrintWriter(new FileOutputStream(iotaPath));
writer.print("This is the file 'mu'.");
writer.flush();
writer.close();
expectedDiffOutput = "Index: " + iotaPath + NL + sepLine +
"--- " + iotaPath + "\t(revision " + operativeRevision + ")" + NL +
"+++ " + iotaPath + "\t(working copy)" + NL +
src/subversion/subversion/bindings/swig/perl/native/core.c view on Meta::CPAN
int argvi = 0;
svn_error_t *result = 0 ;
dXSARGS;
{
_global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
}
arg2 = &temp2;
arg4 = &temp4;
if ((items < 2) || (items > 3)) {
SWIG_croak("Usage: svn_stream_readline(stream,eol,pool);");
}
{
svn_swig_pl_make_stream (&arg1, ST(0));
}
res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_stream_readline" "', argument " "3"" of type '" "char const *""'");
}
arg3 = (char *)(buf3);
if (items > 2) {
src/subversion/subversion/bindings/swig/perl/native/core.c view on Meta::CPAN
ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
XSRETURN(argvi);
fail:
SWIG_croak_null();
}
}
XS(_wrap_svn_diff_file_options_t_ignore_eol_style_set) {
{
struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ;
svn_boolean_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
int argvi = 0;
dXSARGS;
if ((items < 2) || (items > 2)) {
SWIG_croak("Usage: svn_diff_file_options_t_ignore_eol_style_set(self,ignore_eol_style);");
}
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_diff_file_options_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_diff_file_options_t_ignore_eol_style_set" "', argument " "1"" of type '" "struct svn_diff_file_options_t *""'");
}
arg1 = (struct svn_diff_file_options_t *)(argp1);
ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "svn_diff_file_options_t_ignore_eol_style_set" "', argument " "2"" of type '" "svn_boolean_t""'");
}
arg2 = (svn_boolean_t)(val2);
if (arg1) (arg1)->ignore_eol_style = arg2;
ST(argvi) = sv_newmortal();
XSRETURN(argvi);
fail:
SWIG_croak_null();
}
}
XS(_wrap_svn_diff_file_options_t_ignore_eol_style_get) {
{
struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int argvi = 0;
svn_boolean_t result;
dXSARGS;
if ((items < 1) || (items > 1)) {
SWIG_croak("Usage: svn_diff_file_options_t_ignore_eol_style_get(self);");
}
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_svn_diff_file_options_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_diff_file_options_t_ignore_eol_style_get" "', argument " "1"" of type '" "struct svn_diff_file_options_t *""'");
}
arg1 = (struct svn_diff_file_options_t *)(argp1);
result = (svn_boolean_t) ((arg1)->ignore_eol_style);
ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
XSRETURN(argvi);
fail:
SWIG_croak_null();
}
}
src/subversion/subversion/bindings/swig/perl/native/core.c view on Meta::CPAN
{"SVN::_Core::svn_diff_output_fns_t_output_diff_latest_get", _wrap_svn_diff_output_fns_t_output_diff_latest_get},
{"SVN::_Core::svn_diff_output_fns_t_output_diff_common_set", _wrap_svn_diff_output_fns_t_output_diff_common_set},
{"SVN::_Core::svn_diff_output_fns_t_output_diff_common_get", _wrap_svn_diff_output_fns_t_output_diff_common_get},
{"SVN::_Core::svn_diff_output_fns_t_output_conflict_set", _wrap_svn_diff_output_fns_t_output_conflict_set},
{"SVN::_Core::svn_diff_output_fns_t_output_conflict_get", _wrap_svn_diff_output_fns_t_output_conflict_get},
{"SVN::_Core::new_svn_diff_output_fns_t", _wrap_new_svn_diff_output_fns_t},
{"SVN::_Core::delete_svn_diff_output_fns_t", _wrap_delete_svn_diff_output_fns_t},
{"SVN::_Core::svn_diff_output", _wrap_svn_diff_output},
{"SVN::_Core::svn_diff_file_options_t_ignore_space_set", _wrap_svn_diff_file_options_t_ignore_space_set},
{"SVN::_Core::svn_diff_file_options_t_ignore_space_get", _wrap_svn_diff_file_options_t_ignore_space_get},
{"SVN::_Core::svn_diff_file_options_t_ignore_eol_style_set", _wrap_svn_diff_file_options_t_ignore_eol_style_set},
{"SVN::_Core::svn_diff_file_options_t_ignore_eol_style_get", _wrap_svn_diff_file_options_t_ignore_eol_style_get},
{"SVN::_Core::svn_diff_file_options_t_show_c_function_set", _wrap_svn_diff_file_options_t_show_c_function_set},
{"SVN::_Core::svn_diff_file_options_t_show_c_function_get", _wrap_svn_diff_file_options_t_show_c_function_get},
{"SVN::_Core::new_svn_diff_file_options_t", _wrap_new_svn_diff_file_options_t},
{"SVN::_Core::delete_svn_diff_file_options_t", _wrap_delete_svn_diff_file_options_t},
{"SVN::_Core::svn_diff_file_options_create", _wrap_svn_diff_file_options_create},
{"SVN::_Core::svn_diff_file_options_parse", _wrap_svn_diff_file_options_parse},
{"SVN::_Core::svn_diff_file_diff_2", _wrap_svn_diff_file_diff_2},
{"SVN::_Core::svn_diff_file_diff", _wrap_svn_diff_file_diff},
{"SVN::_Core::svn_diff_file_diff3_2", _wrap_svn_diff_file_diff3_2},
{"SVN::_Core::svn_diff_file_diff3", _wrap_svn_diff_file_diff3},
src/subversion/subversion/bindings/swig/perl/native/core.c view on Meta::CPAN
sv_setsv(sv, SWIG_FromCharPtr("svn:mime-type"));
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_PROP_IGNORE", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_FromCharPtr("svn:ignore"));
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_PROP_EOL_STYLE", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_FromCharPtr("svn:eol-style"));
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_PROP_KEYWORDS", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_FromCharPtr("svn:keywords"));
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_PROP_EXECUTABLE", TRUE | 0x2 | GV_ADDMULTI);
sv_setsv(sv, SWIG_FromCharPtr("svn:executable"));
src/subversion/subversion/bindings/swig/perl/native/svn_client.c view on Meta::CPAN
int res11 = 0 ;
int argvi = 0;
svn_error_t *result = 0 ;
dXSARGS;
{
_global_pool = arg12 = svn_swig_pl_make_pool (ST(items-1));
}
arg1 = &temp1;
if ((items < 10) || (items > 11)) {
SWIG_croak("Usage: svn_client_export5(from_path_or_url,to_path,peg_revision,revision,overwrite,ignore_externals,ignore_keywords,depth,native_eol,ctx,pool);");
}
res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_client_export5" "', argument " "2"" of type '" "char const *""'");
}
arg2 = (char *)(buf2);
res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_client_export5" "', argument " "3"" of type '" "char const *""'");
}
src/subversion/subversion/bindings/swig/perl/native/svn_client.c view on Meta::CPAN
int res10 = 0 ;
int argvi = 0;
svn_error_t *result = 0 ;
dXSARGS;
{
_global_pool = arg11 = svn_swig_pl_make_pool (ST(items-1));
}
arg1 = &temp1;
if ((items < 9) || (items > 10)) {
SWIG_croak("Usage: svn_client_export4(from_path_or_url,to_path,peg_revision,revision,overwrite,ignore_externals,depth,native_eol,ctx,pool);");
}
res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_client_export4" "', argument " "2"" of type '" "char const *""'");
}
arg2 = (char *)(buf2);
res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_client_export4" "', argument " "3"" of type '" "char const *""'");
}
src/subversion/subversion/bindings/swig/perl/native/svn_client.c view on Meta::CPAN
int res10 = 0 ;
int argvi = 0;
svn_error_t *result = 0 ;
dXSARGS;
{
_global_pool = arg11 = svn_swig_pl_make_pool (ST(items-1));
}
arg1 = &temp1;
if ((items < 9) || (items > 10)) {
SWIG_croak("Usage: svn_client_export3(from_path_or_url,to_path,peg_revision,revision,overwrite,ignore_externals,recurse,native_eol,ctx,pool);");
}
res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_client_export3" "', argument " "2"" of type '" "char const *""'");
}
arg2 = (char *)(buf2);
res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_client_export3" "', argument " "3"" of type '" "char const *""'");
}
src/subversion/subversion/bindings/swig/perl/native/svn_client.c view on Meta::CPAN
int res7 = 0 ;
int argvi = 0;
svn_error_t *result = 0 ;
dXSARGS;
{
_global_pool = arg8 = svn_swig_pl_make_pool (ST(items-1));
}
arg1 = &temp1;
if ((items < 6) || (items > 7)) {
SWIG_croak("Usage: svn_client_export2(from_path_or_url,to_path,revision,force,native_eol,ctx,pool);");
}
res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_client_export2" "', argument " "2"" of type '" "char const *""'");
}
arg2 = (char *)(buf2);
res3 = SWIG_AsCharPtrAndSize(ST(1), &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_client_export2" "', argument " "3"" of type '" "char const *""'");
}
src/subversion/subversion/bindings/swig/python/client.py view on Meta::CPAN
return _client.svn_client_proplist(*args)
def svn_client_revprop_list(*args):
"""svn_client_revprop_list(char const * URL, svn_opt_revision_t revision, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t"""
return _client.svn_client_revprop_list(*args)
def svn_client_export5(*args):
"""
svn_client_export5(char const * from_path_or_url, char const * to_path, svn_opt_revision_t peg_revision,
svn_opt_revision_t revision, svn_boolean_t overwrite, svn_boolean_t ignore_externals,
svn_boolean_t ignore_keywords, svn_depth_t depth, char const * native_eol,
svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t
"""
return _client.svn_client_export5(*args)
def svn_client_export4(*args):
"""
svn_client_export4(char const * from_path_or_url, char const * to_path, svn_opt_revision_t peg_revision,
svn_opt_revision_t revision, svn_boolean_t overwrite, svn_boolean_t ignore_externals,
svn_depth_t depth, char const * native_eol, svn_client_ctx_t ctx,
apr_pool_t pool) -> svn_error_t
"""
return _client.svn_client_export4(*args)
def svn_client_export3(*args):
"""
svn_client_export3(char const * from_path_or_url, char const * to_path, svn_opt_revision_t peg_revision,
svn_opt_revision_t revision, svn_boolean_t overwrite, svn_boolean_t ignore_externals,
svn_boolean_t recurse, char const * native_eol, svn_client_ctx_t ctx,
apr_pool_t pool) -> svn_error_t
"""
return _client.svn_client_export3(*args)
def svn_client_export2(*args):
"""
svn_client_export2(char const * from_path_or_url, char const * to_path, svn_opt_revision_t revision,
svn_boolean_t force, char const * native_eol, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t
"""
return _client.svn_client_export2(*args)
def svn_client_export(*args):
"""
svn_client_export(char const * from_path_or_url, char const * to_path, svn_opt_revision_t revision,
svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t
"""
return _client.svn_client_export(*args)
src/subversion/subversion/bindings/swig/python/core.c view on Meta::CPAN
{ (char *)"svn_stream_read", _wrap_svn_stream_read, METH_VARARGS, (char *)"svn_stream_read(svn_stream_t * stream, char * buffer) -> svn_error_t"},
{ (char *)"svn_stream_skip", _wrap_svn_stream_skip, METH_VARARGS, (char *)"svn_stream_skip(svn_stream_t * stream, apr_size_t len) -> svn_error_t"},
{ (char *)"svn_stream_write", _wrap_svn_stream_write, METH_VARARGS, (char *)"svn_stream_write(svn_stream_t * stream, char const * data) -> svn_error_t"},
{ (char *)"svn_stream_close", _wrap_svn_stream_close, METH_VARARGS, (char *)"svn_stream_close(svn_stream_t * stream) -> svn_error_t"},
{ (char *)"svn_stream_reset", _wrap_svn_stream_reset, METH_VARARGS, (char *)"svn_stream_reset(svn_stream_t * stream) -> svn_error_t"},
{ (char *)"svn_stream_supports_mark", _wrap_svn_stream_supports_mark, METH_VARARGS, (char *)"svn_stream_supports_mark(svn_stream_t * stream) -> svn_boolean_t"},
{ (char *)"svn_stream_mark", _wrap_svn_stream_mark, METH_VARARGS, (char *)"svn_stream_mark(svn_stream_t * stream, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_stream_seek", _wrap_svn_stream_seek, METH_VARARGS, (char *)"svn_stream_seek(svn_stream_t * stream, svn_stream_mark_t const * mark) -> svn_error_t"},
{ (char *)"svn_stream_tee", _wrap_svn_stream_tee, METH_VARARGS, (char *)"svn_stream_tee(svn_stream_t * out1, svn_stream_t * out2, apr_pool_t pool) -> svn_stream_t *"},
{ (char *)"svn_stream_puts", _wrap_svn_stream_puts, METH_VARARGS, (char *)"svn_stream_puts(svn_stream_t * stream, char const * str) -> svn_error_t"},
{ (char *)"svn_stream_readline", _wrap_svn_stream_readline, METH_VARARGS, (char *)"svn_stream_readline(svn_stream_t * stream, char const * eol, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_stream_copy3", _wrap_svn_stream_copy3, METH_VARARGS, (char *)"svn_stream_copy3(svn_stream_t * _from, svn_stream_t * to, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_stream_copy2", _wrap_svn_stream_copy2, METH_VARARGS, (char *)"svn_stream_copy2(svn_stream_t * _from, svn_stream_t * to, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_stream_copy", _wrap_svn_stream_copy, METH_VARARGS, (char *)"svn_stream_copy(svn_stream_t * _from, svn_stream_t * to, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_stream_contents_same2", _wrap_svn_stream_contents_same2, METH_VARARGS, (char *)"svn_stream_contents_same2(svn_stream_t * stream1, svn_stream_t * stream2, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_stream_contents_same", _wrap_svn_stream_contents_same, METH_VARARGS, (char *)"svn_stream_contents_same(svn_stream_t * stream1, svn_stream_t * stream2, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_string_from_stream", _wrap_svn_string_from_stream, METH_VARARGS, (char *)"svn_string_from_stream(svn_stream_t * stream, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t"},
{ (char *)"svn_stream_lazyopen_create", _wrap_svn_stream_lazyopen_create, METH_VARARGS, (char *)"\n"
"svn_stream_lazyopen_create(svn_stream_lazyopen_func_t open_func, void * open_baton, svn_boolean_t open_on_close, \n"
" apr_pool_t result_pool) -> svn_stream_t *\n"
""},
src/subversion/subversion/bindings/swig/python/core.c view on Meta::CPAN
SWIG_Python_SetConstant(d, "SVN_VER_NUM",SWIG_FromCharPtr("1.8.11"));
SWIG_Python_SetConstant(d, "SVN_VER_NUMBER",SWIG_FromCharPtr("1.8.11"));
SWIG_Python_SetConstant(d, "SVN_VERSION",SWIG_FromCharPtr("1.8.11 (r1643975)"));
SWIG_Python_SetConstant(d, "svn_prop_entry_kind",SWIG_From_long((long)(svn_prop_entry_kind)));
SWIG_Python_SetConstant(d, "svn_prop_wc_kind",SWIG_From_long((long)(svn_prop_wc_kind)));
SWIG_Python_SetConstant(d, "svn_prop_regular_kind",SWIG_From_long((long)(svn_prop_regular_kind)));
SWIG_Python_SetConstant(d, "SVN_PROP_PREFIX",SWIG_FromCharPtr("svn:"));
SWIG_Python_SetConstant(d, "SVN_PROP_BOOLEAN_TRUE",SWIG_FromCharPtr("*"));
SWIG_Python_SetConstant(d, "SVN_PROP_MIME_TYPE",SWIG_FromCharPtr("svn:mime-type"));
SWIG_Python_SetConstant(d, "SVN_PROP_IGNORE",SWIG_FromCharPtr("svn:ignore"));
SWIG_Python_SetConstant(d, "SVN_PROP_EOL_STYLE",SWIG_FromCharPtr("svn:eol-style"));
SWIG_Python_SetConstant(d, "SVN_PROP_KEYWORDS",SWIG_FromCharPtr("svn:keywords"));
SWIG_Python_SetConstant(d, "SVN_PROP_EXECUTABLE",SWIG_FromCharPtr("svn:executable"));
SWIG_Python_SetConstant(d, "SVN_PROP_EXECUTABLE_VALUE",SWIG_FromCharPtr("*"));
SWIG_Python_SetConstant(d, "SVN_PROP_NEEDS_LOCK",SWIG_FromCharPtr("svn:needs-lock"));
SWIG_Python_SetConstant(d, "SVN_PROP_NEEDS_LOCK_VALUE",SWIG_FromCharPtr("*"));
SWIG_Python_SetConstant(d, "SVN_PROP_SPECIAL",SWIG_FromCharPtr("svn:special"));
SWIG_Python_SetConstant(d, "SVN_PROP_SPECIAL_VALUE",SWIG_FromCharPtr("*"));
SWIG_Python_SetConstant(d, "SVN_PROP_EXTERNALS",SWIG_FromCharPtr("svn:externals"));
SWIG_Python_SetConstant(d, "SVN_PROP_MERGEINFO",SWIG_FromCharPtr("svn:mergeinfo"));
SWIG_Python_SetConstant(d, "SVN_PROP_INHERITABLE_AUTO_PROPS",SWIG_FromCharPtr("svn:auto-props"));
src/subversion/subversion/bindings/swig/python/core.py view on Meta::CPAN
def svn_stream_tee(*args):
"""svn_stream_tee(svn_stream_t * out1, svn_stream_t * out2, apr_pool_t pool) -> svn_stream_t *"""
return _core.svn_stream_tee(*args)
def svn_stream_puts(*args):
"""svn_stream_puts(svn_stream_t * stream, char const * str) -> svn_error_t"""
return _core.svn_stream_puts(*args)
def svn_stream_readline(*args):
"""svn_stream_readline(svn_stream_t * stream, char const * eol, apr_pool_t pool) -> svn_error_t"""
return _core.svn_stream_readline(*args)
def svn_stream_copy3(*args):
"""svn_stream_copy3(svn_stream_t * _from, svn_stream_t * to, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
return _core.svn_stream_copy3(*args)
def svn_stream_copy2(*args):
"""svn_stream_copy2(svn_stream_t * _from, svn_stream_t * to, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t"""
return _core.svn_stream_copy2(*args)
src/subversion/subversion/bindings/swig/python/diff.py view on Meta::CPAN
svn_diff_file_ignore_space_all = _diff.svn_diff_file_ignore_space_all
class svn_diff_file_options_t:
"""Proxy of C svn_diff_file_options_t struct"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, svn_diff_file_options_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, svn_diff_file_options_t, name)
__repr__ = _swig_repr
__swig_setmethods__["ignore_space"] = _diff.svn_diff_file_options_t_ignore_space_set
__swig_getmethods__["ignore_space"] = _diff.svn_diff_file_options_t_ignore_space_get
__swig_setmethods__["ignore_eol_style"] = _diff.svn_diff_file_options_t_ignore_eol_style_set
__swig_getmethods__["ignore_eol_style"] = _diff.svn_diff_file_options_t_ignore_eol_style_get
__swig_setmethods__["show_c_function"] = _diff.svn_diff_file_options_t_show_c_function_set
__swig_getmethods__["show_c_function"] = _diff.svn_diff_file_options_t_show_c_function_get
def set_parent_pool(self, parent_pool=None):
"""Create a new proxy object for svn_diff_file_options_t"""
import libsvn.core, weakref
self.__dict__["_parent_pool"] = \
parent_pool or libsvn.core.application_pool;
if self.__dict__["_parent_pool"]:
self.__dict__["_is_valid"] = weakref.ref(
self.__dict__["_parent_pool"]._is_valid)
src/subversion/subversion/bindings/swig/python/svn_client.c view on Meta::CPAN
" svn_boolean_t recurse, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t\n"
""},
{ (char *)"svn_client_proplist", _wrap_svn_client_proplist, METH_VARARGS, (char *)"\n"
"svn_client_proplist(char const * target, svn_opt_revision_t revision, svn_boolean_t recurse, svn_client_ctx_t ctx, \n"
" apr_pool_t pool) -> svn_error_t\n"
""},
{ (char *)"svn_client_revprop_list", _wrap_svn_client_revprop_list, METH_VARARGS, (char *)"svn_client_revprop_list(char const * URL, svn_opt_revision_t revision, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_client_export5", _wrap_svn_client_export5, METH_VARARGS, (char *)"\n"
"svn_client_export5(char const * from_path_or_url, char const * to_path, svn_opt_revision_t peg_revision, \n"
" svn_opt_revision_t revision, svn_boolean_t overwrite, svn_boolean_t ignore_externals, \n"
" svn_boolean_t ignore_keywords, svn_depth_t depth, char const * native_eol, \n"
" svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t\n"
""},
{ (char *)"svn_client_export4", _wrap_svn_client_export4, METH_VARARGS, (char *)"\n"
"svn_client_export4(char const * from_path_or_url, char const * to_path, svn_opt_revision_t peg_revision, \n"
" svn_opt_revision_t revision, svn_boolean_t overwrite, svn_boolean_t ignore_externals, \n"
" svn_depth_t depth, char const * native_eol, svn_client_ctx_t ctx, \n"
" apr_pool_t pool) -> svn_error_t\n"
""},
{ (char *)"svn_client_export3", _wrap_svn_client_export3, METH_VARARGS, (char *)"\n"
"svn_client_export3(char const * from_path_or_url, char const * to_path, svn_opt_revision_t peg_revision, \n"
" svn_opt_revision_t revision, svn_boolean_t overwrite, svn_boolean_t ignore_externals, \n"
" svn_boolean_t recurse, char const * native_eol, svn_client_ctx_t ctx, \n"
" apr_pool_t pool) -> svn_error_t\n"
""},
{ (char *)"svn_client_export2", _wrap_svn_client_export2, METH_VARARGS, (char *)"\n"
"svn_client_export2(char const * from_path_or_url, char const * to_path, svn_opt_revision_t revision, \n"
" svn_boolean_t force, char const * native_eol, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t\n"
""},
{ (char *)"svn_client_export", _wrap_svn_client_export, METH_VARARGS, (char *)"\n"
"svn_client_export(char const * from_path_or_url, char const * to_path, svn_opt_revision_t revision, \n"
" svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t\n"
""},
{ (char *)"svn_client_list3", _wrap_svn_client_list3, METH_VARARGS, (char *)"\n"
"svn_client_list3(char const * path_or_url, svn_opt_revision_t peg_revision, svn_opt_revision_t revision, \n"
" svn_depth_t depth, apr_uint32_t dirent_fields, svn_boolean_t fetch_locks, \n"
" svn_boolean_t include_externals, svn_client_list_func2_t list_func, void * baton, \n"
" svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t\n"
src/subversion/subversion/bindings/swig/python/svn_diff.c view on Meta::CPAN
}
}
result = (svn_diff_file_ignore_space_t) ((arg1)->ignore_space);
resultobj = SWIG_From_long((long)(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_svn_diff_file_options_t_ignore_eol_style_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ;
svn_boolean_t arg2 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
if (!PyArg_ParseTuple(args,(char *)"OO:svn_diff_file_options_t_ignore_eol_style_set",&obj0,&obj1)) SWIG_fail;
{
arg1 = (struct svn_diff_file_options_t *)svn_swig_MustGetPtr(obj0, SWIGTYPE_p_svn_diff_file_options_t, svn_argnum_obj0);
if (PyErr_Occurred()) {
SWIG_fail;
}
}
{
arg2 = (svn_boolean_t)SWIG_As_long (obj1);
if (SWIG_arg_fail(svn_argnum_obj1)) {
SWIG_fail;
}
}
if (arg1) (arg1)->ignore_eol_style = arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_svn_diff_file_options_t_ignore_eol_style_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ;
PyObject * obj0 = 0 ;
svn_boolean_t result;
if (!PyArg_ParseTuple(args,(char *)"O:svn_diff_file_options_t_ignore_eol_style_get",&obj0)) SWIG_fail;
{
arg1 = (struct svn_diff_file_options_t *)svn_swig_MustGetPtr(obj0, SWIGTYPE_p_svn_diff_file_options_t, svn_argnum_obj0);
if (PyErr_Occurred()) {
SWIG_fail;
}
}
result = (svn_boolean_t) ((arg1)->ignore_eol_style);
resultobj = SWIG_From_long((long)(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_svn_diff_file_options_t_show_c_function_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ;
src/subversion/subversion/bindings/swig/python/svn_diff.c view on Meta::CPAN
{ (char *)"svn_diff_output_fns_t_output_diff_common_set", _wrap_svn_diff_output_fns_t_output_diff_common_set, METH_VARARGS, (char *)"svn_diff_output_fns_t_output_diff_common_set(svn_diff_output_fns_t self, svn_error_t *(*)(void *,apr_off_t,apr_off_...
{ (char *)"svn_diff_output_fns_t_output_diff_common_get", _wrap_svn_diff_output_fns_t_output_diff_common_get, METH_VARARGS, (char *)"svn_diff_output_fns_t_output_diff_common_get(svn_diff_output_fns_t self) -> svn_error_t *(*)(void *,apr_off_t,apr_o...
{ (char *)"svn_diff_output_fns_t_output_conflict_set", _wrap_svn_diff_output_fns_t_output_conflict_set, METH_VARARGS, (char *)"svn_diff_output_fns_t_output_conflict_set(svn_diff_output_fns_t self, svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_off...
{ (char *)"svn_diff_output_fns_t_output_conflict_get", _wrap_svn_diff_output_fns_t_output_conflict_get, METH_VARARGS, (char *)"svn_diff_output_fns_t_output_conflict_get(svn_diff_output_fns_t self) -> svn_error_t *(*)(void *,apr_off_t,apr_off_t,apr_...
{ (char *)"new_svn_diff_output_fns_t", _wrap_new_svn_diff_output_fns_t, METH_VARARGS, (char *)"new_svn_diff_output_fns_t() -> svn_diff_output_fns_t"},
{ (char *)"delete_svn_diff_output_fns_t", _wrap_delete_svn_diff_output_fns_t, METH_VARARGS, (char *)"delete_svn_diff_output_fns_t(svn_diff_output_fns_t self)"},
{ (char *)"svn_diff_output_fns_t_swigregister", svn_diff_output_fns_t_swigregister, METH_VARARGS, NULL},
{ (char *)"svn_diff_output", _wrap_svn_diff_output, METH_VARARGS, (char *)"svn_diff_output(svn_diff_t * diff, void * output_baton, svn_diff_output_fns_t output_fns) -> svn_error_t"},
{ (char *)"svn_diff_file_options_t_ignore_space_set", _wrap_svn_diff_file_options_t_ignore_space_set, METH_VARARGS, (char *)"svn_diff_file_options_t_ignore_space_set(svn_diff_file_options_t self, svn_diff_file_ignore_space_t ignore_space)"},
{ (char *)"svn_diff_file_options_t_ignore_space_get", _wrap_svn_diff_file_options_t_ignore_space_get, METH_VARARGS, (char *)"svn_diff_file_options_t_ignore_space_get(svn_diff_file_options_t self) -> svn_diff_file_ignore_space_t"},
{ (char *)"svn_diff_file_options_t_ignore_eol_style_set", _wrap_svn_diff_file_options_t_ignore_eol_style_set, METH_VARARGS, (char *)"svn_diff_file_options_t_ignore_eol_style_set(svn_diff_file_options_t self, svn_boolean_t ignore_eol_style)"},
{ (char *)"svn_diff_file_options_t_ignore_eol_style_get", _wrap_svn_diff_file_options_t_ignore_eol_style_get, METH_VARARGS, (char *)"svn_diff_file_options_t_ignore_eol_style_get(svn_diff_file_options_t self) -> svn_boolean_t"},
{ (char *)"svn_diff_file_options_t_show_c_function_set", _wrap_svn_diff_file_options_t_show_c_function_set, METH_VARARGS, (char *)"svn_diff_file_options_t_show_c_function_set(svn_diff_file_options_t self, svn_boolean_t show_c_function)"},
{ (char *)"svn_diff_file_options_t_show_c_function_get", _wrap_svn_diff_file_options_t_show_c_function_get, METH_VARARGS, (char *)"svn_diff_file_options_t_show_c_function_get(svn_diff_file_options_t self) -> svn_boolean_t"},
{ (char *)"new_svn_diff_file_options_t", _wrap_new_svn_diff_file_options_t, METH_VARARGS, (char *)"new_svn_diff_file_options_t() -> svn_diff_file_options_t"},
{ (char *)"delete_svn_diff_file_options_t", _wrap_delete_svn_diff_file_options_t, METH_VARARGS, (char *)"delete_svn_diff_file_options_t(svn_diff_file_options_t self)"},
{ (char *)"svn_diff_file_options_t_swigregister", svn_diff_file_options_t_swigregister, METH_VARARGS, NULL},
{ (char *)"svn_diff_file_options_create", _wrap_svn_diff_file_options_create, METH_VARARGS, (char *)"svn_diff_file_options_create(apr_pool_t pool) -> svn_diff_file_options_t"},
{ (char *)"svn_diff_file_options_parse", _wrap_svn_diff_file_options_parse, METH_VARARGS, (char *)"svn_diff_file_options_parse(svn_diff_file_options_t options, apr_array_header_t args, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_diff_file_diff_2", _wrap_svn_diff_file_diff_2, METH_VARARGS, (char *)"svn_diff_file_diff_2(char const * original, char const * modified, svn_diff_file_options_t options, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_diff_file_diff", _wrap_svn_diff_file_diff, METH_VARARGS, (char *)"svn_diff_file_diff(char const * original, char const * modified, apr_pool_t pool) -> svn_error_t"},
{ (char *)"svn_diff_file_diff3_2", _wrap_svn_diff_file_diff3_2, METH_VARARGS, (char *)"\n"
src/subversion/subversion/bindings/swig/python/tests/ra.py view on Meta::CPAN
'svn:author': 'john',
'svn:date': '2005-04-01T13:12:18.216267Z'
})
self.assertEqual(prop_diffs, {})
elif rev == 3:
self.assertEqual(rev_props, {
'svn:log': 'Fixed README.\n',
'svn:author': 'kate',
'svn:date': '2005-04-01T13:24:58.234643Z'
})
self.assertEqual(prop_diffs, {'svn:mime-type': 'text/plain', 'svn:eol-style': 'native'})
ra.get_file_revs(self.ra_ctx, "trunk/README.txt", 0, 10, rev_handler)
def test_lock(self):
def callback(baton, path, do_lock, lock, ra_err, pool):
pass
# This test merely makes sure that the arguments can be wrapped
# properly. svn.ra.lock() currently fails because it is not possible
# to retrieve the username from the auth_baton yet.
self.assertRaises(core.SubversionException,
src/subversion/subversion/bindings/swig/python/tests/trac/versioncontrol/tests/svn_fs.py view on Meta::CPAN
self.assertEqual('A test.\n', node.get_content().read())
def test_get_dir_properties(self):
f = self.repos.get_node('/trunk')
props = f.get_properties()
self.assertEqual(0, len(props))
def test_get_file_properties(self):
f = self.repos.get_node('/trunk/README.txt')
props = f.get_properties()
self.assertEqual('native', props['svn:eol-style'])
self.assertEqual('text/plain', props['svn:mime-type'])
# Revision Log / node history
def test_get_node_history(self):
node = self.repos.get_node('/trunk/README2.txt')
history = node.get_history()
self.assertEqual(('trunk/README2.txt', 6, 'copy'), history.next())
self.assertEqual(('trunk/README.txt', 3, 'edit'), history.next())
self.assertEqual(('trunk/README.txt', 2, 'add'), history.next())
src/subversion/subversion/bindings/swig/python/tests/trac/versioncontrol/tests/svnrepos.dump view on Meta::CPAN
Prop-content-length: 75
Text-content-length: 8
Text-content-md5: eaf1c95c78c9f848636d357788bd4a4c
Content-length: 83
K 13
svn:mime-type
V 10
text/plain
K 13
svn:eol-style
V 6
native
PROPS-END
A test.
Revision-number: 4
Prop-content-length: 116
Content-length: 116
src/subversion/subversion/bindings/swig/ruby/core.c view on Meta::CPAN
arg1 = (struct svn_diff_file_options_t *)(argp1);
result = (svn_diff_file_ignore_space_t) ((arg1)->ignore_space);
vresult = SWIG_From_int((int)(result));
return vresult;
fail:
return Qnil;
}
SWIGINTERN VALUE
_wrap_svn_diff_file_options_t_ignore_eol_style_set(int argc, VALUE *argv, VALUE self) {
struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ;
svn_boolean_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_file_options_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_file_options_t *","ignore_eol_style", 1, self ));
}
arg1 = (struct svn_diff_file_options_t *)(argp1);
arg2 = RTEST(argv[0]);
if (arg1) (arg1)->ignore_eol_style = arg2;
return Qnil;
fail:
return Qnil;
}
SWIGINTERN VALUE
_wrap_svn_diff_file_options_t_ignore_eol_style_get(int argc, VALUE *argv, VALUE self) {
struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
svn_boolean_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_svn_diff_file_options_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct svn_diff_file_options_t *","ignore_eol_style", 1, self ));
}
arg1 = (struct svn_diff_file_options_t *)(argp1);
result = (svn_boolean_t) ((arg1)->ignore_eol_style);
vresult = result ? Qtrue : Qfalse;
return vresult;
fail:
return Qnil;
}
SWIGINTERN VALUE
_wrap_svn_diff_file_options_t_show_c_function_set(int argc, VALUE *argv, VALUE self) {
struct svn_diff_file_options_t *arg1 = (struct svn_diff_file_options_t *) 0 ;
src/subversion/subversion/bindings/swig/ruby/core.c view on Meta::CPAN
rb_define_module_function(mCore, "svn_prop_is_known_svn_file_prop", _wrap_svn_prop_is_known_svn_file_prop, -1);
rb_define_module_function(mCore, "svn_prop_is_known_svn_dir_prop", _wrap_svn_prop_is_known_svn_dir_prop, -1);
rb_define_module_function(mCore, "svn_prop_needs_translation", _wrap_svn_prop_needs_translation, -1);
rb_define_module_function(mCore, "svn_categorize_props", _wrap_svn_categorize_props, -1);
rb_define_module_function(mCore, "svn_prop_diffs", _wrap_svn_prop_diffs, -1);
rb_define_module_function(mCore, "svn_prop_name_is_valid", _wrap_svn_prop_name_is_valid, -1);
rb_define_const(mCore, "SVN_PROP_PREFIX", SWIG_FromCharPtr("svn:"));
rb_define_const(mCore, "SVN_PROP_BOOLEAN_TRUE", SWIG_FromCharPtr("*"));
rb_define_const(mCore, "SVN_PROP_MIME_TYPE", SWIG_FromCharPtr("svn:mime-type"));
rb_define_const(mCore, "SVN_PROP_IGNORE", SWIG_FromCharPtr("svn:ignore"));
rb_define_const(mCore, "SVN_PROP_EOL_STYLE", SWIG_FromCharPtr("svn:eol-style"));
rb_define_const(mCore, "SVN_PROP_KEYWORDS", SWIG_FromCharPtr("svn:keywords"));
rb_define_const(mCore, "SVN_PROP_EXECUTABLE", SWIG_FromCharPtr("svn:executable"));
rb_define_const(mCore, "SVN_PROP_EXECUTABLE_VALUE", SWIG_FromCharPtr("*"));
rb_define_const(mCore, "SVN_PROP_NEEDS_LOCK", SWIG_FromCharPtr("svn:needs-lock"));
rb_define_const(mCore, "SVN_PROP_NEEDS_LOCK_VALUE", SWIG_FromCharPtr("*"));
rb_define_const(mCore, "SVN_PROP_SPECIAL", SWIG_FromCharPtr("svn:special"));
rb_define_const(mCore, "SVN_PROP_SPECIAL_VALUE", SWIG_FromCharPtr("*"));
rb_define_const(mCore, "SVN_PROP_EXTERNALS", SWIG_FromCharPtr("svn:externals"));
rb_define_const(mCore, "SVN_PROP_MERGEINFO", SWIG_FromCharPtr("svn:mergeinfo"));
rb_define_const(mCore, "SVN_PROP_INHERITABLE_AUTO_PROPS", SWIG_FromCharPtr("svn:auto-props"));
src/subversion/subversion/bindings/swig/ruby/core.c view on Meta::CPAN
rb_define_const(mCore, "Svn_diff_file_ignore_space_none", SWIG_From_int((int)(svn_diff_file_ignore_space_none)));
rb_define_const(mCore, "Svn_diff_file_ignore_space_change", SWIG_From_int((int)(svn_diff_file_ignore_space_change)));
rb_define_const(mCore, "Svn_diff_file_ignore_space_all", SWIG_From_int((int)(svn_diff_file_ignore_space_all)));
SwigClassSvn_diff_file_options_t.klass = rb_define_class_under(mCore, "Svn_diff_file_options_t", rb_cObject);
SWIG_TypeClientData(SWIGTYPE_p_svn_diff_file_options_t, (void *) &SwigClassSvn_diff_file_options_t);
rb_define_alloc_func(SwigClassSvn_diff_file_options_t.klass, _wrap_svn_diff_file_options_t_allocate);
rb_define_method(SwigClassSvn_diff_file_options_t.klass, "initialize", _wrap_new_svn_diff_file_options_t, -1);
rb_define_method(SwigClassSvn_diff_file_options_t.klass, "ignore_space=", _wrap_svn_diff_file_options_t_ignore_space_set, -1);
rb_define_method(SwigClassSvn_diff_file_options_t.klass, "ignore_space", _wrap_svn_diff_file_options_t_ignore_space_get, -1);
rb_define_method(SwigClassSvn_diff_file_options_t.klass, "ignore_eol_style=", _wrap_svn_diff_file_options_t_ignore_eol_style_set, -1);
rb_define_method(SwigClassSvn_diff_file_options_t.klass, "ignore_eol_style", _wrap_svn_diff_file_options_t_ignore_eol_style_get, -1);
rb_define_method(SwigClassSvn_diff_file_options_t.klass, "show_c_function=", _wrap_svn_diff_file_options_t_show_c_function_set, -1);
rb_define_method(SwigClassSvn_diff_file_options_t.klass, "show_c_function", _wrap_svn_diff_file_options_t_show_c_function_get, -1);
SwigClassSvn_diff_file_options_t.mark = 0;
SwigClassSvn_diff_file_options_t.destroy = (void (*)(void *)) free_svn_diff_file_options_t;
SwigClassSvn_diff_file_options_t.trackObjects = 0;
rb_define_module_function(mCore, "svn_diff_file_options_parse", _wrap_svn_diff_file_options_parse, -1);
rb_define_module_function(mCore, "svn_diff_file_diff_2", _wrap_svn_diff_file_diff_2, -1);
rb_define_module_function(mCore, "svn_diff_file_diff", _wrap_svn_diff_file_diff, -1);
rb_define_module_function(mCore, "svn_diff_file_diff3_2", _wrap_svn_diff_file_diff3_2, -1);
rb_define_module_function(mCore, "svn_diff_file_diff3", _wrap_svn_diff_file_diff3, -1);
src/subversion/subversion/bindings/swig/ruby/svn/client.rb view on Meta::CPAN
props[Svn::Core::PROP_REVISION_DATE] =
Time.from_svn_format(props[Svn::Core::PROP_REVISION_DATE])
end
[props, rev]
end
alias rplist revprop_list
alias rpl revprop_list
def export(from, to, rev=nil, peg_rev=nil,
force=false, ignore_externals=false,
depth=nil, native_eol=nil)
Client.export4(from, to, rev, peg_rev, force,
ignore_externals, depth, native_eol, self)
end
def ls(path_or_uri, rev=nil, peg_rev=nil, recurse=false)
rev ||= URI(path_or_uri).scheme ? "HEAD" : "BASE"
peg_rev ||= rev
Client.ls3(path_or_uri, rev, peg_rev, recurse, self)
end
# Invokes block once for each path below +path_or_uri+ at +rev+
# and returns +nil+.
src/subversion/subversion/bindings/swig/ruby/test/test_core.rb view on Meta::CPAN
latest.path,
options)
assert_equal(normalize_line_break(expected), diff.merge)
end
def test_diff_file_options
args = ["--ignore-all-space"]
options = Svn::Core::DiffFileOptions.parse(*args)
assert_equal(Svn::Core::DIFF_FILE_IGNORE_SPACE_ALL,
options.ignore_space)
assert_false(options.ignore_eol_style)
args = ["--ignore-space-change"]
options = Svn::Core::DiffFileOptions.parse(*args)
assert_equal(Svn::Core::DIFF_FILE_IGNORE_SPACE_CHANGE,
options.ignore_space)
assert_false(options.ignore_eol_style)
args = ["--ignore-space-change", "--ignore-eol-style"]
options = Svn::Core::DiffFileOptions.parse(*args)
assert_equal(Svn::Core::DIFF_FILE_IGNORE_SPACE_CHANGE,
options.ignore_space)
assert_true(options.ignore_eol_style)
options = Svn::Core::DiffFileOptions.parse(args)
assert_equal(Svn::Core::DIFF_FILE_IGNORE_SPACE_CHANGE,
options.ignore_space)
assert_true(options.ignore_eol_style)
end
def test_create_commit_info
info = Svn::Core::CommitInfo.new
now = Time.now.gmtime
date_str = now.strftime("%Y-%m-%dT%H:%M:%S")
date_str << ".#{now.usec}Z"
info.date = date_str
if RUBY_VERSION > '1.9'
# ruby 1.9 Time comparison gets into the nano-seconds, strftime
src/subversion/subversion/bindings/swig/ruby/test/test_wc.rb view on Meta::CPAN
Svn::Wc::AdmAccess.open(nil, @wc_path, true, -1) do |access|
assert(Svn::Wc.locked?(@wc_path))
end
assert(!Svn::Wc.locked?(@wc_path))
Svn::Wc::AdmAccess.open(nil, @wc_path, false, -1) do |access|
assert(!Svn::Wc.locked?(@wc_path))
end
assert(!Svn::Wc.locked?(@wc_path))
end
def assert_translated_eol(method_name)
src_file = "src"
crlf_file = "crlf"
cr_file = "cr"
lf_file = "lf"
src_path = File.join(@wc_path, src_file)
crlf_path = File.join(@wc_path, crlf_file)
cr_path = File.join(@wc_path, cr_file)
lf_path = File.join(@wc_path, lf_file)
source = "a\n"
src/subversion/subversion/bindings/swig/ruby/test/test_wc.rb view on Meta::CPAN
File.open(crlf_path, "w") {}
File.open(cr_path, "w") {}
File.open(lf_path, "w") {}
log = "log"
make_context(log) do |ctx|
ctx.add(crlf_path)
ctx.add(cr_path)
ctx.add(lf_path)
ctx.prop_set("svn:eol-style", "CRLF", crlf_path)
ctx.prop_set("svn:eol-style", "CR", cr_path)
ctx.prop_set("svn:eol-style", "LF", lf_path)
ctx.ci(crlf_path)
ctx.ci(cr_path)
ctx.ci(lf_path)
Svn::Wc::AdmAccess.open(nil, @wc_path, true, 5) do |access|
_my_assert_block do
File.open(src_path, "wb") {|f| f.print(source)}
args = [method_name, src_path, crlf_path, Svn::Wc::TRANSLATE_FROM_NF]
result = yield(access.send(*args), source)
result ||= File.open(src_path, "rb") {|f| f.read}
src/subversion/subversion/bindings/swig/ruby/test/test_wc.rb view on Meta::CPAN
File.open(src_path, "wb") {|f| f.print(source)}
args = [method_name, src_path, lf_path, Svn::Wc::TRANSLATE_FROM_NF]
result = yield(access.send(*args), source)
result ||= File.open(src_path, "rb") {|f| f.read}
assert_equal(lf_source, result)
end
end
end
end
def test_translated_file_eol
assert_translated_eol(:translated_file) do |name, source|
File.open(name, "rb") {|f| f.read}
end
end
def test_translated_file2_eol
assert_translated_eol(:translated_file2) do |file, source|
result = file.read
file.close
result
end
end
def test_translated_stream_eol
assert_translated_eol(:translated_stream) do |stream, source|
if source
stream.write(source)
stream.close
nil
else
stream.read
end
end
end
src/subversion/subversion/bindings/swig/svn_client.i view on Meta::CPAN
/* -----------------------------------------------------------------------
%apply-ing of typemaps defined elsewhere
*/
%apply Pointer NONNULL {
const svn_opt_revision_t *revision,
const svn_opt_revision_t *peg_revision
};
%apply const char *MAY_BE_NULL {
const char *native_eol,
const char *comment,
const char *relative_to_dir
};
#ifdef SWIGRUBY
%apply apr_hash_t *HASH_CSTRING_MAYBENULL {
apr_hash_t *mimetypes_map
}
#endif
src/subversion/subversion/include/private/svn_cmdline_private.h view on Meta::CPAN
command to use, overriding anything else that might determine the
editor.
If TMPFILE_LEFT is NULL, the temporary file will be destroyed.
Else, the file will be left on disk, and its path returned in
*TMPFILE_LEFT.
CONFIG is a hash of svn_config_t * items keyed on a configuration
category (SVN_CONFIG_CATEGORY_CONFIG et al), and may be NULL.
If AS_TEXT is TRUE, recode CONTENTS and convert to native eol-style before
editing and back again afterwards. In this case, ENCODING determines the
encoding used during editing. If non-NULL, use the named encoding, else
use the system encoding. If AS_TEXT is FALSE, don't do any translation.
In that case, ENCODING is ignored.
Use POOL for all allocations. Use PREFIX as the prefix for the
temporary file used by the editor.
If return error, *EDITED_CONTENTS is not touched. */
svn_error_t *