Alien-SVN

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

src/subversion/subversion/svn/mergeinfo-cmd.c
src/subversion/subversion/svn/mkdir-cmd.c
src/subversion/subversion/svn/move-cmd.c
src/subversion/subversion/svn/notify.c
src/subversion/subversion/svn/patch-cmd.c
src/subversion/subversion/svn/propdel-cmd.c
src/subversion/subversion/svn/propedit-cmd.c
src/subversion/subversion/svn/propget-cmd.c
src/subversion/subversion/svn/proplist-cmd.c
src/subversion/subversion/svn/props.c
src/subversion/subversion/svn/propset-cmd.c
src/subversion/subversion/svn/relocate-cmd.c
src/subversion/subversion/svn/resolve-cmd.c
src/subversion/subversion/svn/resolved-cmd.c
src/subversion/subversion/svn/revert-cmd.c
src/subversion/subversion/svn/schema/blame.rnc
src/subversion/subversion/svn/schema/common.rnc
src/subversion/subversion/svn/schema/diff.rnc
src/subversion/subversion/svn/schema/info.rnc
src/subversion/subversion/svn/schema/list.rnc
src/subversion/subversion/svn/schema/log.rnc

src/subversion/CHANGES  view on Meta::CPAN

    * ra_serf avoids re-downloading content present in pristine store (r1333936)
    * 'svn mergeinfo' now honors the --revision (-r) option (issue #4199)
    * 'svn mergeinfo' now shows a summary graph by default (issue #4239)
    * new --search and --search-and options for 'svn log' (r1354666, -83518)
    * 'svn log' reports the node kind even for pre-1.6 revision files (r1242958)
    * sort path list generated by "svn log -v --xml" (r1299323)
    * new built-in interactive text conflict merge tool (r1357864, et al)
    * 'svn --version' shows build system info (r1368662)
    * 'svn --version --verbose' shows runtime environment info (r1370813 et al)
    * 'svn' is now non-interactive when not run in a terminal device (r1424037)
    * 'svn propset' checks spelling of reserved property names (r1470781)
    * improve working copy performance on network disks (issue #4176) 
    * support for custom keyword definitions in svn:keywords (issue #890)
    * svn:ignore __pycache__ directories by default (r1150073)
    * 'svn diff --git' include copyfrom revision in "copied" headers (r1155279)
    * svn:mergeinfo related operations now use much less memory (r1149519 et al)
    * get list of supported schemes for RA libraries (r1148134)
    * 'svn checkout' skips file externals from other repositories (r1153110)
    * 'svn resolve' exits non-zero if conflicts could not be resolved (r1150439)
    * let HTTPv2-aware clients fetch v2-style resources (r1161202)
    * 'svn status' with better NLS support (r1157537, -682)

src/subversion/CHANGES  view on Meta::CPAN

    * 'svn info' displays repository-relative URL (r1415365)
    * fix serf memory leak on checkout (issue #4194)
    * detect duplicate paths setting svn:externals (issue #4227)
    * make ra_serf work over HTTP/1.0 proxies (issue #3979)
    * make ra_serf accept gzip compression for all responses (r1407454)
    * double ra_serf performance for checkout and export (r1407545)
    * improve network and disk i/o interleaving in ra_serf (r1407934)
    * avoid assert in ra_serf when REPORT response was truncated (r1407935)
    * rewrite ra_serf XML parser (r1409259 et al)
    * ra_serf can create transaction with inline txnprops (r1375167)
    * partially fix replace+propset of locked file fails over DAV (issue #3674)
    * fix ra_serf doesn't handle bad baseline error from server (issue #4127)
    * decreased default http timeout for ra_serf (issue #3968)
    * prevent ra_serf from corrupting the working copy (issue #3993)
    * ra_serf transmits property changes inline to reduce requests (r1378927)
    * by default avoid SSL certificate prompts in client (issue #2410)
    * improve interactive resolution of property conflicts (r1387678 et al)
    * make ra_serf raise an error upon delta-base mismatch (issue #4235)
    * tune ra_svn transmit buffer handling (r1391788)
    * make 'svnrdump' work with serf (issue #4116)
    * fix 'svnrdump' on path below repository root (issue #4101)

src/subversion/CHANGES  view on Meta::CPAN

    * improve error messages when wc.db missing (issue #4118)
    * fix 'svn diff' showing wrong text change (issue #4270)
    * fix 'svn diff -rN' failing to show local replace (issue #3797)
    * fix 'svn diff' showing wrong revision (issue #4010)
    * fix 'svn merge' showing spurious notifications (issue #2910)
    * parse '.@HEAD' correctly (issue #3606)
    * fix 'svn revert' after conflict in sparse working copy (issue #4168)
    * fix bug in global/per-server config handling in serf (r1421516)
    * properly display errors from serf (r1398742)
    * fix crash in ra_serf (r1408291)
    * fixed svnmucc propset and propdel on repository root (issue #3663)
    * fix 'svn info' output with ancient svnserve servers (pre-1.2) (r1409732)
    * ra_serf shows error message for 408 Request Timeout response (r1410983)
    * fix handling of "\ No newline ..." in diff/patch (r1411723, r1412382)
    * allow infinite http timeout in ra_serf (r1411976)
    * using unknown svn: property names now requires --force (issue #4261)
    * fix handling of case insensitive configuration files (r1215089)
    * properly handle errors during password caching (r1380695)
    * fix svnversion output not always a number (issue #4226)
    * fix conflict resolver losing executable bit of a file (r1391019)
    * fix redundant notifications when merging with ra_serf (issue #3802)

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


  - Client-side bugfixes:
    * avoid potential segfault when canonicalizing properties (r1296369)
    * improve memory and file-handle management with externals (issue #4130)
    * serf: convert assertions to "MERGE failed" errors (r1302417)
    * fix undefined behaviour during multi-segment reverse merges (issue #4144)
    * fix potential use of already freed memory during diff operation (r1311935)
    * improve performance of scan for the working copy root (r1306334)
    * cmdline: fix segfault during 'svn diff' argument processing (r1311702)
    * fix regression from 1.6 in update with --depth option (issue #4136)
    * propset: avoid undefined behaviour in error path (r1325361)
    * reset sqlite statements, partly for sqlite-3.7.11 compat (r1328846, et al)
    * fix assertion during 'svn diff -r BASE:HEAD ^/trunk' (issue #4161)
    * notify upon 'update' just removing locks on files (r1329876)
    * neon: fix potential use of freed memory during commits (r1329388)
    * 'status --xml' doesn't show repository deletes correctly (issue #4167)
    * fix assert on svn:externals with drive letter on Windows (issue #4073)
    * fix 'svn update --depth=empty' against 1.4 servers (issue #4046)
    * handle missing svn:date reported by svnserve gracefully (r1306111)
    * fix merges which first add a subtree and then delete it (issue #4166)
    * fix a regression with checkout of file externals (issue #4087)

src/subversion/CHANGES  view on Meta::CPAN

   * don't overwrite the LD_LIBRARY_PATH during make check-swig-pl (r946355)
   * improve unit tests for some fs functions (r1051744, -5, -3185, -241)


Version 1.6.15
(26 Nov 2010, from /branches/1.6.x)
http://svn.apache.org/repos/asf/subversion/tags/1.6.15

  User-visible changes:
   * hide unreadable dirs in mod_dav_svn's GET response (r996884)
   * make 'svnmucc propsetf' actually work (r1005446)
   * limit memory fragmentation in svnserve (r1022675)
   * fix 'svn export' regression from 1.6.13 (r1032970)
   * fix 'svn export' mistakenly uri-encodes paths (issue #3745)
   * fix server-side memory leaks triggered by 'blame -g' (r1032808)
            This has been tracked as CVE-2010-4644
   * prevent crash in mod_dav_svn when using SVNParentPath (r1033166)
            This has been tracked as CVE-2010-4539
   * allow 'log -g' to continue in the face of invalid mergeinfo (issue #3270)
   * filter unreadable paths for 'svn ls' and 'svn co' (r997026, -070, -474)
   * fix abort in 'svn blame -g' (issue #3666)

src/subversion/CHANGES  view on Meta::CPAN

   * fsfs: make rev files read-only (r981921)
   * properly canonicalize a URL (r984928, -31)
   * fix wc corruption with 'commit --depth=empty' (issue #3700)
   * permissions fixes when doing reintegrate merges (related to issue #3242)
   * fix mergeinfo miscalculation during 2-url merges (issue #3648)
   * fix error transmission problems in svnserve (r997457, -66)
   * 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

src/subversion/CHANGES  view on Meta::CPAN

    * '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
    * 'svnmucc' now now takes '--non-interactive' option (r25977)
    * 'svnmucc' now takes a global base revision, for extra safety (r23764)
    * 'svnlook' now takes '--extensions' option (issue #2912)
    * 'svnlook' now takes '-N' option (issue #2663)
    * 'svnlook history' now takes '-l' / '--limit' option (r25843)
    * 'svnserve' now takes '--config-file' option (r24119)
    * 'mod_dav_svn' now uses Apache default mime-type for files (issue #2304)
    * new '--with-revprop' option on all commands that commit (issue #1976)
    * now accept "peg dates" (URL@{DATE}), behaving like peg revs (issue #2602)

src/subversion/CHANGES  view on Meta::CPAN

    * improved cancellation response in many situations
    * support Neon up to 0.28
    * character set conversion now uses native API on Windows (r25650)
    * HTTP authn protocol now configurable (for Neon 0.26 and higher) (r21531)
    * http:// (over Neon) supports HTTP redirection / relocation (issue #660)
    * support PKCS#11-provided (smartcard) SSL client certs with Neon (r29421)
    * authz now supports aliases (r21982)
    * authz token rules for authenticated-only, anonymous, and inverse (r23750)
    * mailer.py now supports properties in commit messages (r21684)
    * ra_serf now supports NTLM/SSPI authentication (issue #2900)
    * warn if try to turn off boolean property via propset/propedit (r25486)
    * display repository basename in XML and HTML index views (r25837, r25838)
    * config 'http-auth-type' can be overridden to force BASIC auth (r23900)
    * translation updates for all languages, as usual
    * Revamp mod_dav_svn logging; see tools/server-side/svn_dav_log_parse.py
    * misleading configure arg --enable-dso now --enable-runtime-module-search

  - Client-side bugfixes:
    * 'svn revert' of missing scheduled addition broke wc (issue #2425)
    * 'svn export' should export svn:externals from local copies (issue #2429)
    * 'svn status -uN' should show status of files (issue #2468)

src/subversion/CHANGES  view on Meta::CPAN

    * 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)
    * warn when used on old checkout without a repository root entry (r25168)
    * merge to missing file target wrongly appeared to succeed (issue #2782)
    * 'svn merge URL PATH -cX' could cause property corruption (issue #2781)
    * URL parsing now consistently checks for error earlier (issue #2207)

src/subversion/CHANGES  view on Meta::CPAN

    * performance improvements:
       - 'svn status' does much less disk parsing (r11677, 11704)
       - 'svn st -u' no longer asks server to generate textdeltas (issue #2259)
       - 'svn revert -R' doing much less work (r13883)
       - utf8<->native conversions are faster now (issue #2016)
    * new switches added:
       - 'svn commit --no-unlock           - retain lock in wc upon commit
       - 'svn log --limit N'               - show only first N log messages
       - 'svn info --revision'             - show info on older object (r13265)
       - 'svn list --xml'                  - output listing in XML
       - 'svn propset --force'             - allow unusual propsets (#2065)
       - 'svn diff --force'                - show diffs on binary files (#2099)
       - 'svn co/up/st --ignore-externals' - skip over externals (#2189)
       - 'svn export --non-recursive'      - don't export subdirs (issue #2228)
       - 'svnversion --help'               - show help (r13128)
    * fixed: 'svn merge' fails to add symlinks or expand keywords (issue #2064)
    * fixed: 'svn merge --dry-run' shows spurious 'skip' messages (issue #1943)
    * fixed: 'svn merge' file-not-found' error (issue #1673)
    * fixed: 'svn merge' of propchanges into deleted file (issue #2132)
    * fixed: 'svn merge' on implicit target with space (r13010)
    * fixed: 'svn merge/diff URL URL' can cause httpd timeout (issue #2048)

src/subversion/CHANGES  view on Meta::CPAN

    * fixed: 'svn log' in r0 working copy shows r1 log msg (issue #1950) 
    * fixed: 'svn export' bugs on deleted dirs or nonexistents (#2226, r13226) 
    * fixed: 'svn export' on single file from working copy (issue #1708)
    * fixed: 'svn import' creating an empty revision (r14293)
    * fixed: 'svn commit' ignores --encoding when editing externally (#2244)
    * fixed: 'svn commit' log message lost if utf8-conversion failure (r13230)
    * fixed: 'svn diff' output encoding bug (r11461)
    * fixed: 'svn diff' showing prop-diffs on repos root dir (r13381-2)
    * fixed: 'svn diff' label reversal (issue #2033)
    * fixed: 'svn propget' prints extra newline in --strict mode (r14505)
    * fixed: 'svn propset' should skip unversioned files (#2030)
    * fixed: 'svn rm URL1 URL2 URL3...' huge memory usage (issue #2218)
    * fixed: 'svn mkdir' cleanup after failure (r11883)
    * fixed: 'svn status -u' crash in non-recursive wc's (issue #2122)
    * fixed: 'svn revert' should skip unversioned items (issues #2030, 2133)
    * fixed: 'svn revert' should suggest --recursive (issue #2114)
    * fixed: 'svn add/import' better detects invalid paths (issue #1954)
    * fixed: 'svn cleanup' should repair timestamps (r12012)
    * fixed: 'svn cat -rBASE' contacts repository (issue #1361)
    * fixed: fuzzily escape control-characters when sending over dav (#2147)
    * fixed: prevent client from manipulating svn:wc:* properties (r12523)

src/subversion/CHANGES  view on Meta::CPAN

 * fixed: utf8 conversion 'hang' (r9233)
 * fixed: missing UTF8->native recoding in 'svn log' output (r10652, 10673)
 * fixed: 'svn blame' now defaults to  rev (r9440)
 * fixed: 'svn blame' closing files before deleting them (issue #1969)
 * fixed: 'svn diff' shows truncated paths (r9693)
 * fixed: 'svn diff --notice-ancestry' bug (r9699)
 * fixed: 'svn subcommand -r{DATE} URL' works if URL not in HEAD (issue #1840) 
 * fixed: 'svn blame' on non-ascii path truncation (issue #1770)
 * fixed: svn:external 'wc not locked' bug (issue #1897)
 * fixed: proper mod_dav_svn html/xml escaping (issue #1209)
 * fixed: memleak in 'svn propset -R URL' (issue #1928)
 * fixed: stop 'svn up' from deleting schedule-add target dir (issue #1793)
 * fixed: 'svn merge' adding a directory already 'deleted' (issue #1769)
 * fixed: excessive memory use when fs deltifies revision 2^N (r10070)
 * fixed: disallow non-recursive directory commit (issue #1797)
 * fixed: allow propget of props with colon in name (issue #1807)
 * fixed: 'svnadmin load' computation of copyfrom-rev (issue #1795)
 * fixed: runtime config files created with proper line-endings (issue #1803)
 * fixed: make svnserve's authn work on usernames with spaces (r10385)
 * fixed: have svnserve use repos UUID as default authn realm (r10394)
 * fixed: segfault when history-following hits 'empty' revision (r10368)

src/subversion/CHANGES  view on Meta::CPAN



Version 1.0.2
(15 April 2004, from /branches/1.0.x)
http://svn.apache.org/repos/asf/subversion/tags/1.0.2

 User-visible changes:
 * fixed: segfault when remotely deleting svn:author property.
 * fixed: mod_dav_svn accepting too many authors. (issue #1786)
 * fixed: create runtime config files with native EOLs. (Issue #1802)
 * fixed: recursive propset can corrupt .svn/entries (issue #1794)
 * fixed: allow shared working copies [mostly working now] (issue #1509)
 * fixed: mod_authz_svn should ignore uri on MERGE request (partial #1821)
 * fixed: svnserve assertion failure on empty error messages
 * fixed: commit/update memory leaks when working on many targets (issue #1635)
 * fixed: don't display repos-paths or URLs with '\' on win32.
 * new example script:  svnserve 'sgid' wrapper.
 * minor book fixes, new 'best-practices' doc.

 Developer-visible changes:
 * fixed: deprecation warning from SWIG 1.3.20_

src/subversion/CHANGES  view on Meta::CPAN

 * new --incremental option to 'svn log'
 * new -r {date} syntax for specifying dated revs; works over network too.
 * automatically set svn:executable prop when adding or importing (#870)
 * initial $EDITOR text now ignores all log data below special token
 * consistify behavior of text & prop columns in 'svn status' output.
 * .svn/auth/* files now chmod 700, to stop scaring people.  :-)
 * improved labels in 'svn diff' output (#936)
 * run-time adjustable neon timeout in newly renamed 'servers' config file
 * big improvements to cvs2svn script:  bugfixes and basic branch/tag support
 * new python access-control hook script
 * no more implicit dot-target for 'svn propedit' or 'svn propset' (#924)
 * Win32 improvements:
    - use system-wide config-file/registry
    - run-time configurable diff/diff3 binary locations (#668)
 * remove obsolete --xml-file support
 * Handbook is now ported to Docbook, 2 new chapters.

 Developer-visible changes:
 * abstracted option/help-parsing code, now shared between svn and svnadmin
 * require apache 2.0.42
 * use neon 0.23.5: fix XML entity derefs, SSL server certs, HP-UX build, etc.

src/subversion/CHANGES  view on Meta::CPAN

 * new 'svn ls' command
 * new 'svn st --no-ignore' option
 * new 'svn --version --quiet' option
 * more conservative 'svn help' usage error-message
 * more graceful degradation from charset conversion failure
 * standardize policy of -q switch behavior
 * less intimidating error output
 * new SVNParentPath directive for mod_dav_svn <Location>s
 * svnlook now correctly displays copied subtrees
 * Handbook: additions, tweaks, cleanups, and new French Translation :-)
 * svn_load_dirs.pl: auto propset on files matching specified regex, bug fixes

 Developer-visible changes:
 * integrated the delta-combiner! (issue #531)
 * integration of libsvn_wc-baton-locking branch (issue #749)
 * new "skip-deltas" added to delta-combiner
 * properly URI-encode/decode path components throughout our code
 * RA->do_diff() made independent from RA->do_switch().
 * stricter setting/parsing of svn:mime-type property in client and server.
 * new 'install-static' make target
 * extend SWIG bindings to libsvn_wc and libsvn_client

src/subversion/build-outputs.mk  view on Meta::CPAN

subversion/tests/libsvn_fs_base/strings-reps-test$(EXEEXT): $(strings_reps_test_DEPS)
	cd subversion/tests/libsvn_fs_base && $(LINK) $(strings_reps_test_LDFLAGS) -o strings-reps-test$(EXEEXT)  $(strings_reps_test_OBJECTS) ../../../subversion/tests/libsvn_test-1.la ../../../subversion/libsvn_fs/libsvn_fs-1.la ../../../subversion/libsvn...

subst_translate_test_PATH = subversion/tests/libsvn_subr
subst_translate_test_DEPS =  subversion/tests/libsvn_subr/subst_translate-test.lo subversion/tests/libsvn_test-1.la subversion/libsvn_subr/libsvn_subr-1.la
subst_translate_test_OBJECTS = subst_translate-test.lo
subversion/tests/libsvn_subr/subst_translate-test$(EXEEXT): $(subst_translate_test_DEPS)
	cd subversion/tests/libsvn_subr && $(LINK) $(subst_translate_test_LDFLAGS) -o subst_translate-test$(EXEEXT)  $(subst_translate_test_OBJECTS) ../../../subversion/tests/libsvn_test-1.la ../../../subversion/libsvn_subr/libsvn_subr-1.la $(SVN_APRUTIL_LI...

svn_PATH = subversion/svn
svn_DEPS =  subversion/svn/add-cmd.lo subversion/svn/blame-cmd.lo subversion/svn/cat-cmd.lo subversion/svn/changelist-cmd.lo subversion/svn/checkout-cmd.lo subversion/svn/cl-conflicts.lo subversion/svn/cleanup-cmd.lo subversion/svn/commit-cmd.lo subv...
svn_OBJECTS = add-cmd.lo blame-cmd.lo cat-cmd.lo changelist-cmd.lo checkout-cmd.lo cl-conflicts.lo cleanup-cmd.lo commit-cmd.lo conflict-callbacks.lo copy-cmd.lo delete-cmd.lo deprecated.lo diff-cmd.lo export-cmd.lo file-merge.lo help-cmd.lo import-c...
subversion/svn/svn$(EXEEXT): $(svn_DEPS)
	cd subversion/svn && $(LINK) $(svn_LDFLAGS) -o svn$(EXEEXT)  $(svn_OBJECTS) ../../subversion/libsvn_client/libsvn_client-1.la ../../subversion/libsvn_wc/libsvn_wc-1.la ../../subversion/libsvn_ra/libsvn_ra-1.la ../../subversion/libsvn_delta/libsvn_de...

svn_bench_PATH = tools/client-side/svn-bench
svn_bench_DEPS =  tools/client-side/svn-bench/help-cmd.lo tools/client-side/svn-bench/notify.lo tools/client-side/svn-bench/null-export-cmd.lo tools/client-side/svn-bench/null-list-cmd.lo tools/client-side/svn-bench/null-log-cmd.lo tools/client-side/...
svn_bench_OBJECTS = help-cmd.lo notify.lo null-export-cmd.lo null-list-cmd.lo null-log-cmd.lo svn-bench.lo util.lo
tools/client-side/svn-bench/svn-bench$(EXEEXT): $(svn_bench_DEPS)
	cd tools/client-side/svn-bench && $(LINK) $(svn_bench_LDFLAGS) -o svn-bench$(EXEEXT)  $(svn_bench_OBJECTS) ../../../subversion/libsvn_client/libsvn_client-1.la ../../../subversion/libsvn_wc/libsvn_wc-1.la ../../../subversion/libsvn_ra/libsvn_ra-1.la...

svn_populate_node_origins_index_PATH = tools/server-side

src/subversion/build-outputs.mk  view on Meta::CPAN

subversion/svn/propdel-cmd.lo: subversion/svn/propdel-cmd.c subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_client.h subversion/include/svn_cmdline.h subversion/include/svn...

subversion/svn/propedit-cmd.lo: subversion/svn/propedit-cmd.c subversion/include/private/svn_cmdline_private.h subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_client.h subv...

subversion/svn/propget-cmd.lo: subversion/svn/propget-cmd.c subversion/include/private/svn_cmdline_private.h subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_client.h subver...

subversion/svn/proplist-cmd.lo: subversion/svn/proplist-cmd.c subversion/include/private/svn_cmdline_private.h subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_client.h subv...

subversion/svn/props.lo: subversion/svn/props.c subversion/include/private/svn_cmdline_private.h subversion/include/private/svn_debug.h subversion/include/private/svn_string_private.h subversion/include/svn_auth.h subversion/include/svn_base64.h subv...

subversion/svn/propset-cmd.lo: subversion/svn/propset-cmd.c subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_client.h subversion/include/svn_cmdline.h subversion/include/svn...

subversion/svn/relocate-cmd.lo: subversion/svn/relocate-cmd.c subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_client.h subversion/include/svn_cmdline.h subversion/include/s...

subversion/svn/resolve-cmd.lo: subversion/svn/resolve-cmd.c subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_client.h subversion/include/svn_cmdline.h subversion/include/svn...

subversion/svn/resolved-cmd.lo: subversion/svn/resolved-cmd.c subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_client.h subversion/include/svn_cmdline.h subversion/include/s...

subversion/svn/revert-cmd.lo: subversion/svn/revert-cmd.c subversion/include/private/svn_debug.h subversion/include/svn_auth.h subversion/include/svn_checksum.h subversion/include/svn_client.h subversion/include/svn_cmdline.h subversion/include/svn_c...

subversion/svn/status-cmd.lo: subversion/svn/status-cmd.c subversion/include/private/svn_debug.h subversion/include/private/svn_diff_tree.h subversion/include/private/svn_wc_private.h subversion/include/svn_auth.h subversion/include/svn_checksum.h su...

src/subversion/subversion/bindings/ctypes-python/csvn/txn.py  view on Meta::CPAN


           AUTOPROP_FUNC must be a function which accepts three
           arguments: (txn, path, kind)

           TXN is this transaction object.
           PATH is the path which was just added to the repository.
           KIND is either svn_node_file or svn_node_dir, depending
           on whether the newly added path is a file or a directory.

           If AUTOPROP_FUNC wants to set properties on PATH, it should
           call TXN.propset with the appropriate arguments.

           Note that AUTOPROP_FUNC is only called when new files or
           directories are added to the repository. It is not called,
           for example, when directories within the repository are moved
           or copied, since these copies are not new."""

        self.autoprop_func = autoprop_func

    def check_path(self, path, rev=None):
        """Check the status of PATH@REV. If PATH or any of its

src/subversion/subversion/bindings/ctypes-python/csvn/txn.py  view on Meta::CPAN

                message = ("Can't create directory '%s': "
                           "Path obstructed by file" % path)
            raise SubversionException(SVN_ERR_BAD_URL, message)

        parent.open(path, "ADD", svn_node_dir)

        # Trigger autoprop_func on new directory adds
        if self.autoprop_func:
            self.autoprop_func(self, path, svn_node_dir)

    def propset(self, path, key, value):
        """Set the property named KEY to VALUE on the specified PATH"""

        path = self.session._relative_path(path)

        kind, parent = self._check_path(path)

        if kind == svn_node_none:
            message = ("Can't set property on '%s': "
                       "No such file or directory" % path)
            raise SubversionException(SVN_ERR_BAD_URL, message)

        node = parent.open(path, "OPEN", kind)
        node.propset(key, value)

    def propdel(self, path, key):
        """Delete the property named KEY on the specified PATH"""

        path = self.session._relative_path(path)

        kind, parent = self._check_path(path)

        if kind == svn_node_none:
            message = ("Can't delete property on '%s': "

src/subversion/subversion/bindings/ctypes-python/csvn/txn.py  view on Meta::CPAN

                 copyfrom_rev = -1, local_path = None):
        self.path = path
        self.action = action
        self.kind = kind
        self.copyfrom_path = copyfrom_path
        self.copyfrom_rev = copyfrom_rev
        self.local_path = local_path
        self.ops = {}
        self.properties = {}

    def propset(self, key, value):
        """Set the property named KEY to VALUE on this file/dir"""
        self.properties[key] = value

    def propdel(self, key):
        """Delete the property named KEY on this file/dir"""
        self.properties[key] = None

    def open(self, path, action="OPEN", kind=svn_node_dir,
             copyfrom_path = None, copyfrom_rev = -1, local_path = None):
        if path in self.ops:

src/subversion/subversion/bindings/ctypes-python/csvn/wc.py  view on Meta::CPAN

        paths = self._build_path_list(paths)

        # The commit info shouldn't matter, this is a method of the WC
        # class, so it isn't intended for remote operations.
        info = POINTER(svn_commit_info_t)()

        svn_client_mkdir2(byref(info), paths, self.client, self.iterpool)

        self.iterpool.clear()

    def propset(self, propname, propval, target="", recurse=True,
                skip_checks=False):
        """Set propname to propval for target.

        Keyword arguments:
        propname -- name of property to be set
        propval -- value to set property to
        target -- path to set property for (default WC root)
        recurse -- if True and target is a directory the operation will recurse
            setting the property for the contents of that directory (default
            True)
        skip_checks -- if True, no sanity checks will be performed on propname
            (default False)"""

        svn_client_propset2(propname,
                            svn_string_create(propval, self.iterpool),
                            self._build_path(target), recurse, skip_checks,
                            self.client, self.iterpool)

        self.iterpool.clear()

    def proplist(self, target="", recurse=True):
        """List the values of the normal properties of target.

        Returns an array of svn_client_proplist_item_t objects.

src/subversion/subversion/bindings/ctypes-python/examples/example.py  view on Meta::CPAN

def ignore(path, kind):
    basename = os.path.basename(path)
    _, 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/ctypes-python/examples/mucc.py  view on Meta::CPAN


usage = """python mucc.py [OPTION]... [ACTION]...

Actions:
  cp REV URL1 URL2      copy URL1@REV to URL2
  mkdir URL             create new directory URL
  mv URL1 URL2          move URL1 to URL2
  rm URL                delete URL
  put SRC-FILE URL      add or modify file URL with contents copied
                        from SRC-FILE
  propset NAME VAL URL  Set property NAME on URL to value VAL
  propdel NAME URL      Delete property NAME from URL
"""

# Read and parse options
parser = OptionParser(usage=usage)
parser.add_option("-m", "--message", dest="message",
                  help="use MESSAGE as a log message")
parser.add_option("-F", "--file", dest="file",
                  help="read log message from FILE")
parser.add_option("-u", "--username", dest="username",

src/subversion/subversion/bindings/ctypes-python/examples/mucc.py  view on Meta::CPAN

states = None
ancestor = None

# A list of the arguments accepted by each command
cmds = {
    "cp": [ "rev", "url", "url" ],
    "mkdir": [ "url" ],
    "mv": [ "url", "url" ],
    "rm": [ "url" ],
    "put": [ "file", "url" ],
    "propset": [ "name", "val", "url" ],
    "propdel": [ "name", "url" ],
}

# Build up a list of the actions we want to perform
for arg in args:
    if not states:
        action = [arg]
        actions.append((arg, action))
        states = list(cmds[arg])
        states.reverse()

src/subversion/subversion/bindings/ctypes-python/examples/mucc.py  view on Meta::CPAN

        txn.copy(src_rev=args[1], src_path=args[2], dest_path=args[3])
    elif action == "mv":
        txn.delete(str(args[1]))
        txn.copy(src_path=args[1], dest_path=args[2])
    elif action == "rm":
        txn.delete(args[1])
    elif action == "mkdir":
        txn.mkdir(args[1])
    elif action == "put":
        txn.upload(local_path=args[1], remote_path=args[2])
    elif action == "propset":
        txn.propset(key=args[1], value=args[2], path=args[3])
    elif action == "propdel":
        txn.propdel(key=args[1], path=args[2])


# Get the log message
message = options.message
if options.file:
    message = open(options.file).read()

# Finally commit

src/subversion/subversion/bindings/ctypes-python/test/wc.py  view on Meta::CPAN

            self.fail("Export directory does not exist")
        else:
            shutil.rmtree(export_location)

    def test_propget(self):
        props = self.wc.propget("Awesome")
        path = "%s/trunk/README.txt" % wc_location
        if not path in props.keys():
            self.fail("File missing in propget")

    def test_propset(self):
        self.wc.propset("testprop", "testval", "branches/0.x/README.txt")
        props = self.wc.propget("testprop", "branches/0.x/README.txt")
        if not "%s/branches/0.x/README.txt" % wc_location in \
                props.keys():

            self.fail("Property not set")

    def test_update(self):
        path = "trunk/README.txt"
        results = self.wc.update([path], revnum=7)
        self.assertEqual(results[0], 7)

src/subversion/subversion/bindings/javahl/native/SVNClient.cpp  view on Meta::CPAN

      val = svn_string_ncreate
               (reinterpret_cast<const char *>(value.getBytes()),
                value.getLength(),
                subPool.getPool());

    svn_client_ctx_t *ctx = context.getContext(NULL, subPool);
    if (ctx == NULL)
        return;

    const apr_array_header_t *targetsApr = targets.array(subPool);
    SVN_JNI_ERR(svn_client_propset_local(name, val, targetsApr,
                                         depth, force,
                                         changelists.array(subPool),
                                         ctx, subPool.getPool()), );
}

void SVNClient::propertySetRemote(const char *path, long base_rev,
                                  const char *name,
                                  CommitMessage *message,
                                  JNIByteArray &value, bool force,
                                  RevpropTable &revprops,

src/subversion/subversion/bindings/javahl/native/SVNClient.cpp  view on Meta::CPAN

                value.getLength(),
                subPool.getPool());

    Path intPath(path, subPool);
    SVN_JNI_ERR(intPath.error_occurred(), );

    svn_client_ctx_t *ctx = context.getContext(message, subPool);
    if (ctx == NULL)
        return;

    SVN_JNI_ERR(svn_client_propset_remote(name, val, intPath.c_str(),
                                          force, base_rev,
                                          revprops.hash(subPool),
                                          CommitCallback::callback, callback,
                                          ctx, subPool.getPool()), );
}

void SVNClient::diff(const char *target1, Revision &revision1,
                     const char *target2, Revision &revision2,
                     Revision *pegRevision, const char *relativeToDir,
                     OutputStream &outputStream, svn_depth_t depth,

src/subversion/subversion/bindings/swig/include/svn_types.swg  view on Meta::CPAN

/* -----------------------------------------------------------------------
   Callback: svn_commit_callback2_t
   svn_ra get_commit_editor2()
   svn_repos_get_commit_editor4()
   svn_client_mkdir4() 
   svn_client_delete4() 
   svn_client_import4() 
   svn_client_commit5() 
   svn_client_copy6() 
   svn_client_move6() 
   svn_client_propset_remote() 
*/

#ifdef SWIGPERL
%typemap(in) (svn_commit_callback2_t commit_callback, void *commit_baton) {
    $1 = svn_swig_pl_thunk_commit_callback2;
    $2 = (void *)$input;
    svn_swig_pl_hold_ref_in_pool (_global_pool, $input);
};
#endif

src/subversion/subversion/bindings/swig/perl/native/Client.pm  view on Meta::CPAN

            diff_peg diff_peg2 diff_peg3 diff_peg4
            diff_summarize diff_summarize2 diff_summarize_dup
            diff_summarize_peg diff_summarize_peg2
            export export2 export3 export4 import import2 import3
            info info2 invoke_blame_receiver invoke_blame_receiver2
            invoke_diff_summarize_func list list2 lock
            log log2 log3 log4 log5 ls ls2 ls3
            merge merge2 merge3 merge_peg merge_peg2 merge_peg3
            mkdir mkdir2 mkdir3 mkdir4 move move2 move3 move4 move5
            open_ra_session propget propget2 propget3
            proplist proplist2 proplist3 propset propset2 propset3
            relocate remove_from_changelist resolve resolved
            revert revert2 revprop_get revprop_list revprop_set
            status status2 status3 status4 switch switch2
            unlock update update2 update3 update4
            url_from_path uuid_from_path uuid_from_url version
          );

    require SVN::Base;
    import SVN::Base (qw(Client svn_client_), @_all_fns);
}

src/subversion/subversion/bindings/swig/perl/native/Client.pm  view on Meta::CPAN

If $revision is undef, then get properties from the working copy, if
$target is a working copy, or from the repository head if $target is a URL.
Else get the properties as of $revision.

If $recursive is false, or $target is a file, the returned array will only
contain a single element.  Otherwise, it will contain one entry for each
versioned entry below (and including) $target.

If $target is not found, raises the $SVN::Error::ENTRY_NOT_FOUND error.

=item $client-E<gt>propset($propname, $propval, $target, $recursive, $pool);

Set $propname to $propval on $target (a working copy or URL path).

If $recursive is true, then $propname will be set recursively on $target
and all children.  If $recursive is false, and $target is a directory,
$propname will be set on B<only> $target.

A $propval of undef will delete the property.

If $propname is an svn-controlled property (i.e. prefixed with svn:),

src/subversion/subversion/bindings/swig/perl/native/Client.pm  view on Meta::CPAN


Returns the actual revision affected.  A $propval of undef will delete the
property.

If $force is true, allow newlines in the author property.

If $propname is an svn-controlled property (i.e. prefixed with svn:), then
the caller is responsible for ensuring that the value is UTF8-encoded and
uses LF line-endings.

Note that unlike its cousin $client-E<gt>propset(), this routine doesn't affect
the working copy at all; it's a pure network operation that changes an
B<unversioned> property attached to a revision.  This can be used to tweak
log messages, dates, authors, and the like.  Be careful: it's a lossy
operation, meaning that any existing value is replaced with the new value,
with no way to retrieve the prior value.

Also note that unless the administrator creates a pre-revprop-change hook
in the repository, this feature will fail.

=item $client-E<gt>status($path, $revision, \&status_func, $recursive, $get_all, $update, $no_ignore, $pool);

src/subversion/subversion/bindings/swig/perl/native/Client.pm  view on Meta::CPAN

        }

        if (ref($_[$#_]) eq '_p_apr_pool_t' ||
            ref($_[$#_]) eq 'SVN::Pool')
        {
            # if we got a pool passed to us we need to
            # leave it off until we add the ctx first
            # so we push only the first arg to the next
            # to last arg.
            push @args, @_[$[ .. ($#_ - 1)];
            unless ($function =~ /^(?:propset|url_from_path)$/)
            {
                # propset and url_from_path don't take a ctx argument
                push @args, $ctx;
            }
            push @args, $_[$#_];
        } else {
            push @args, @_;
            unless ($function =~ /^(?:propset|url_from_path)$/)
            {
                push @args,$ctx;
            }
            if (defined($self->{'pool'}) &&
                (ref($self->{'pool'}) eq '_p_apr_pool_t' ||
                 ref($self->{'pool'}) eq 'SVN::Pool'))
            {
                # allow the pool entry in the SVN::Client
                # object to override the default pool.
                push @args, $self->{'pool'};

src/subversion/subversion/bindings/swig/perl/native/Client.pm  view on Meta::CPAN

=item $client-E<gt>open_ra_session(...)

=item $client-E<gt>propget2(...)

=item $client-E<gt>propget3(...)

=item $client-E<gt>proplist2(...)

=item $client-E<gt>proplist3(...)

=item $client-E<gt>propset2(...)

=item $client-E<gt>propset3(...)

=item $client-E<gt>remove_from_changelist(...)

=item $client-E<gt>resolve(...)

=item $client-E<gt>revert2(...)

=item $client-E<gt>switch2(...)

=item $client-E<gt>unlock(...)

src/subversion/subversion/bindings/swig/perl/native/svn_client.c  view on Meta::CPAN

    
    if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
    
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_client_propset_remote) {
  {
    char *arg1 = (char *) 0 ;
    svn_string_t *arg2 = (svn_string_t *) 0 ;
    char *arg3 = (char *) 0 ;
    svn_boolean_t arg4 ;
    svn_revnum_t arg5 ;
    apr_hash_t *arg6 = (apr_hash_t *) 0 ;
    svn_commit_callback2_t arg7 = (svn_commit_callback2_t) 0 ;
    void *arg8 = (void *) 0 ;
    svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;

src/subversion/subversion/bindings/swig/perl/native/svn_client.c  view on Meta::CPAN

    void *argp9 = 0 ;
    int res9 = 0 ;
    int argvi = 0;
    svn_error_t *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg10 = svn_swig_pl_make_pool (ST(items-1));
    }
    if ((items < 8) || (items > 9)) {
      SWIG_croak("Usage: svn_client_propset_remote(propname,propval,url,skip_checks,base_revision_for_url,revprop_table,commit_callback,commit_baton,ctx,scratch_pool);");
    }
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_client_propset_remote" "', argument " "1"" of type '" "char const *""'");
    }
    arg1 = (char *)(buf1);
    {
      if (SvOK(ST(1))) {
        value2.data = SvPV(ST(1), value2.len);
        arg2 = &value2;
      }
      else {
        arg2 = NULL;
      }
    }
    res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_client_propset_remote" "', argument " "3"" of type '" "char const *""'");
    }
    arg3 = (char *)(buf3);
    ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_client_propset_remote" "', argument " "4"" of type '" "svn_boolean_t""'");
    } 
    arg4 = (svn_boolean_t)(val4);
    ecode5 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_client_propset_remote" "', argument " "5"" of type '" "svn_revnum_t""'");
    } 
    arg5 = (svn_revnum_t)(val5);
    {
      if (_global_pool == NULL)
      _global_pool = svn_swig_pl_make_pool((SV *)NULL);
      arg6 = svn_swig_pl_hash_to_prophash(ST(5), _global_pool);  
    }
    {
      arg7 = svn_swig_pl_thunk_commit_callback2;
      arg8 = (void *)ST(6);
      svn_swig_pl_hold_ref_in_pool (_global_pool, ST(6));
    }
    res9 = SWIG_ConvertPtr(ST(7), &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
    if (!SWIG_IsOK(res9)) {
      SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "svn_client_propset_remote" "', argument " "9"" of type '" "svn_client_ctx_t *""'"); 
    }
    arg9 = (svn_client_ctx_t *)(argp9);
    if (items > 8) {
      
    }
    {
      result = (svn_error_t *)svn_client_propset_remote((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5,(apr_hash_t const *)arg6,arg7,arg8,arg9,arg10);
      
      
      
    }
    {
      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_client.c  view on Meta::CPAN

    
    
    
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_client_propset_local) {
  {
    char *arg1 = (char *) 0 ;
    svn_string_t *arg2 = (svn_string_t *) 0 ;
    apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
    svn_depth_t arg4 ;
    svn_boolean_t arg5 ;
    apr_array_header_t *arg6 = (apr_array_header_t *) 0 ;
    svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
    apr_pool_t *arg8 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;

src/subversion/subversion/bindings/swig/perl/native/svn_client.c  view on Meta::CPAN

    void *argp7 = 0 ;
    int res7 = 0 ;
    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_client_propset_local(propname,propval,targets,depth,skip_checks,changelists,ctx,scratch_pool);");
    }
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_client_propset_local" "', argument " "1"" of type '" "char const *""'");
    }
    arg1 = (char *)(buf1);
    {
      if (SvOK(ST(1))) {
        value2.data = SvPV(ST(1), value2.len);
        arg2 = &value2;
      }
      else {
        arg2 = NULL;
      }
    }
    {
      arg3 = (apr_array_header_t *) svn_swig_pl_strings_to_array(ST(2),
        _global_pool);
    }
    ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_client_propset_local" "', argument " "4"" of type '" "svn_depth_t""'");
    } 
    arg4 = (svn_depth_t)(val4);
    ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_client_propset_local" "', argument " "5"" of type '" "svn_boolean_t""'");
    } 
    arg5 = (svn_boolean_t)(val5);
    {
      arg6 = SvOK(ST(5)) ? (apr_array_header_t *) svn_swig_pl_strings_to_array(
        ST(5), _global_pool) : NULL;
    }
    res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
    if (!SWIG_IsOK(res7)) {
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "svn_client_propset_local" "', argument " "7"" of type '" "svn_client_ctx_t *""'"); 
    }
    arg7 = (svn_client_ctx_t *)(argp7);
    if (items > 7) {
      
    }
    {
      result = (svn_error_t *)svn_client_propset_local((char const *)arg1,(struct svn_string_t const *)arg2,(apr_array_header_t const *)arg3,arg4,arg5,(apr_array_header_t const *)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_client.c  view on Meta::CPAN

    
    
    
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_client_propset3) {
  {
    svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
    char *arg2 = (char *) 0 ;
    svn_string_t *arg3 = (svn_string_t *) 0 ;
    char *arg4 = (char *) 0 ;
    svn_depth_t arg5 ;
    svn_boolean_t arg6 ;
    svn_revnum_t arg7 ;
    apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
    apr_hash_t *arg9 = (apr_hash_t *) 0 ;

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_propset3(propname,propval,target,depth,skip_checks,base_revision_for_url,changelists,revprop_table,ctx,pool);");
    }
    res2 = SWIG_AsCharPtrAndSize(ST(0), &buf2, NULL, &alloc2);
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "svn_client_propset3" "', argument " "2"" of type '" "char const *""'");
    }
    arg2 = (char *)(buf2);
    {
      if (SvOK(ST(1))) {
        value3.data = SvPV(ST(1), value3.len);
        arg3 = &value3;
      }
      else {
        arg3 = NULL;
      }
    }
    res4 = SWIG_AsCharPtrAndSize(ST(2), &buf4, NULL, &alloc4);
    if (!SWIG_IsOK(res4)) {
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "svn_client_propset3" "', argument " "4"" of type '" "char const *""'");
    }
    arg4 = (char *)(buf4);
    ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_client_propset3" "', argument " "5"" of type '" "svn_depth_t""'");
    } 
    arg5 = (svn_depth_t)(val5);
    ecode6 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val6);
    if (!SWIG_IsOK(ecode6)) {
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "svn_client_propset3" "', argument " "6"" of type '" "svn_boolean_t""'");
    } 
    arg6 = (svn_boolean_t)(val6);
    ecode7 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(5), &val7);
    if (!SWIG_IsOK(ecode7)) {
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "svn_client_propset3" "', argument " "7"" of type '" "svn_revnum_t""'");
    } 
    arg7 = (svn_revnum_t)(val7);
    {
      arg8 = SvOK(ST(6)) ? (apr_array_header_t *) svn_swig_pl_strings_to_array(
        ST(6), _global_pool) : NULL;
    }
    {
      if (_global_pool == NULL)
      _global_pool = svn_swig_pl_make_pool((SV *)NULL);
      arg9 = svn_swig_pl_hash_to_prophash(ST(7), _global_pool);  
    }
    res10 = SWIG_ConvertPtr(ST(8), &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
    if (!SWIG_IsOK(res10)) {
      SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "svn_client_propset3" "', argument " "10"" of type '" "svn_client_ctx_t *""'"); 
    }
    arg10 = (svn_client_ctx_t *)(argp10);
    if (items > 9) {
      
    }
    {
      result = (svn_error_t *)svn_client_propset3(arg1,(char const *)arg2,(struct svn_string_t const *)arg3,(char const *)arg4,arg5,arg6,arg7,(apr_array_header_t const *)arg8,(apr_hash_t const *)arg9,arg10,arg11);
      
      
      
    }
    {
      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_client.c  view on Meta::CPAN

    
    
    
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_client_propset2) {
  {
    char *arg1 = (char *) 0 ;
    svn_string_t *arg2 = (svn_string_t *) 0 ;
    char *arg3 = (char *) 0 ;
    svn_boolean_t arg4 ;
    svn_boolean_t arg5 ;
    svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
    apr_pool_t *arg7 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    int res1 ;

src/subversion/subversion/bindings/swig/perl/native/svn_client.c  view on Meta::CPAN

    void *argp6 = 0 ;
    int res6 = 0 ;
    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_client_propset2(propname,propval,target,recurse,skip_checks,ctx,pool);");
    }
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_client_propset2" "', argument " "1"" of type '" "char const *""'");
    }
    arg1 = (char *)(buf1);
    {
      if (SvOK(ST(1))) {
        value2.data = SvPV(ST(1), value2.len);
        arg2 = &value2;
      }
      else {
        arg2 = NULL;
      }
    }
    res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_client_propset2" "', argument " "3"" of type '" "char const *""'");
    }
    arg3 = (char *)(buf3);
    ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_client_propset2" "', argument " "4"" of type '" "svn_boolean_t""'");
    } 
    arg4 = (svn_boolean_t)(val4);
    ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
    if (!SWIG_IsOK(ecode5)) {
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "svn_client_propset2" "', argument " "5"" of type '" "svn_boolean_t""'");
    } 
    arg5 = (svn_boolean_t)(val5);
    res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "svn_client_propset2" "', argument " "6"" of type '" "svn_client_ctx_t *""'"); 
    }
    arg6 = (svn_client_ctx_t *)(argp6);
    if (items > 6) {
      
    }
    {
      result = (svn_error_t *)svn_client_propset2((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)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_client.c  view on Meta::CPAN

    if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    
    
    
    
    SWIG_croak_null();
  }
}


XS(_wrap_svn_client_propset) {
  {
    char *arg1 = (char *) 0 ;
    svn_string_t *arg2 = (svn_string_t *) 0 ;
    char *arg3 = (char *) 0 ;
    svn_boolean_t arg4 ;
    apr_pool_t *arg5 = (apr_pool_t *) 0 ;
    apr_pool_t *_global_pool ;
    int res1 ;
    char *buf1 = 0 ;
    int alloc1 = 0 ;

src/subversion/subversion/bindings/swig/perl/native/svn_client.c  view on Meta::CPAN

    int val4 ;
    int ecode4 = 0 ;
    int argvi = 0;
    svn_error_t *result = 0 ;
    dXSARGS;
    
    {
      _global_pool = arg5 = svn_swig_pl_make_pool (ST(items-1));
    }
    if ((items < 4) || (items > 5)) {
      SWIG_croak("Usage: svn_client_propset(propname,propval,target,recurse,pool);");
    }
    res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "svn_client_propset" "', argument " "1"" of type '" "char const *""'");
    }
    arg1 = (char *)(buf1);
    {
      if (SvOK(ST(1))) {
        value2.data = SvPV(ST(1), value2.len);
        arg2 = &value2;
      }
      else {
        arg2 = NULL;
      }
    }
    res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "svn_client_propset" "', argument " "3"" of type '" "char const *""'");
    }
    arg3 = (char *)(buf3);
    ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
    if (!SWIG_IsOK(ecode4)) {
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "svn_client_propset" "', argument " "4"" of type '" "svn_boolean_t""'");
    } 
    arg4 = (svn_boolean_t)(val4);
    if (items > 4) {
      
    }
    {
      result = (svn_error_t *)svn_client_propset((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5);
      
      
      
    }
    {
      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_client.c  view on Meta::CPAN

{"SVN::_Client::svn_client_copy3", _wrap_svn_client_copy3},
{"SVN::_Client::svn_client_copy2", _wrap_svn_client_copy2},
{"SVN::_Client::svn_client_copy", _wrap_svn_client_copy},
{"SVN::_Client::svn_client_move7", _wrap_svn_client_move7},
{"SVN::_Client::svn_client_move6", _wrap_svn_client_move6},
{"SVN::_Client::svn_client_move5", _wrap_svn_client_move5},
{"SVN::_Client::svn_client_move4", _wrap_svn_client_move4},
{"SVN::_Client::svn_client_move3", _wrap_svn_client_move3},
{"SVN::_Client::svn_client_move2", _wrap_svn_client_move2},
{"SVN::_Client::svn_client_move", _wrap_svn_client_move},
{"SVN::_Client::svn_client_propset_remote", _wrap_svn_client_propset_remote},
{"SVN::_Client::svn_client_propset_local", _wrap_svn_client_propset_local},
{"SVN::_Client::svn_client_propset3", _wrap_svn_client_propset3},
{"SVN::_Client::svn_client_propset2", _wrap_svn_client_propset2},
{"SVN::_Client::svn_client_propset", _wrap_svn_client_propset},
{"SVN::_Client::svn_client_revprop_set2", _wrap_svn_client_revprop_set2},
{"SVN::_Client::svn_client_revprop_set", _wrap_svn_client_revprop_set},
{"SVN::_Client::svn_client_propget5", _wrap_svn_client_propget5},
{"SVN::_Client::svn_client_propget4", _wrap_svn_client_propget4},
{"SVN::_Client::svn_client_propget3", _wrap_svn_client_propget3},
{"SVN::_Client::svn_client_propget2", _wrap_svn_client_propget2},
{"SVN::_Client::svn_client_propget", _wrap_svn_client_propget},
{"SVN::_Client::svn_client_revprop_get", _wrap_svn_client_revprop_get},
{"SVN::_Client::svn_client_proplist4", _wrap_svn_client_proplist4},
{"SVN::_Client::svn_client_proplist3", _wrap_svn_client_proplist3},

src/subversion/subversion/bindings/swig/perl/native/t/3client.t  view on Meta::CPAN

# TEST
isa_ok($update4_result,'ARRAY','update4 returns a list');
# TEST
is(scalar(@$update4_result),1,'update4 member count');
# TEST
is($update4_result->[0],$current_rev,'return from update4 is the current rev');

# no return so we should get undef as the result
# we will get a _p_svn_error_t if there is an error.
# TEST
is($ctx->propset('perl-test','test-val',"$wcpath/dir1",0),undef,
   'propset on a working copy path returns undef');

my ($ph) = $ctx->propget('perl-test',"$wcpath/dir1",undef,0);
# TEST
isa_ok($ph,'HASH','propget returns a hash');
# TEST
is($ph->{"$wcpath/dir1"},'test-val','perl-test property has the correct value');

# No revnum for the working copy so we should get INVALID_REVNUM
# TEST
is($ctx->status($wcpath, undef, sub {

src/subversion/subversion/bindings/swig/perl/native/t/3client.t  view on Meta::CPAN

# TEST
ok($dirents->{'dir1'}->time(),
   'time is defined');
#diag(scalar(localtime($dirents->{'dir1'}->time() / 1000000)));
# TEST
is($dirents->{'dir1'}->last_author(),$username,
   'last_auth() returns expected username');

# test removing a property
# TEST
is($ctx->propset('perl-test', undef, "$wcpath/dir1", 0),undef,
   'propset returns undef');

my ($ph2) = $ctx->propget('perl-test', "$wcpath/dir1", 'WORKING', 0);
# TEST
isa_ok($ph2,'HASH','propget returns HASH');
# TEST
is(scalar(keys %$ph2),0,
   'No properties after deleting a property');

SKIP: {
    # This is ugly.  It is included here as an aide to understand how

src/subversion/subversion/bindings/swig/python/client.py  view on Meta::CPAN

    """
  return _client.svn_client_move2(*args)

def svn_client_move(*args):
  """
    svn_client_move(char const * src_path, svn_opt_revision_t src_revision, char const * dst_path, svn_boolean_t force, 
        svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t
    """
  return _client.svn_client_move(*args)

def svn_client_propset_remote(*args):
  """
    svn_client_propset_remote(char const * propname, svn_string_t const * propval, char const * url, svn_boolean_t skip_checks, 
        svn_revnum_t base_revision_for_url, apr_hash_t revprop_table, 
        svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t
    """
  return _client.svn_client_propset_remote(*args)

def svn_client_propset_local(*args):
  """
    svn_client_propset_local(char const * propname, svn_string_t const * propval, apr_array_header_t targets, 
        svn_depth_t depth, svn_boolean_t skip_checks, apr_array_header_t changelists, 
        svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t
    """
  return _client.svn_client_propset_local(*args)

def svn_client_propset3(*args):
  """
    svn_client_propset3(char const * propname, svn_string_t const * propval, char const * target, svn_depth_t depth, 
        svn_boolean_t skip_checks, svn_revnum_t base_revision_for_url, 
        apr_array_header_t changelists, apr_hash_t revprop_table, svn_client_ctx_t ctx, 
        apr_pool_t pool) -> svn_error_t
    """
  return _client.svn_client_propset3(*args)

def svn_client_propset2(*args):
  """
    svn_client_propset2(char const * propname, svn_string_t const * propval, char const * target, svn_boolean_t recurse, 
        svn_boolean_t skip_checks, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t
    """
  return _client.svn_client_propset2(*args)

def svn_client_propset(*args):
  """
    svn_client_propset(char const * propname, svn_string_t const * propval, char const * target, svn_boolean_t recurse, 
        apr_pool_t pool) -> svn_error_t
    """
  return _client.svn_client_propset(*args)

def svn_client_revprop_set2(*args):
  """
    svn_client_revprop_set2(char const * propname, svn_string_t const * propval, svn_string_t const * original_propval, 
        char const * URL, 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_revprop_set2(*args)

def svn_client_revprop_set(*args):

src/subversion/subversion/bindings/swig/python/svn_client.c  view on Meta::CPAN

  }
  return resultobj;
fail:
  {
    Py_XDECREF(_global_py_pool);
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_svn_client_propset_remote(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  svn_string_t *arg2 = (svn_string_t *) 0 ;
  char *arg3 = (char *) 0 ;
  svn_boolean_t arg4 ;
  svn_revnum_t arg5 ;
  apr_hash_t *arg6 = (apr_hash_t *) 0 ;
  svn_commit_callback2_t arg7 = (svn_commit_callback2_t) 0 ;
  void *arg8 = (void *) 0 ;
  svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;

src/subversion/subversion/bindings/swig/python/svn_client.c  view on Meta::CPAN

  PyObject * obj5 = 0 ;
  PyObject * obj6 = 0 ;
  PyObject * obj7 = 0 ;
  PyObject * obj8 = 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;
  arg10 = _global_pool;
  if (!PyArg_ParseTuple(args,(char *)"sOsOOOOO|O:svn_client_propset_remote",&arg1,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
  {
    if (obj1 == Py_None)
    arg2 = NULL;
    else {
      if (!PyString_Check(obj1)) {
        PyErr_SetString(PyExc_TypeError, "not a string");
        SWIG_fail;
      }
      value2.data = PyString_AS_STRING(obj1);
      value2.len = PyString_GET_SIZE(obj1);

src/subversion/subversion/bindings/swig/python/svn_client.c  view on Meta::CPAN

    /* Verify that the user supplied a valid pool */
    if (obj8 != Py_None && obj8 != _global_py_pool) {
      SWIG_Python_TypeError(SWIG_TypePrettyName(SWIGTYPE_p_apr_pool_t), obj8);
      SWIG_arg_fail(svn_argnum_obj8);
      SWIG_fail;
    }
  }
  {
    svn_swig_py_release_py_lock();
    
    result = (svn_error_t *)svn_client_propset_remote((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5,(apr_hash_t const *)arg6,arg7,arg8,arg9,arg10);
    
    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_client.c  view on Meta::CPAN

  }
  return resultobj;
fail:
  {
    Py_XDECREF(_global_py_pool);
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_svn_client_propset_local(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  svn_string_t *arg2 = (svn_string_t *) 0 ;
  apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
  svn_depth_t arg4 ;
  svn_boolean_t arg5 ;
  apr_array_header_t *arg6 = (apr_array_header_t *) 0 ;
  svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
  apr_pool_t *arg8 = (apr_pool_t *) 0 ;
  apr_pool_t *_global_pool = NULL ;

src/subversion/subversion/bindings/swig/python/svn_client.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;
  arg8 = _global_pool;
  if (!PyArg_ParseTuple(args,(char *)"sOOOOOO|O:svn_client_propset_local",&arg1,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
  {
    if (obj1 == Py_None)
    arg2 = NULL;
    else {
      if (!PyString_Check(obj1)) {
        PyErr_SetString(PyExc_TypeError, "not a string");
        SWIG_fail;
      }
      value2.data = PyString_AS_STRING(obj1);
      value2.len = PyString_GET_SIZE(obj1);

src/subversion/subversion/bindings/swig/python/svn_client.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_client_propset_local((char const *)arg1,(struct svn_string_t const *)arg2,(apr_array_header_t const *)arg3,arg4,arg5,(apr_array_header_t const *)arg6,arg7,arg8);
    
    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_client.c  view on Meta::CPAN

  }
  return resultobj;
fail:
  {
    Py_XDECREF(_global_py_pool);
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_svn_client_propset3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
  char *arg2 = (char *) 0 ;
  svn_string_t *arg3 = (svn_string_t *) 0 ;
  char *arg4 = (char *) 0 ;
  svn_depth_t arg5 ;
  svn_boolean_t arg6 ;
  svn_revnum_t arg7 ;
  apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
  apr_hash_t *arg9 = (apr_hash_t *) 0 ;

src/subversion/subversion/bindings/swig/python/svn_client.c  view on Meta::CPAN

  PyObject * obj7 = 0 ;
  PyObject * obj8 = 0 ;
  PyObject * obj9 = 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;
  arg11 = _global_pool;
  arg1 = &temp1;
  if (!PyArg_ParseTuple(args,(char *)"sOsOOOOOO|O:svn_client_propset3",&arg2,&obj1,&arg4,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
  {
    if (obj1 == Py_None)
    arg3 = NULL;
    else {
      if (!PyString_Check(obj1)) {
        PyErr_SetString(PyExc_TypeError, "not a string");
        SWIG_fail;
      }
      value3.data = PyString_AS_STRING(obj1);
      value3.len = PyString_GET_SIZE(obj1);

src/subversion/subversion/bindings/swig/python/svn_client.c  view on Meta::CPAN

    /* Verify that the user supplied a valid pool */
    if (obj9 != Py_None && obj9 != _global_py_pool) {
      SWIG_Python_TypeError(SWIG_TypePrettyName(SWIGTYPE_p_apr_pool_t), obj9);
      SWIG_arg_fail(svn_argnum_obj9);
      SWIG_fail;
    }
  }
  {
    svn_swig_py_release_py_lock();
    
    result = (svn_error_t *)svn_client_propset3(arg1,(char const *)arg2,(struct svn_string_t const *)arg3,(char const *)arg4,arg5,arg6,arg7,(apr_array_header_t const *)arg8,(apr_hash_t const *)arg9,arg10,arg11);
    
    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_client.c  view on Meta::CPAN

  }
  return resultobj;
fail:
  {
    Py_XDECREF(_global_py_pool);
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_svn_client_propset2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  svn_string_t *arg2 = (svn_string_t *) 0 ;
  char *arg3 = (char *) 0 ;
  svn_boolean_t arg4 ;
  svn_boolean_t arg5 ;
  svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
  apr_pool_t *arg7 = (apr_pool_t *) 0 ;
  apr_pool_t *_global_pool = NULL ;
  PyObject *_global_py_pool = NULL ;

src/subversion/subversion/bindings/swig/python/svn_client.c  view on Meta::CPAN

  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  PyObject * obj6 = 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;
  arg7 = _global_pool;
  if (!PyArg_ParseTuple(args,(char *)"sOsOOO|O:svn_client_propset2",&arg1,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
  {
    if (obj1 == Py_None)
    arg2 = NULL;
    else {
      if (!PyString_Check(obj1)) {
        PyErr_SetString(PyExc_TypeError, "not a string");
        SWIG_fail;
      }
      value2.data = PyString_AS_STRING(obj1);
      value2.len = PyString_GET_SIZE(obj1);

src/subversion/subversion/bindings/swig/python/svn_client.c  view on Meta::CPAN

    /* Verify that the user supplied a valid pool */
    if (obj6 != Py_None && obj6 != _global_py_pool) {
      SWIG_Python_TypeError(SWIG_TypePrettyName(SWIGTYPE_p_apr_pool_t), obj6);
      SWIG_arg_fail(svn_argnum_obj6);
      SWIG_fail;
    }
  }
  {
    svn_swig_py_release_py_lock();
    
    result = (svn_error_t *)svn_client_propset2((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7);
    
    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_client.c  view on Meta::CPAN

  }
  return resultobj;
fail:
  {
    Py_XDECREF(_global_py_pool);
  }
  return NULL;
}


SWIGINTERN PyObject *_wrap_svn_client_propset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  svn_string_t *arg2 = (svn_string_t *) 0 ;
  char *arg3 = (char *) 0 ;
  svn_boolean_t arg4 ;
  apr_pool_t *arg5 = (apr_pool_t *) 0 ;
  apr_pool_t *_global_pool = NULL ;
  PyObject *_global_py_pool = NULL ;
  svn_string_t value2 ;
  PyObject * obj1 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 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;
  arg5 = _global_pool;
  if (!PyArg_ParseTuple(args,(char *)"sOsO|O:svn_client_propset",&arg1,&obj1,&arg3,&obj3,&obj4)) SWIG_fail;
  {
    if (obj1 == Py_None)
    arg2 = NULL;
    else {
      if (!PyString_Check(obj1)) {
        PyErr_SetString(PyExc_TypeError, "not a string");
        SWIG_fail;
      }
      value2.data = PyString_AS_STRING(obj1);
      value2.len = PyString_GET_SIZE(obj1);

src/subversion/subversion/bindings/swig/python/svn_client.c  view on Meta::CPAN

    /* Verify that the user supplied a valid pool */
    if (obj4 != Py_None && obj4 != _global_py_pool) {
      SWIG_Python_TypeError(SWIG_TypePrettyName(SWIGTYPE_p_apr_pool_t), obj4);
      SWIG_arg_fail(svn_argnum_obj4);
      SWIG_fail;
    }
  }
  {
    svn_swig_py_release_py_lock();
    
    result = (svn_error_t *)svn_client_propset((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5);
    
    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_client.c  view on Meta::CPAN

		"    apr_pool_t pool) -> svn_error_t\n"
		""},
	 { (char *)"svn_client_move2", _wrap_svn_client_move2, METH_VARARGS, (char *)"\n"
		"svn_client_move2(char const * src_path, char const * dst_path, svn_boolean_t force, svn_client_ctx_t ctx, \n"
		"    apr_pool_t pool) -> svn_error_t\n"
		""},
	 { (char *)"svn_client_move", _wrap_svn_client_move, METH_VARARGS, (char *)"\n"
		"svn_client_move(char const * src_path, svn_opt_revision_t src_revision, char const * dst_path, svn_boolean_t force, \n"
		"    svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t\n"
		""},
	 { (char *)"svn_client_propset_remote", _wrap_svn_client_propset_remote, METH_VARARGS, (char *)"\n"
		"svn_client_propset_remote(char const * propname, svn_string_t const * propval, char const * url, svn_boolean_t skip_checks, \n"
		"    svn_revnum_t base_revision_for_url, apr_hash_t revprop_table, \n"
		"    svn_commit_callback2_t commit_callback, svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t\n"
		""},
	 { (char *)"svn_client_propset_local", _wrap_svn_client_propset_local, METH_VARARGS, (char *)"\n"
		"svn_client_propset_local(char const * propname, svn_string_t const * propval, apr_array_header_t targets, \n"
		"    svn_depth_t depth, svn_boolean_t skip_checks, apr_array_header_t changelists, \n"
		"    svn_client_ctx_t ctx, apr_pool_t scratch_pool) -> svn_error_t\n"
		""},
	 { (char *)"svn_client_propset3", _wrap_svn_client_propset3, METH_VARARGS, (char *)"\n"
		"svn_client_propset3(char const * propname, svn_string_t const * propval, char const * target, svn_depth_t depth, \n"
		"    svn_boolean_t skip_checks, svn_revnum_t base_revision_for_url, \n"
		"    apr_array_header_t changelists, apr_hash_t revprop_table, svn_client_ctx_t ctx, \n"
		"    apr_pool_t pool) -> svn_error_t\n"
		""},
	 { (char *)"svn_client_propset2", _wrap_svn_client_propset2, METH_VARARGS, (char *)"\n"
		"svn_client_propset2(char const * propname, svn_string_t const * propval, char const * target, svn_boolean_t recurse, \n"
		"    svn_boolean_t skip_checks, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t\n"
		""},
	 { (char *)"svn_client_propset", _wrap_svn_client_propset, METH_VARARGS, (char *)"\n"
		"svn_client_propset(char const * propname, svn_string_t const * propval, char const * target, svn_boolean_t recurse, \n"
		"    apr_pool_t pool) -> svn_error_t\n"
		""},
	 { (char *)"svn_client_revprop_set2", _wrap_svn_client_revprop_set2, METH_VARARGS, (char *)"\n"
		"svn_client_revprop_set2(char const * propname, svn_string_t const * propval, svn_string_t const * original_propval, \n"
		"    char const * URL, svn_opt_revision_t revision, svn_boolean_t force, \n"
		"    svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t\n"
		""},
	 { (char *)"svn_client_revprop_set", _wrap_svn_client_revprop_set, METH_VARARGS, (char *)"\n"
		"svn_client_revprop_set(char const * propname, svn_string_t const * propval, char const * URL, svn_opt_revision_t revision, \n"
		"    svn_boolean_t force, svn_client_ctx_t ctx, apr_pool_t pool) -> svn_error_t\n"

src/subversion/subversion/bindings/swig/python/tests/client.py  view on Meta::CPAN


  def proplist_receiver_dir1(self, path, props, iprops, pool):
    self.assertEquals(iprops[self.proplist_receiver_dir1_key],
                      {'svn:global-ignores':'*.q\n'})
    self.proplist_receiver_dir1_calls += 1

  def test_inherited_props(self):
    """Test inherited props"""

    trunk_url = self.repos_uri + '/trunk'
    client.propset_remote('svn:global-ignores', '*.q', trunk_url,
                          False, 12, {}, None, self.client_ctx)

    head = core.svn_opt_revision_t()
    head.kind = core.svn_opt_revision_head
    props, iprops, rev = client.propget5('svn:global-ignores', trunk_url,
                                         head, head, core.svn_depth_infinity,
                                         None, self.client_ctx)
    self.assertEquals(props[trunk_url], '*.q\n')

    dir1_url = trunk_url + '/dir1'

src/subversion/subversion/bindings/swig/ruby/svn/client.rb  view on Meta::CPAN

          :conflict_choice => Wc::CONFLICT_CHOOSE_POSTPONE
        }
        arguments = optional_arguments_defaults.merge(arguments)
        Util.validate_options(arguments,
                              optional_arguments_defaults.keys,
                              RESOLVE_REQUIRED_ARGUMENTS_KEYS)

        Client.resolve(arguments[:path], arguments[:depth], arguments[:conflict_choice], self)
      end

      def propset(name, value, target, depth_or_recurse=nil, force=false,
                  base_revision_for_url=nil, changelists_names=nil,
                  revprop_table=nil)
        base_revision_for_url ||= Svn::Core::INVALID_REVNUM
        depth = Core::Depth.infinity_or_empty_from_recurse(depth_or_recurse)
        changelists_names = [changelists_names] unless changelists_names.is_a?(Array) or changelists_names.nil?
        Client.propset3(name, value, target, depth, force,
                        base_revision_for_url, changelists_names,
                        revprop_table, self)
      end
      alias prop_set propset
      alias pset propset
      alias ps propset

      def propdel(name, *args)
        propset(name, nil, *args)
      end
      alias prop_del propdel
      alias pdel propdel
      alias pd propdel

      # Returns a value of a property, with +name+ attached to +target+,
      # as a Hash such as <tt>{uri1 => value1, uri2 => value2, ...}</tt>.
      def propget(name, target, rev=nil, peg_rev=nil, depth_or_recurse=nil,
                  changelists_names=nil)
        rev ||= "HEAD"

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

    target = _global_vresult_address == &vresult ? self : vresult;
    if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
    svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
    svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
  }
  return Qnil;
}


SWIGINTERN VALUE
_wrap_svn_client_propset_remote(int argc, VALUE *argv, VALUE self) {
  char *arg1 = (char *) 0 ;
  svn_string_t *arg2 = (svn_string_t *) 0 ;
  char *arg3 = (char *) 0 ;
  svn_boolean_t arg4 ;
  svn_revnum_t arg5 ;
  apr_hash_t *arg6 = (apr_hash_t *) 0 ;
  svn_commit_callback2_t arg7 = (svn_commit_callback2_t) 0 ;
  void *arg8 = (void *) 0 ;
  svn_client_ctx_t *arg9 = (svn_client_ctx_t *) 0 ;
  apr_pool_t *arg10 = (apr_pool_t *) 0 ;

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

  {
    svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg10);
    _global_pool = arg10;
    svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
  }
  if ((argc < 8) || (argc > 9)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
  }
  res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset_remote", 1, argv[0] ));
  }
  arg1 = (char *)(buf1);
  {
    if (NIL_P(argv[1])) {
      arg2 = NULL;
    } else {
      value2.data = StringValuePtr(argv[1]);
      value2.len = RSTRING_LEN(argv[1]);
      arg2 = &value2;
    }
  }
  res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propset_remote", 3, argv[2] ));
  }
  arg3 = (char *)(buf3);
  arg4 = RTEST(argv[3]);
  ecode5 = SWIG_AsVal_long(argv[4], &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_propset_remote", 5, argv[4] ));
  } 
  arg5 = (svn_revnum_t)(val5);
  {
    VALUE rb_pool = Qnil;
    if (!_global_pool) {
      svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);
      svn_swig_rb_push_pool(rb_pool);
    }
    arg6 = svn_swig_rb_hash_to_apr_hash_svn_string(argv[5], _global_pool);
    _global_pool = NULL;

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

      }
      svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
    }
  }
  {
    arg7 = svn_swig_rb_commit_callback2;
    arg8 = (void *)svn_swig_rb_make_baton(argv[6], _global_svn_swig_rb_pool);
  }
  res9 = SWIG_ConvertPtr(argv[7], &argp9,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
  if (!SWIG_IsOK(res9)) {
    SWIG_exception_fail(SWIG_ArgError(res9), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset_remote", 9, argv[7] )); 
  }
  arg9 = (svn_client_ctx_t *)(argp9);
  if (argc > 8) {
    
  }
  {
    result = (svn_error_t *)svn_client_propset_remote((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5,(apr_hash_t const *)arg6,arg7,arg8,arg9,arg10);
    
    
    
  }
  {
    if (result) {
      svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
      svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
      svn_swig_rb_handle_svn_error(result);
    }

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

    target = _global_vresult_address == &vresult ? self : vresult;
    if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
    svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
    svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
  }
  return Qnil;
}


SWIGINTERN VALUE
_wrap_svn_client_propset_local(int argc, VALUE *argv, VALUE self) {
  char *arg1 = (char *) 0 ;
  svn_string_t *arg2 = (svn_string_t *) 0 ;
  apr_array_header_t *arg3 = (apr_array_header_t *) 0 ;
  svn_depth_t arg4 ;
  svn_boolean_t arg5 ;
  apr_array_header_t *arg6 = (apr_array_header_t *) 0 ;
  svn_client_ctx_t *arg7 = (svn_client_ctx_t *) 0 ;
  apr_pool_t *arg8 = (apr_pool_t *) 0 ;
  VALUE _global_svn_swig_rb_pool ;
  apr_pool_t *_global_pool ;

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

  {
    svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg8);
    _global_pool = arg8;
    svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
  }
  if ((argc < 7) || (argc > 8)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
  }
  res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset_local", 1, argv[0] ));
  }
  arg1 = (char *)(buf1);
  {
    if (NIL_P(argv[1])) {
      arg2 = NULL;
    } else {
      value2.data = StringValuePtr(argv[1]);
      value2.len = RSTRING_LEN(argv[1]);
      arg2 = &value2;
    }

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

  {
    arg4 = svn_swig_rb_to_depth(argv[3]);
  }
  arg5 = RTEST(argv[4]);
  {
    arg6 = (NIL_P(argv[5])) ? NULL :
    svn_swig_rb_strings_to_apr_array(argv[5], _global_pool);
  }
  res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
  if (!SWIG_IsOK(res7)) {
    SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset_local", 7, argv[6] )); 
  }
  arg7 = (svn_client_ctx_t *)(argp7);
  if (argc > 7) {
    
  }
  {
    result = (svn_error_t *)svn_client_propset_local((char const *)arg1,(struct svn_string_t const *)arg2,(apr_array_header_t const *)arg3,arg4,arg5,(apr_array_header_t const *)arg6,arg7,arg8);
    
    
    
  }
  {
    if (result) {
      svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
      svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
      svn_swig_rb_handle_svn_error(result);
    }

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

    target = _global_vresult_address == &vresult ? self : vresult;
    if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
    svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
    svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
  }
  return Qnil;
}


SWIGINTERN VALUE
_wrap_svn_client_propset3(int argc, VALUE *argv, VALUE self) {
  svn_commit_info_t **arg1 = (svn_commit_info_t **) 0 ;
  char *arg2 = (char *) 0 ;
  svn_string_t *arg3 = (svn_string_t *) 0 ;
  char *arg4 = (char *) 0 ;
  svn_depth_t arg5 ;
  svn_boolean_t arg6 ;
  svn_revnum_t arg7 ;
  apr_array_header_t *arg8 = (apr_array_header_t *) 0 ;
  apr_hash_t *arg9 = (apr_hash_t *) 0 ;
  svn_client_ctx_t *arg10 = (svn_client_ctx_t *) 0 ;

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

      &_global_svn_swig_rb_pool, &arg11);
    _global_pool = arg11;
    svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
  }
  arg1 = &temp1;
  if ((argc < 8) || (argc > 10)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 8)",argc); SWIG_fail;
  }
  res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","svn_client_propset3", 2, argv[0] ));
  }
  arg2 = (char *)(buf2);
  {
    if (NIL_P(argv[1])) {
      arg3 = NULL;
    } else {
      value3.data = StringValuePtr(argv[1]);
      value3.len = RSTRING_LEN(argv[1]);
      arg3 = &value3;
    }
  }
  res4 = SWIG_AsCharPtrAndSize(argv[2], &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "char const *","svn_client_propset3", 4, argv[2] ));
  }
  arg4 = (char *)(buf4);
  {
    arg5 = svn_swig_rb_to_depth(argv[3]);
  }
  arg6 = RTEST(argv[4]);
  ecode7 = SWIG_AsVal_long(argv[5], &val7);
  if (!SWIG_IsOK(ecode7)) {
    SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "svn_revnum_t","svn_client_propset3", 7, argv[5] ));
  } 
  arg7 = (svn_revnum_t)(val7);
  {
    arg8 = (NIL_P(argv[6])) ? NULL :
    svn_swig_rb_strings_to_apr_array(argv[6], _global_pool);
  }
  {
    VALUE rb_pool = Qnil;
    if (!_global_pool) {
      svn_swig_rb_get_pool(argc, argv, self, &rb_pool, &_global_pool);

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

        svn_swig_rb_destroy_pool(rb_pool);
      } else {
        svn_swig_rb_set_pool_for_no_swig_type(argv[7], rb_pool);
      }
      svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
    }
  }
  if (argc > 8) {
    res10 = SWIG_ConvertPtr(argv[8], &argp10,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
    if (!SWIG_IsOK(res10)) {
      SWIG_exception_fail(SWIG_ArgError(res10), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset3", 10, argv[8] )); 
    }
    arg10 = (svn_client_ctx_t *)(argp10);
  }
  if (argc > 9) {
    
  }
  {
    result = (svn_error_t *)svn_client_propset3(arg1,(char const *)arg2,(struct svn_string_t const *)arg3,(char const *)arg4,arg5,arg6,arg7,(apr_array_header_t const *)arg8,(apr_hash_t const *)arg9,arg10,arg11);
    
    
    
  }
  {
    if (result) {
      svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
      svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
      svn_swig_rb_handle_svn_error(result);
    }

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

    target = _global_vresult_address == &vresult ? self : vresult;
    if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
    svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
    svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
  }
  return Qnil;
}


SWIGINTERN VALUE
_wrap_svn_client_propset2(int argc, VALUE *argv, VALUE self) {
  char *arg1 = (char *) 0 ;
  svn_string_t *arg2 = (svn_string_t *) 0 ;
  char *arg3 = (char *) 0 ;
  svn_boolean_t arg4 ;
  svn_boolean_t arg5 ;
  svn_client_ctx_t *arg6 = (svn_client_ctx_t *) 0 ;
  apr_pool_t *arg7 = (apr_pool_t *) 0 ;
  VALUE _global_svn_swig_rb_pool ;
  apr_pool_t *_global_pool ;
  int res1 ;

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

    svn_swig_rb_get_pool(adjusted_argc, adjusted_argv, self,
      &_global_svn_swig_rb_pool, &arg7);
    _global_pool = arg7;
    svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
  }
  if ((argc < 5) || (argc > 7)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 5)",argc); SWIG_fail;
  }
  res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset2", 1, argv[0] ));
  }
  arg1 = (char *)(buf1);
  {
    if (NIL_P(argv[1])) {
      arg2 = NULL;
    } else {
      value2.data = StringValuePtr(argv[1]);
      value2.len = RSTRING_LEN(argv[1]);
      arg2 = &value2;
    }
  }
  res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propset2", 3, argv[2] ));
  }
  arg3 = (char *)(buf3);
  arg4 = RTEST(argv[3]);
  arg5 = RTEST(argv[4]);
  if (argc > 5) {
    res6 = SWIG_ConvertPtr(argv[5], &argp6,SWIGTYPE_p_svn_client_ctx_t, 0 |  0 );
    if (!SWIG_IsOK(res6)) {
      SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "svn_client_ctx_t *","svn_client_propset2", 6, argv[5] )); 
    }
    arg6 = (svn_client_ctx_t *)(argp6);
  }
  if (argc > 6) {
    
  }
  {
    result = (svn_error_t *)svn_client_propset2((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7);
    
    
    
  }
  {
    if (result) {
      svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
      svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
      svn_swig_rb_handle_svn_error(result);
    }

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

    target = _global_vresult_address == &vresult ? self : vresult;
    if (!svn_swig_rb_set_pool(target, _global_svn_swig_rb_pool))
    svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
    svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
  }
  return Qnil;
}


SWIGINTERN VALUE
_wrap_svn_client_propset(int argc, VALUE *argv, VALUE self) {
  char *arg1 = (char *) 0 ;
  svn_string_t *arg2 = (svn_string_t *) 0 ;
  char *arg3 = (char *) 0 ;
  svn_boolean_t arg4 ;
  apr_pool_t *arg5 = (apr_pool_t *) 0 ;
  VALUE _global_svn_swig_rb_pool ;
  apr_pool_t *_global_pool ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

  {
    svn_swig_rb_get_pool(argc, argv, self, &_global_svn_swig_rb_pool, &arg5);
    _global_pool = arg5;
    svn_swig_rb_push_pool(_global_svn_swig_rb_pool);
  }
  if ((argc < 4) || (argc > 5)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","svn_client_propset", 1, argv[0] ));
  }
  arg1 = (char *)(buf1);
  {
    if (NIL_P(argv[1])) {
      arg2 = NULL;
    } else {
      value2.data = StringValuePtr(argv[1]);
      value2.len = RSTRING_LEN(argv[1]);
      arg2 = &value2;
    }
  }
  res3 = SWIG_AsCharPtrAndSize(argv[2], &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "char const *","svn_client_propset", 3, argv[2] ));
  }
  arg3 = (char *)(buf3);
  arg4 = RTEST(argv[3]);
  if (argc > 4) {
    
  }
  {
    result = (svn_error_t *)svn_client_propset((char const *)arg1,(struct svn_string_t const *)arg2,(char const *)arg3,arg4,arg5);
    
    
    
  }
  {
    if (result) {
      svn_swig_rb_destroy_pool(_global_svn_swig_rb_pool);
      svn_swig_rb_pop_pool(_global_svn_swig_rb_pool);
      svn_swig_rb_handle_svn_error(result);
    }

src/subversion/subversion/bindings/swig/ruby/svn_client.c  view on Meta::CPAN

  rb_define_module_function(mClient, "svn_client_copy3", _wrap_svn_client_copy3, -1);
  rb_define_module_function(mClient, "svn_client_copy2", _wrap_svn_client_copy2, -1);
  rb_define_module_function(mClient, "svn_client_copy", _wrap_svn_client_copy, -1);
  rb_define_module_function(mClient, "svn_client_move7", _wrap_svn_client_move7, -1);
  rb_define_module_function(mClient, "svn_client_move6", _wrap_svn_client_move6, -1);
  rb_define_module_function(mClient, "svn_client_move5", _wrap_svn_client_move5, -1);
  rb_define_module_function(mClient, "svn_client_move4", _wrap_svn_client_move4, -1);
  rb_define_module_function(mClient, "svn_client_move3", _wrap_svn_client_move3, -1);
  rb_define_module_function(mClient, "svn_client_move2", _wrap_svn_client_move2, -1);
  rb_define_module_function(mClient, "svn_client_move", _wrap_svn_client_move, -1);
  rb_define_module_function(mClient, "svn_client_propset_remote", _wrap_svn_client_propset_remote, -1);
  rb_define_module_function(mClient, "svn_client_propset_local", _wrap_svn_client_propset_local, -1);
  rb_define_module_function(mClient, "svn_client_propset3", _wrap_svn_client_propset3, -1);
  rb_define_module_function(mClient, "svn_client_propset2", _wrap_svn_client_propset2, -1);
  rb_define_module_function(mClient, "svn_client_propset", _wrap_svn_client_propset, -1);
  rb_define_module_function(mClient, "svn_client_revprop_set2", _wrap_svn_client_revprop_set2, -1);
  rb_define_module_function(mClient, "svn_client_revprop_set", _wrap_svn_client_revprop_set, -1);
  rb_define_module_function(mClient, "svn_client_propget5", _wrap_svn_client_propget5, -1);
  rb_define_module_function(mClient, "svn_client_propget4", _wrap_svn_client_propget4, -1);
  rb_define_module_function(mClient, "svn_client_propget3", _wrap_svn_client_propget3, -1);
  rb_define_module_function(mClient, "svn_client_propget2", _wrap_svn_client_propget2, -1);
  rb_define_module_function(mClient, "svn_client_propget", _wrap_svn_client_propget, -1);
  rb_define_module_function(mClient, "svn_client_revprop_get", _wrap_svn_client_revprop_get, -1);
  rb_define_module_function(mClient, "svn_client_proplist4", _wrap_svn_client_proplist4, -1);
  rb_define_module_function(mClient, "svn_client_proplist3", _wrap_svn_client_proplist3, -1);

src/subversion/subversion/bindings/swig/ruby/test/test_client.rb  view on Meta::CPAN

    file = "hello.txt"
    src = "Hello"
    dir = "dir"
    dir_path = File.join(@wc_path, dir)
    path = File.join(dir_path, file)
    uri = "#{@repos_uri}/#{dir}/#{file}"

    make_context(log) do |ctx|
      FileUtils.mkdir(dir_path)
      ctx.add(dir_path, false)
      ctx.propset(Svn::Core::PROP_IGNORE, file, dir_path)
      ctx.commit(@wc_path)

      File.open(path, "w") {|f| f.print(src)}

      ctx.add(dir_path, true, true, false)
      ctx.commit(@wc_path)
      assert_raise(Svn::Error::FS_NOT_FOUND) do
        ctx.cat(uri)
      end

src/subversion/subversion/bindings/swig/ruby/test/test_delta.rb  view on Meta::CPAN


      ctx.mkdir([dir_path])

      file1_svn_path = file1
      file2_svn_path = [dir_svn_path, file2].join("/")
      FileUtils.touch(file1_path)
      FileUtils.touch(file2_path)
      ctx.add(file1_path)
      ctx.add(file2_path)

      ctx.propset(prop_name, prop_value, dir_path)

      commit_info = ctx.commit(@wc_path)

      editor = traverse(Svn::Delta::ChangedDirsEditor, commit_info.revision)
      assert_equal(["", dir_svn_path].collect{|path| "#{path}/"}.sort,
                   editor.changed_dirs)
    end

    log = "prop changed"
    make_context(log) do |ctx|

      ctx.propdel(prop_name, dir_path)

      commit_info = ctx.commit(@wc_path)

      editor = traverse(Svn::Delta::ChangedDirsEditor, commit_info.revision)
      assert_equal([dir_svn_path].collect{|path| "#{path}/"}.sort,
                   editor.changed_dirs)


      ctx.propset(prop_name, prop_value, file1_path)

      commit_info = ctx.commit(@wc_path)

      editor = traverse(Svn::Delta::ChangedDirsEditor, commit_info.revision)
      assert_equal([""].collect{|path| "#{path}/"}.sort,
                   editor.changed_dirs)


      ctx.propdel(prop_name, file1_path)
      ctx.propset(prop_name, prop_value, file2_path)

      commit_info = ctx.commit(@wc_path)

      editor = traverse(Svn::Delta::ChangedDirsEditor, commit_info.revision)
      assert_equal(["", dir_svn_path].collect{|path| "#{path}/"}.sort,
                   editor.changed_dirs)
    end
  end

  def test_deep_copy

src/subversion/subversion/bindings/swig/ruby/test/test_info.rb  view on Meta::CPAN

      file3_path = File.join(@wc_path, "diff3.txt")
      file1_prop_key = "AAA"
      file1_prop_value = "BBB"
      FileUtils.touch(file1_path)
      File.open(file2_path, "w") {|f| f.puts "changed"}
      FileUtils.touch(file3_path)

      ctx.add(file1_path)
      ctx.add(file2_path)
      ctx.add(file3_path)
      ctx.propset(file1_prop_key, file1_prop_value, file1_path)

      ctx.commit(@wc_path)

      file4 = "diff4.txt"
      file5 = "diff5.txt"
      file4_path = File.join(@wc_path, file4)
      file5_path = File.join(@wc_path, file5)
      file4_prop_key = "XXX"
      file4_prop_value = "YYY"
      File.open(file1_path, "w") {|f| f.puts "changed"}
      File.open(file2_path, "wb") {|f| f.puts "removed\nadded"}
      FileUtils.touch(file4_path)
      ctx.add(file4_path)
      ctx.propdel(file1_prop_key, file1_path)
      ctx.propset(file4_prop_key, file4_prop_value, file4_path)
      ctx.cp(file3_path, file5_path)

      commit_info = ctx.commit(@wc_path)

      info = make_info(commit_info.revision)
      keys = info.diffs.keys.sort
      file5_key = keys.last
      assert_equal(4, info.diffs.size)
      assert_equal([file1, file2, file4].sort, keys[0..-2])
      assert_match(/\A#{file5}/, file5_key)

src/subversion/subversion/include/svn_client.h  view on Meta::CPAN

 * skip_checks is FALSE, and @a propname is not a valid property for @a
 * url, return an error, either #SVN_ERR_ILLEGAL_TARGET (if the property is
 * not appropriate for @a url), or * #SVN_ERR_BAD_MIME_TYPE (if @a propname
 * is "svn:mime-type", but @a propval is not a valid mime-type).
 *
 * Use @a scratch_pool for all memory allocation.
 *
 * @since New in 1.7.
 */
svn_error_t *
svn_client_propset_remote(const char *propname,
                          const svn_string_t *propval,
                          const char *url,
                          svn_boolean_t skip_checks,
                          svn_revnum_t base_revision_for_url,
                          const apr_hash_t *revprop_table,
                          svn_commit_callback2_t commit_callback,
                          void *commit_baton,
                          svn_client_ctx_t *ctx,
                          apr_pool_t *scratch_pool);

src/subversion/subversion/include/svn_client.h  view on Meta::CPAN

 * propval is not a valid mime-type).
 *
 * If @a ctx->cancel_func is non-NULL, invoke it passing @a
 * ctx->cancel_baton at various places during the operation.
 *
 * Use @a scratch_pool for all memory allocation.
 *
 * @since New in 1.7.
 */
svn_error_t *
svn_client_propset_local(const char *propname,
                         const svn_string_t *propval,
                         const apr_array_header_t *targets,
                         svn_depth_t depth,
                         svn_boolean_t skip_checks,
                         const apr_array_header_t *changelists,
                         svn_client_ctx_t *ctx,
                         apr_pool_t *scratch_pool);

/**
 * An amalgamation of svn_client_propset_local() and
 * svn_client_propset_remote() that takes only a single target, and
 * returns the commit info in @a *commit_info_p rather than through a
 * callback function.
 *
 * @since New in 1.5.
 * @deprecated Provided for backward compatibility with the 1.6 API.
 */
SVN_DEPRECATED
svn_error_t *
svn_client_propset3(svn_commit_info_t **commit_info_p,
                    const char *propname,
                    const svn_string_t *propval,
                    const char *target,
                    svn_depth_t depth,
                    svn_boolean_t skip_checks,
                    svn_revnum_t base_revision_for_url,
                    const apr_array_header_t *changelists,
                    const apr_hash_t *revprop_table,
                    svn_client_ctx_t *ctx,
                    apr_pool_t *pool);

/**
 * Like svn_client_propset3(), but with @a base_revision_for_url
 * always #SVN_INVALID_REVNUM; @a commit_info_p always @c NULL; @a
 * changelists always @c NULL; @a revprop_table always @c NULL; and @a
 * depth set according to @a recurse: if @a recurse is TRUE, @a depth
 * is #svn_depth_infinity, else #svn_depth_empty.
 *
 * @deprecated Provided for backward compatibility with the 1.4 API.
 */
SVN_DEPRECATED
svn_error_t *
svn_client_propset2(const char *propname,
                    const svn_string_t *propval,
                    const char *target,
                    svn_boolean_t recurse,
                    svn_boolean_t skip_checks,
                    svn_client_ctx_t *ctx,
                    apr_pool_t *pool);

/**
 * Like svn_client_propset2(), but with @a skip_checks always FALSE and a
 * newly created @a ctx.
 *
 * @deprecated Provided for backward compatibility with the 1.1 API.
 */
SVN_DEPRECATED
svn_error_t *
svn_client_propset(const char *propname,
                   const svn_string_t *propval,
                   const char *target,
                   svn_boolean_t recurse,
                   apr_pool_t *pool);

/** Set @a propname to @a propval on revision @a revision in the repository
 * represented by @a URL.  Use the authentication baton in @a ctx for
 * authentication, and @a pool for all memory allocation.  Return the actual
 * rev affected in @a *set_rev.  A @a propval of @c NULL will delete the
 * property.

src/subversion/subversion/include/svn_client.h  view on Meta::CPAN

 * Note: the representation of "property is not set" in @a
 * original_propval differs from the representation in other APIs
 * (such as svn_fs_change_rev_prop2() and svn_ra_change_rev_prop2()).
 *
 * If @a force is TRUE, allow newlines in the author property.
 *
 * If @a propname is an svn-controlled property (i.e. prefixed with
 * #SVN_PROP_PREFIX), then the caller is responsible for ensuring that
 * the value UTF8-encoded and uses LF line-endings.
 *
 * Note that unlike its cousin svn_client_propset3(), this routine
 * doesn't affect the working copy at all;  it's a pure network
 * operation that changes an *unversioned* property attached to a
 * revision.  This can be used to tweak log messages, dates, authors,
 * and the like.  Be careful:  it's a lossy operation.

 * @a ctx->notify_func2 and @a ctx->notify_baton2 are the notification
 * functions and baton which are called upon successful setting of the
 * property.
 *
 * Also note that unless the administrator creates a

src/subversion/subversion/libsvn_client/deprecated.c  view on Meta::CPAN

                     svn_client_ctx_t *ctx,
                     apr_pool_t *pool)
{
  return svn_client_merge_peg2(source, revision1, revision2, peg_revision,
                               target_wcpath, recurse, ignore_ancestry, force,
                               dry_run, NULL, ctx, pool);
}

/*** From prop_commands.c ***/
svn_error_t *
svn_client_propset3(svn_commit_info_t **commit_info_p,
                    const char *propname,
                    const svn_string_t *propval,
                    const char *target,
                    svn_depth_t depth,
                    svn_boolean_t skip_checks,
                    svn_revnum_t base_revision_for_url,
                    const apr_array_header_t *changelists,
                    const apr_hash_t *revprop_table,
                    svn_client_ctx_t *ctx,
                    apr_pool_t *pool)
{
  if (svn_path_is_url(target))
    {
      struct capture_baton_t cb;

      cb.info = commit_info_p;
      cb.pool = pool;

      SVN_ERR(svn_client_propset_remote(propname, propval, target, skip_checks,
                                        base_revision_for_url, revprop_table,
                                        capture_commit_info, &cb, ctx, pool));
    }
  else
    {
      apr_array_header_t *targets = apr_array_make(pool, 1,
                                                   sizeof(const char *));

      APR_ARRAY_PUSH(targets, const char *) = target;
      SVN_ERR(svn_client_propset_local(propname, propval, targets, depth,
                                       skip_checks, changelists, ctx, pool));
    }

  return SVN_NO_ERROR;
}

svn_error_t *
svn_client_propset2(const char *propname,
                    const svn_string_t *propval,
                    const char *target,
                    svn_boolean_t recurse,
                    svn_boolean_t skip_checks,
                    svn_client_ctx_t *ctx,
                    apr_pool_t *pool)
{
  return svn_client_propset3(NULL, propname, propval, target,
                             SVN_DEPTH_INFINITY_OR_EMPTY(recurse),
                             skip_checks, SVN_INVALID_REVNUM,
                             NULL, NULL, ctx, pool);
}


svn_error_t *
svn_client_propset(const char *propname,
                   const svn_string_t *propval,
                   const char *target,
                   svn_boolean_t recurse,
                   apr_pool_t *pool)
{
  svn_client_ctx_t *ctx;

  SVN_ERR(svn_client_create_context(&ctx, pool));

  return svn_client_propset2(propname, propval, target, recurse, FALSE,
                             ctx, pool);
}

svn_error_t *
svn_client_revprop_set(const char *propname,
                       const svn_string_t *propval,
                       const char *URL,
                       const svn_opt_revision_t *revision,
                       svn_revnum_t *set_rev,
                       svn_boolean_t force,

src/subversion/subversion/libsvn_client/prop_commands.c  view on Meta::CPAN

/*
 * prop_commands.c:  Implementation of propset, propget, and proplist.
 *
 * ====================================================================
 *    Licensed to the Apache Software Foundation (ASF) under one
 *    or more contributor license agreements.  See the NOTICE file
 *    distributed with this work for additional information
 *    regarding copyright ownership.  The ASF licenses this file
 *    to you under the Apache License, Version 2.0 (the
 *    "License"); you may not use this file except in compliance
 *    with the License.  You may obtain a copy of the License at
 *

src/subversion/subversion/libsvn_client/prop_commands.c  view on Meta::CPAN


  if (mime_type)
    *mime_type = svn_hash_gets(props, SVN_PROP_MIME_TYPE);

  return SVN_NO_ERROR;
}


static
svn_error_t *
do_url_propset(const char *url,
               const char *propname,
               const svn_string_t *propval,
               const svn_node_kind_t kind,
               const svn_revnum_t base_revision_for_url,
               const svn_delta_editor_t *editor,
               void *edit_baton,
               apr_pool_t *pool)
{
  void *root_baton;

src/subversion/subversion/libsvn_client/prop_commands.c  view on Meta::CPAN

    }
  else
    {
      SVN_ERR(editor->change_dir_prop(root_baton, propname, propval, pool));
    }

  return editor->close_directory(root_baton, pool);
}

static svn_error_t *
propset_on_url(const char *propname,
               const svn_string_t *propval,
               const char *target,
               svn_boolean_t skip_checks,
               svn_revnum_t base_revision_for_url,
               const apr_hash_t *revprop_table,
               svn_commit_callback2_t commit_callback,
               void *commit_baton,
               svn_client_ctx_t *ctx,
               apr_pool_t *pool)
{

src/subversion/subversion/libsvn_client/prop_commands.c  view on Meta::CPAN

  SVN_ERR(svn_ra__register_editor_shim_callbacks(ra_session,
                        svn_client__get_shim_callbacks(ctx->wc_ctx,
                                                       NULL, pool)));
  SVN_ERR(svn_ra_get_commit_editor3(ra_session, &editor, &edit_baton,
                                    commit_revprops,
                                    commit_callback,
                                    commit_baton,
                                    NULL, TRUE, /* No lock tokens */
                                    pool));

  err = do_url_propset(target, propname, propval, node_kind,
                       base_revision_for_url, editor, edit_baton, pool);

  if (err)
    {
      /* At least try to abort the edit (and fs txn) before throwing err. */
      svn_error_clear(editor->abort_edit(edit_baton, pool));
      return svn_error_trace(err);
    }

  /* Close the edit. */

src/subversion/subversion/libsvn_client/prop_commands.c  view on Meta::CPAN

  SVN_ERR(error_if_wcprop_name(propname));

  if (propval && ! svn_prop_name_is_valid(propname))
    return svn_error_createf(SVN_ERR_CLIENT_PROPERTY_NAME, NULL,
                             _("Bad property name: '%s'"), propname);

  return SVN_NO_ERROR;
}

svn_error_t *
svn_client_propset_local(const char *propname,
                         const svn_string_t *propval,
                         const apr_array_header_t *targets,
                         svn_depth_t depth,
                         svn_boolean_t skip_checks,
                         const apr_array_header_t *changelists,
                         svn_client_ctx_t *ctx,
                         apr_pool_t *scratch_pool)
{
  apr_pool_t *iterpool = svn_pool_create(scratch_pool);
  svn_boolean_t targets_are_urls;

src/subversion/subversion/libsvn_client/prop_commands.c  view on Meta::CPAN

                         ctx->cancel_func, ctx->cancel_baton,
                         ctx->notify_func2, ctx->notify_baton2, iterpool),
        ctx->wc_ctx, target_abspath, FALSE /* lock_anchor */, iterpool);
    }
  svn_pool_destroy(iterpool);

  return SVN_NO_ERROR;
}

svn_error_t *
svn_client_propset_remote(const char *propname,
                          const svn_string_t *propval,
                          const char *url,
                          svn_boolean_t skip_checks,
                          svn_revnum_t base_revision_for_url,
                          const apr_hash_t *revprop_table,
                          svn_commit_callback2_t commit_callback,
                          void *commit_baton,
                          svn_client_ctx_t *ctx,
                          apr_pool_t *scratch_pool)
{

src/subversion/subversion/libsvn_client/prop_commands.c  view on Meta::CPAN

     ### editing these properties on URLs.  (Admittedly, this
     ### means that all the machinery with get_file_for_validation
     ### is unused.)
   */
  if ((strcmp(propname, SVN_PROP_EOL_STYLE) == 0) ||
      (strcmp(propname, SVN_PROP_KEYWORDS) == 0))
    return svn_error_createf(SVN_ERR_UNSUPPORTED_FEATURE, NULL,
                             _("Setting property '%s' on non-local "
                               "targets is not supported"), propname);

  SVN_ERR(propset_on_url(propname, propval, url, skip_checks,
                         base_revision_for_url, revprop_table,
                         commit_callback, commit_baton, ctx, scratch_pool));

  return SVN_NO_ERROR;
}

static svn_error_t *
check_and_set_revprop(svn_revnum_t *set_rev,
                      svn_ra_session_t *ra_session,
                      const char *propname,

src/subversion/subversion/libsvn_wc/props.c  view on Meta::CPAN


  if (err && err->apr_err == SVN_ERR_IO_INCONSISTENT_EOL)
    return svn_error_createf(SVN_ERR_ILLEGAL_TARGET, err,
                             _("File '%s' has inconsistent newlines"),
                             path_display);

  return svn_error_trace(err);
}

static svn_error_t *
do_propset(svn_wc__db_t *db,
           const char *local_abspath,
           svn_node_kind_t kind,
           const char *name,
           const svn_string_t *value,
           svn_boolean_t skip_checks,
           svn_wc_notify_func2_t notify_func,
           void *notify_baton,
           apr_pool_t *scratch_pool)
{
  apr_hash_t *prophash;

src/subversion/subversion/libsvn_wc/props.c  view on Meta::CPAN

                                                     scratch_pool);
      notify->prop_name = name;
      notify->kind = kind;

      (*notify_func)(notify_baton, notify, scratch_pool);
    }

  return SVN_NO_ERROR;
}

/* A baton for propset_walk_cb. */
struct propset_walk_baton
{
  const char *propname;  /* The name of the property to set. */
  const svn_string_t *propval;  /* The value to set. */
  svn_wc__db_t *db;  /* Database for the tree being walked. */
  svn_boolean_t force;  /* True iff force was passed. */
  svn_wc_notify_func2_t notify_func;
  void *notify_baton;
};

/* An node-walk callback for svn_wc_prop_set4().
 *
 * For LOCAL_ABSPATH, set the property named wb->PROPNAME to the value
 * wb->PROPVAL, where "wb" is the WALK_BATON of type "struct
 * propset_walk_baton *".
 */
static svn_error_t *
propset_walk_cb(const char *local_abspath,
                svn_node_kind_t kind,
                void *walk_baton,
                apr_pool_t *scratch_pool)
{
  struct propset_walk_baton *wb = walk_baton;
  svn_error_t *err;

  err = do_propset(wb->db, local_abspath, kind, wb->propname, wb->propval,
                   wb->force, wb->notify_func, wb->notify_baton, scratch_pool);
  if (err && (err->apr_err == SVN_ERR_ILLEGAL_TARGET
              || err->apr_err == SVN_ERR_WC_PATH_UNEXPECTED_STATUS))
    {
      svn_error_clear(err);
      err = SVN_NO_ERROR;
    }

  return svn_error_trace(err);
}

src/subversion/subversion/libsvn_wc/props.c  view on Meta::CPAN

      apr_hash_t *changelist_hash = NULL;

      if (changelist_filter && changelist_filter->nelts)
        SVN_ERR(svn_hash_from_cstring_keys(&changelist_hash, changelist_filter,
                                           scratch_pool));

      if (!svn_wc__internal_changelist_match(wc_ctx->db, local_abspath,
                                             changelist_hash, scratch_pool))
        return SVN_NO_ERROR;

      SVN_ERR(do_propset(wc_ctx->db, local_abspath,
                         kind == svn_node_dir
                            ? svn_node_dir
                            : svn_node_file,
                         name, value, skip_checks,
                         notify_func, notify_baton, scratch_pool));

    }
  else
    {
      struct propset_walk_baton wb;

      wb.propname = name;
      wb.propval = value;
      wb.db = wc_ctx->db;
      wb.force = skip_checks;
      wb.notify_func = notify_func;
      wb.notify_baton = notify_baton;

      SVN_ERR(svn_wc__internal_walk_children(wc_ctx->db, local_abspath,
                                             FALSE, changelist_filter,
                                             propset_walk_cb, &wb,
                                             depth,
                                             cancel_func, cancel_baton,
                                             scratch_pool));
    }

  return SVN_NO_ERROR;
}

/* Check that NAME names a regular prop. Return an error if it names an
 * entry prop or a WC prop. */

src/subversion/subversion/mod_dav_svn/dav_svn.h  view on Meta::CPAN

/*** liveprops.c ***/

extern const dav_liveprop_group dav_svn__liveprop_group;

/*
  LIVE PROPERTY HOOKS

  These are standard hooks defined by mod_dav. We implement them to expose
  various live properties on the resources under our control.

  gather_propsets: appends URIs into the array; the property set URIs are
                   used to specify which sets of custom properties we
                   define/expose.
  find_liveprop: given a namespace and name, return the hooks for the
                 provider who defines that property.
  insert_all_liveprops: for a given resource, insert all of the live
                        properties defined on that resource. The properties
                        are inserted according to the WHAT parameter.
*/
void dav_svn__gather_propsets(apr_array_header_t *uris);

int
dav_svn__find_liveprop(const dav_resource *resource,
                       const char *ns_uri,
                       const char *name,
                       const dav_hooks_liveprop **hooks);

void
dav_svn__insert_all_liveprops(request_rec *r,
                              const dav_resource *resource,

src/subversion/subversion/mod_dav_svn/liveprops.c  view on Meta::CPAN


const dav_liveprop_group dav_svn__liveprop_group =
{
  props,
  namespace_uris,
  &hooks_liveprop
};


void
dav_svn__gather_propsets(apr_array_header_t *uris)
{
  /* ### what should we use for a URL to describe the available prop set? */
  /* ### for now... nothing. we will *only* have DAV properties */
#if 0
    *(const char **)apr_array_push(uris) =
        "<http://subversion.tigris.org/dav/propset/svn/1>";
#endif
}


int
dav_svn__find_liveprop(const dav_resource *resource,
                       const char *ns_uri,
                       const char *name,
                       const dav_hooks_liveprop **hooks)
{

src/subversion/subversion/mod_dav_svn/mod_dav_svn.c  view on Meta::CPAN

  /* input filter to read MERGE bodies. */
  ap_register_input_filter("SVN-MERGE", merge_xml_in_filter, NULL,
                           AP_FTYPE_RESOURCE);
  ap_hook_insert_filter(merge_xml_filter_insert, NULL, NULL,
                        APR_HOOK_MIDDLE);

  /* general request handler for methods which mod_dav DECLINEs. */
  ap_hook_handler(dav_svn__handler, NULL, NULL, APR_HOOK_LAST);

  /* live property handling */
  dav_hook_gather_propsets(dav_svn__gather_propsets, NULL, NULL,
                           APR_HOOK_MIDDLE);
  dav_hook_find_liveprop(dav_svn__find_liveprop, NULL, NULL, APR_HOOK_MIDDLE);
  dav_hook_insert_all_liveprops(dav_svn__insert_all_liveprops, NULL, NULL,
                                APR_HOOK_MIDDLE);
  dav_register_liveprop_group(pconf, &dav_svn__liveprop_group);

  /* Proxy / mirroring filters and fixups */
  ap_register_output_filter("LocationRewrite", dav_svn__location_header_filter,
                            NULL, AP_FTYPE_CONTENT_SET);
  ap_register_output_filter("ReposRewrite", dav_svn__location_body_filter,

src/subversion/subversion/po/de.po  view on Meta::CPAN

#: ../libsvn_subr/opt.c:824
#, c-format
msgid "Syntax error parsing peg revision '%s'"
msgstr "Syntaxfehler bei der Analyse der Fix-Revision »%s«"

#: ../libsvn_subr/opt.c:961
msgid "Revision property pair is empty"
msgstr "Revisionseigenschaftspaar ist leer"

#: ../libsvn_subr/opt.c:981 ../svn/propedit-cmd.c:87 ../svn/propget-cmd.c:336
#: ../svn/propset-cmd.c:68
#, c-format
msgid "'%s' is not a valid Subversion property name"
msgstr "»%s« ist kein gültiger Subversion-Eigenschaftsname"

#: ../libsvn_subr/opt.c:1018
#, c-format
msgid "'%s' is just a peg revision. Maybe try '%s@' instead?"
msgstr "»%s« ist nur eine Fix-Revision. Meinten Sie stattdessen »%s@«?"

#: ../libsvn_subr/opt.c:1064

src/subversion/subversion/po/de.po  view on Meta::CPAN

msgid "--reintegrate can only be used with a single merge source"
msgstr "»--reintegrate« kann nur mit einer einzelnen Zusammenführungsquelle verwendet werden"

#: ../svn/merge-cmd.c:430
msgid "--allow-mixed-revisions cannot be used with --reintegrate"
msgstr "»--allow-mixed-revisions« kann nicht mit »--reintegrate« verwendet werden"

#: ../svn/merge-cmd.c:445
msgid ""
"Merge tracking not possible, use --ignore-ancestry or\n"
"fix invalid mergeinfo in target with 'svn propset'"
msgstr ""
"Zusammenführungsverfolgung nicht möglich, verwenden Sie »--ignore-ancestry« oder\n"
"reparieren Sie die ungültigen Zusammenführungsinformationen im Ziel mit »svn propset«"

#: ../svn/mergeinfo-cmd.c:171
msgid "last full merge"
msgstr "Letzte vollständige Zusammenführung"

#: ../svn/mergeinfo-cmd.c:171
msgid "youngest common ancestor"
msgstr "Jüngster gemeinsame Vorfahre"

#: ../svn/mergeinfo-cmd.c:172

src/subversion/subversion/po/de.po  view on Meta::CPAN

#: ../svn/propdel-cmd.c:88
#, c-format
msgid "Cannot specify revision for deleting versioned property '%s'"
msgstr "Zum Löschen der versionierten Eigenschaft »%s« darf keine Revision angegeben werden"

#: ../svn/propedit-cmd.c:62 ../svn/propedit-cmd.c:341
#, c-format
msgid "Set new value for property '%s' on '%s'\n"
msgstr "Neuer Wert für Eigenschaft »%s« für »%s« gesetzt\n"

#: ../svn/propedit-cmd.c:96 ../svn/propset-cmd.c:97
msgid "--encoding option applies only to textual Subversion-controlled properties"
msgstr "Option --encoding ist nur für textbasierte von Subversion kontrollierte Eigenschaften angebbar"

#: ../svn/propedit-cmd.c:162
#, c-format
msgid "Set new value for property '%s' on revision %ld\n"
msgstr "Neuen Wert für Eigenschaft »%s« in Revision %ld gesetzt\n"

#: ../svn/propedit-cmd.c:168
#, c-format
msgid "No changes to property '%s' on revision %ld\n"
msgstr "Eigenschaft »%s« in Revision %ld nicht geändert\n"

#: ../svn/propedit-cmd.c:176
#, c-format
msgid "Cannot specify revision for editing versioned property '%s'"
msgstr "Beim Bearbeiten der versionierten Eigenschaft »%s« darf keine Revision angegeben werden"

#: ../svn/propedit-cmd.c:204 ../svn/propset-cmd.c:172
msgid "Explicit target argument required"
msgstr "Expliziter Zielparameter benötigt"

#: ../svn/propedit-cmd.c:271
#, c-format
msgid "'%s' does not appear to be a working copy path"
msgstr "»%s« scheint kein Arbeitskopiepfad zu sein"

#: ../svn/propedit-cmd.c:348
#, c-format

src/subversion/subversion/po/de.po  view on Meta::CPAN

#, c-format
msgid ""
"'%s' is not a valid %s property name\n"
"Did you mean '%s', '%s' or '%s'?\n"
"%s"
msgstr ""
"»%s« ist kein gültiger »%s«-Eigenschaftsname\n"
"Meinten Sie »%s«, »%s« oder »%s«?\n"
"%s"

#: ../svn/propset-cmd.c:132
#, c-format
msgid "Cannot specify revision for setting versioned property '%s'"
msgstr "Beim Setzen der versionierten Eigenschaft »%s« darf keine Revision angegeben werden"

#: ../svn/propset-cmd.c:165
#, c-format
msgid "Explicit target required ('%s' interpreted as prop value)"
msgstr "Explizites Ziel erforderlich (»%s« als Eigenschaftswert interpretiert)"

#: ../svn/resolve-cmd.c:79
msgid "missing --accept option"
msgstr "fehlende Option --accept"

#: ../svn/resolve-cmd.c:84
msgid "invalid 'accept' ARG"

src/subversion/subversion/po/de.po  view on Meta::CPAN

#: ../svn/svn.c:1222
msgid ""
"Edit a property with an external editor.\n"
"usage: 1. propedit PROPNAME TARGET...\n"
"       2. propedit PROPNAME --revprop -r REV [TARGET]\n"
"\n"
"  1. Edits versioned prop in working copy or repository.\n"
"  2. Edits unversioned remote prop on repos revision.\n"
"     TARGET only determines which repository to access.\n"
"\n"
"  See 'svn help propset' for more on setting properties.\n"
msgstr ""
"Ändert eine Eigenschaft mit einem externen Editor.\n"
"Aufruf: 1. propedit PROPNAME ZIEL...\n"
"        2. propedit PROPNAME --revprop -r REV [ZIEL]\n"
"\n"
"  1. Bearbeitet versionierte Eigenschaften in der Arbeitskopie oder im\n"
"     Projektarchiv.\n"
"  2. Bearbeitet nicht versionierte Revisionseigenschaften im Projektarchiv.\n"
"     ZIEL legt nur das Projektarchiv fest, auf das zugegriffen wird.\n"
"\n"
"Siehe »svn help propset« für Weiteres zum Setzen von Eigenschaften.\n"

#: ../svn/svn.c:1234
msgid ""
"Print the value of a property on files, dirs, or revisions.\n"
"usage: 1. propget PROPNAME [TARGET[@REV]...]\n"
"       2. propget PROPNAME --revprop -r REV [TARGET]\n"
"\n"
"  1. Prints versioned props. If specified, REV determines in which\n"
"     revision the target is first looked up.\n"
"  2. Prints unversioned remote prop on repos revision.\n"

src/subversion/subversion/po/de.po  view on Meta::CPAN

"  »svn propget --verbose«. Mit »--quiet« werden Pfade nicht ausgegeben.\n"

#: ../svn/svn.c:1272
msgid "don't print the path"
msgstr "Pfad nicht ausgeben"

# FIXME: propchange?
#: ../svn/svn.c:1275
msgid ""
"Set the value of a property on files, dirs, or revisions.\n"
"usage: 1. propset PROPNAME PROPVAL PATH...\n"
"       2. propset PROPNAME --revprop -r REV PROPVAL [TARGET]\n"
"\n"
"  1. Changes a versioned file or directory property in a working copy.\n"
"  2. Changes an unversioned property on a repository revision.\n"
"     (TARGET only determines which repository to access.)\n"
"\n"
"  The value may be provided with the --file option instead of PROPVAL.\n"
"\n"
"  Property names starting with 'svn:' are reserved.  Subversion recognizes\n"
"  the following special versioned properties on a file:\n"
"    svn:keywords   - Keywords to be expanded.  Valid keywords are:\n"

src/subversion/subversion/po/de.po  view on Meta::CPAN

"        //   to the URL scheme\n"
"      Use of the following format is discouraged but is supported for\n"
"      interoperability with Subversion 1.4 and earlier clients:\n"
"        LOCALPATH [-r PEG] URL\n"
"      The ambiguous format 'relative_path relative_path' is taken as\n"
"      'relative_url relative_path' with peg revision support.\n"
"      Lines starting with a '#' character are ignored.\n"
msgstr ""
"Setzt den Wert einer Eigenschaft von Dateien, Verzeichnissen\n"
"oder Revisionen\n"
"Aufruf: 1. propset NAME WERT PFAD...\n"
"        2. propset NAME --revprop -r REV WERT [ZIEL]\n"
"\n"
"  1. Ändert eine versionierte Datei- oder Verzeichniseigenschaft in der\n"
"     Arbeitskopie.\n"
"  2. Ändert eine nicht versionierte Revisionseigenschaft  einer Revision\n"
"     im Projektarchiv.\n"
"     (ZIEL legt nur das Projektarchiv fest, auf das zugegriffen wird.)\n"
"\n"
"  Der Wert kann mit der Option »--file« statt WERT angegeben werden.\n"
"\n"
"  Namen von Eigenschaften, die mit »svn:« beginnen, sind reserviert.\n"

src/subversion/subversion/po/de.po  view on Meta::CPAN

"  Perform one or more Subversion repository URL-based ACTIONs, committing\n"
"  the result as a (single) new revision.\n"
"\n"
"Actions:\n"
"  cp REV SRC-URL DST-URL : copy SRC-URL@REV to DST-URL\n"
"  mkdir URL              : create new directory URL\n"
"  mv SRC-URL DST-URL     : move SRC-URL to DST-URL\n"
"  rm URL                 : delete URL\n"
"  put SRC-FILE URL       : add or modify file URL with contents copied from\n"
"                           SRC-FILE (use \"-\" to read from standard input)\n"
"  propset NAME VALUE URL : set property NAME on URL to VALUE\n"
"  propsetf NAME FILE URL : set property NAME on URL to value read from FILE\n"
"  propdel NAME URL       : delete property NAME from URL\n"
"\n"
"Valid options:\n"
"  -h, -? [--help]        : display this text\n"
"  -m [--message] ARG     : use ARG as a log message\n"
"  -F [--file] ARG        : read log message from file ARG\n"
"  -u [--username] ARG    : commit the changes as username ARG\n"
"  -p [--password] ARG    : use ARG as the password\n"
"  -U [--root-url] ARG    : interpret all action URLs relative to ARG\n"
"  -r [--revision] ARG    : use revision ARG as baseline for changes\n"

src/subversion/subversion/po/de.po  view on Meta::CPAN

"  Führt eine oder mehrere AKTIONen auf URLs von Subversion Projektarchiven aus,\n"
"  mit Übertragung des Ergebnisses als eine neue Revision.\n"
"\n"
"Aktionen:\n"
"  cp REV QUELL-URL ZIEL-URL : kopiert QUELL-URL@REV nach ZIEL-URL\n"
"  mkdir URL                 : erzeugt neues Verzeichnis URL\n"
"  mv QUELL-URL ZIEL-URL     : verschiebt QUELL-URL nach ZIEL-URL\n"
"  rm URL                    : löscht URL\n"
"  put QUELL-DATEI URL       : legt Inhalt von QUELL-DATEI in URL ab, ggf. als Hinzufügung\n"
"                              (Die Angabe von \"-\" liest Inhalt aus der Standardeingabe)\n"
"  propset NAME WERT URL     : setzt Eigenschaft NAME der URL auf WERT\n"
"  propsetf NAME DATEI URL   : setzt Eigenschaft NAME der URL, liest Wert aus DATEI\n"
"  propdel NAME URL          : löscht Eigenschaft NAME von URL\n"
"\n"
"Gültige Optionen:\n"
"  -h, -? [--help]           : zeigt diesen Text an\n"
"  -m [--message] PAR        : verwendet PAR als Logmeldung\n"
"  -F [--file] PAR           : liest Logmeldung aus Datei PAR\n"
"  -u [--username] PAR       : überträgt Änderungen mit Benutzername PAR\n"
"  -p [--password] PAR       : verwendet PAR als Kennwort\n"
"  -U [--root-url] PAR       : interpretiert alle URLs für Aktionen relativ zu PAR\n"
"  -r [--revision] PAR       : verwendet Revision PAR als Basis für Änderungen\n"

src/subversion/subversion/po/es.po  view on Meta::CPAN

#, c-format
msgid "Syntax error parsing revision '%s'"
msgstr "Error de sintaxis analizando la revisión '%s'"

#: ../libsvn_subr/opt.c:907
#, fuzzy
msgid "Revision property pair is empty"
msgstr "La entrada de la revisión no es una lista"

#: ../libsvn_subr/opt.c:927 ../svn/propedit-cmd.c:87 ../svn/propget-cmd.c:207
#: ../svn/propset-cmd.c:68
#, c-format
msgid "'%s' is not a valid Subversion property name"
msgstr "'%s' no es un nombre válido para una propiedad de Subversion"

#: ../libsvn_subr/opt.c:964
#, c-format
msgid "'%s' is just a peg revision. Maybe try '%s@' instead?"
msgstr ""

#: ../libsvn_subr/opt.c:996

src/subversion/subversion/po/es.po  view on Meta::CPAN

#: ../svn/main.c:833
msgid ""
"Edit a property with an external editor.\n"
"usage: 1. propedit PROPNAME TARGET...\n"
"       2. propedit PROPNAME --revprop -r REV [TARGET]\n"
"\n"
"  1. Edits versioned prop in working copy or repository.\n"
"  2. Edits unversioned remote prop on repos revision.\n"
"     TARGET only determines which repository to access.\n"
"\n"
"See 'svn help propset' for more on setting properties.\n"
msgstr ""
"Edita una propiedad con un editor externo.\n"
"uso: 1. propedit NOMBREPROP OBJETIVO...\n"
"     2. propedit NOMBREPROP --revprop -r REV [OBJETIVO]\n"
"\n"
"  1. Edita propiedades versionadas en la copia de trabajo\n"
"     o en el repositorio.\n"
"  2. Edita propiedades no versionadas remotas en la revisión\n"
"     del repositorio.\n"
"     OBJETIVO sólo se usa para determinar sobre qué repositorio operar.\n"
"\n"
"Vea 'svn help propset' para más información sobre asignar valores\n"
"a propiedades.\n"

#: ../svn/main.c:845
#, fuzzy
msgid ""
"Print the value of a property on files, dirs, or revisions.\n"
"usage: 1. propget PROPNAME [TARGET[@REV]...]\n"
"       2. propget PROPNAME --revprop -r REV [TARGET]\n"
"\n"
"  1. Prints versioned props. If specified, REV determines in which\n"

src/subversion/subversion/po/es.po  view on Meta::CPAN

"\n"
"  1. Lista propiedades versionadas. Si se especifica, REV determina\n"
"     la revisión en la que el objetivo se busca primero.\n"
"  2. Lista propiedades remotas no versionadas en la revisión del\n"
"     repositorio.\n"

#: ../svn/main.c:876
#, fuzzy
msgid ""
"Set the value of a property on files, dirs, or revisions.\n"
"usage: 1. propset PROPNAME PROPVAL PATH...\n"
"       2. propset PROPNAME --revprop -r REV PROPVAL [TARGET]\n"
"\n"
"  1. Changes a versioned file or directory property in a working copy.\n"
"  2. Changes an unversioned property on a repository revision.\n"
"     (TARGET only determines which repository to access.)\n"
"\n"
"  The value may be provided with the --file option instead of PROPVAL.\n"
"\n"
"  Note: svn recognizes the following special versioned properties\n"
"  but will store any arbitrary properties set:\n"
"    svn:ignore     - A newline separated list of file glob patterns to ignore.\n"

src/subversion/subversion/po/es.po  view on Meta::CPAN

"      before it is modified.  Makes the working copy file read-only\n"
"      when it is not locked.  Use 'svn propdel svn:needs-lock PATH...'\n"
"      to clear.\n"
"\n"
"  The svn:keywords, svn:executable, svn:eol-style, svn:mime-type and\n"
"  svn:needs-lock properties cannot be set on a directory.  A non-recursive\n"
"  attempt will fail, and a recursive attempt will set the property\n"
"  only on the file children of the directory.\n"
msgstr ""
"Define el valor de una propiedad en archivos, directorios o revisiones.\n"
"uso: 1. propset NOMBREPROP VALORPROP RUTA...\n"
"     2. propset NOMBREPROP --revprop -r REV VALORPROP [OBJETIVO]\n"
"\n"
"  1. Crea un cambio de valor versionado local en la copia de trabajo.\n"
"  2. Crea un cambio no versionado remoto en el repositorio en la revisión REV.\n"
"     OBJETIVO sólo se usa para determinar sobre qué repositorio operar.\n"
"\n"
"  El valor puede ser dado mediante la opción --file, en vez de usar el\n"
"  parámetro VALORPROP.\n"
"\n"
"  Nota: svn reconoce las siguientes propiedades versionadas\n"
"  especiales, pero almacenará cualquier propiedad arbitraria\n"

src/subversion/subversion/po/es.po  view on Meta::CPAN

#: ../svn/propdel-cmd.c:152
#, c-format
msgid "Attempting to delete nonexistent property '%s'"
msgstr "Intentando borrar propiedad '%s' inexistente"

#: ../svn/propedit-cmd.c:62 ../svn/propedit-cmd.c:315
#, c-format
msgid "Set new value for property '%s' on '%s'\n"
msgstr "Se asignó un nuevo valor a la propiedad '%s' en '%s'\n"

#: ../svn/propedit-cmd.c:92 ../svn/propset-cmd.c:93
msgid "--encoding option applies only to textual Subversion-controlled properties"
msgstr "La opción --encoding sólo aplica en propiedades textuales controladas por Subversion"

#: ../svn/propedit-cmd.c:158
#, c-format
msgid "Set new value for property '%s' on revision %ld\n"
msgstr "Nuevo valor para la propiedad '%s' asignado en la revisión %ld\n"

#: ../svn/propedit-cmd.c:164
#, c-format
msgid "No changes to property '%s' on revision %ld\n"
msgstr "No se modifica la propiedad '%s' en la revisión %ld\n"

#: ../svn/propedit-cmd.c:172
#, c-format
msgid "Cannot specify revision for editing versioned property '%s'"
msgstr "No se puede especificar una revisión para editar la propiedad versionada '%s'"

#: ../svn/propedit-cmd.c:200 ../svn/propset-cmd.c:170
msgid "Explicit target argument required"
msgstr "Se requiere un parámetro explícito con un objetivo"

#: ../svn/propedit-cmd.c:264
#, c-format
msgid "'%s' does not appear to be a working copy path"
msgstr "'%s' no parece ser una ruta de una copia de trabajo"

#: ../svn/propedit-cmd.c:322
#, c-format

src/subversion/subversion/po/es.po  view on Meta::CPAN


#: ../svn/props.c:208
#, c-format
msgid ""
"To turn off the %s property, use 'svn propdel';\n"
"setting the property to '%s' will not turn it off."
msgstr ""
"Para apagar la propiedad %s use 'svn propdel';\n"
"el asignarle '%s' a la propiedad no la apagará."

#: ../svn/propset-cmd.c:127
#, c-format
msgid "Cannot specify revision for setting versioned property '%s'"
msgstr "No se puede especificar una revisión al asignar a la propiedad versionada '%s'"

#: ../svn/propset-cmd.c:163
#, c-format
msgid "Explicit target required ('%s' interpreted as prop value)"
msgstr "Se requiere un objetivo explícito ('%s' interpretado como un valor de propiedad)"

#: ../svn/resolve-cmd.c:80
msgid "missing --accept option"
msgstr "falta la opción --accept"

#: ../svn/resolve-cmd.c:83
msgid "invalid 'accept' ARG"



( run in 1.736 second using v1.01-cache-2.11-cpan-71847e10f99 )