subversion

Checkout Tools
  • last updated 56 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 872078 is being indexed.

In the ctypes-python-bindings branch: Support propdel.

* csvn/txn.py

(Txn.propdel, _txn_operation.propdel): New method.

(_txn_operation.replay): Support propdel.

In the ctypes-python-bindings branch.

* csvn/repos.py

(RemoteRepository.log, _LogMessageReceiver.collect): Followup to r30346.

Change "verbose" to "discover_changed_paths" in a few more places, fixing

runtime errors.

On the ctypes-python-bindings branch.

* csvn/wc.py

(WC.__init__): Create default user objects when the method

is run, not at startup time.

(WC.diff, WC.export): Pass opt_revision_t objects to C functions

correctly (by reference), fixing crashes in test suite.

[ In the ctypes-python-bindings branch ]

* csvn/repos.py

(RemoteRepository.__init__, LocalRepository.__init__): Create default

user objects when the method is run, not at startup time.

Add serf files to Windows distribution.

* build/win32/make_dist.py

(_disttree): Add serf license and lib.

Add new files to the windows binary distribution and use newer apr

binaries by default.

* build/win32/make_dist.py

(_disttree): Add cyrus-sasl binaries and license, svnmucc, svn-push,

svn-populate-node-origins-index, and openssl executables. Also fix

paths to javahl.

* www/getting.html: Update path to 'svn' binary.
JavaHL: Another follow-up to r31993, changing Path.isURL() to raise

IllegalArgumentException rather than NullPointerException for a null

path input.

[ in subversion/bindings/javahl/ ]

* src/org/tigris/subversion/javahl/Path.java

(isURL): Tweak implementation.

* tests/org/tigris/subversion/javahl/BasicTests.java

(testPathIsURL): Tweak check of null input.

Suggested by: blair

JavaHL: A follow-up to r31993, substituting a trivial scheme check for

usage of java.net.URL, which requires that protocols be registered

with it before being recognized as valid schemes.

[ in subversion/bindings/javahl/ ]

* src/org/tigris/subversion/javahl/Path.java

(isURL): Tweak implementation.

* tests/org/tigris/subversion/javahl/BasicTests.java

(testPathIsURL): Expand variety of protocol schemes tested to

include some Subversion-specific schemes.

Reported by: markphip

Talden <talden@gmail.com>

* STATUS: Nominate r31994 for backport.
JavaHL: Fix bug in the CopySources::array() JNI method, where the peg

revision was extracted incorrectly from a Java object because we were

calling the wrong method (we were using the revision instead).

[ in subversion/bindings/javahl/ ]

* native/CopySources.cpp

(array): Invoke the CopySource.getPegRevision() method when

extracting the peg revision of a copy source from a Java object.

Reported by: Alexander Kitaev <Alexander.Kitaev@svnkit.com>

JavaHL: Add a new API which uses java.net.URL to determine whether the

specified Subversion path is considered to be a URL. This may be

slightly different than what svn_path_is_url() considers to be a URL,

as the latter employs a simplistic implementation.

[ in subversion/bindings/javahl/ ]

* src/org/tigris/subversion/javahl/Path.java

(isURL): Add new API.

* tests/org/tigris/subversion/javahl/BasicTests.java

(testPathIsURL): Add test for the new Path.isURL() method.

Added a simple search interface

* trunk/contrib/client-side/emacs/psvn.el:

(svn-status-grep-files): New function: Run grep on the selected files,

bound to S g

(svn-status-search-files): Search the selected files for a fixed string,

bound to S s

Resolve issue #2597: Add --trust-server-cert option to svn and svnsync,

so that non-interactive operations can work with (e.g.) self-signed

certificates not backed by a known trust authority.

Set up some shared infrastructure:

* subversion/include/svn_cmdline.h

(svn_cmdline_setup_auth_baton): Deprecate, replace with...

(svn_cmdline_set_up_auth_baton): ...this, which takes a new boolean

parameter trust_server_cert.

* subversion/libsvn_subr/cmdline.c

(ssl_trust_unknown_server_cert): New function.

(svn_cmdline_setup_auth_baton): Just wrap below.

(svn_cmdline_set_up_auth_baton): New function, based on above. If

both non_interactive and the new parameter trust_server_cert are

true, then register ssl_trust_unknown_server_cert as a provider.

Add the new option to 'svn':

* subversion/svn/cl.h

(svn_cl__opt_state_t): New boolean trust_server_cert.

* subversion/svn/main.c

(svn_cl__options): Add new "trust-server-cert" option.

(svn_cl__longopt_t): New opt_trust_server_cert enum.

(svn_cl__global_options): Add opt_trust_server_cert to this list.

(main): Parse the new option, do the expect things with the result.

Add the new option to 'svnsync':

* subversion/svnsync/main.c

(svnsync_opt_trust_server_cert): New opt enum.

(SVNSYNC_OPTS_DEFAULT, svnsync_options): List the new option.

(struct opt_baton_t): New field trust_server_cert.

(main): Parse the new option, do the expect things with the result.

Update the expected help output for the tests:

* subversion/tests/cmdline/getopt_tests_data/svn_help_log_switch_stdout:

Adjust for above.

Bugfix for svn-status-update-cmd

* trunk/contrib/client-side/emacs/psvn.el:

(svn-status-update-cmd): Perform user expansion when providing the

default directory for svn, otherwise the svn client does not

handle file names like ~/work as intended

Fix compilation failure with -DNDEBUG.

* subversion/libsvn_subr/io.c

(svn_io_run_diff3_2): Don't assert 'i == nargs' when NDEBUG is defined.

Improve documentation.

* subversion/libsvn_client/merge.c

(prepare_subtree_ranges): Document why we take the last item from the

segments given by 'svn_client__repos_location_segments'.

Suggested by: kfogel

On the issue-2843-dev branch.

Fix copying excluded items.

* subversion/libsvn_wc/copy.c

(post_copy_cleanup): Skip excluded entry.

* subversion/tests/cmdline/depth_tests.py

(excluded_path_operation): Add copy test.

On issue-2843-dev branch.

Check those calls to svn_wc_entry(), svn_wc_entries_read() and

svn_wc_walk_entries3() with show_hidden set to TRUE. The caller should be

prepared to handle excluded items. This only covers part of the potential

modification positions.

* subversion/libsvn_wc/relocate.c

(svn_wc_reloacate3):

* subversion/libsvn_wc/crop.c

(svn_wc_crop_tree):

* subversion/libsvn_wc/props.c

(svn_wc_prop_list, svn_wc_prop_get, modified_props):

* subversion/libsvn_wc/entries.c

(svn_wc_walk_entries3):

* subversion/libsvn_wc/copy.c

(copy_added_dir_administratively):

* subversion/libsvn_wc/adm_ops.c

(process_committed_internal, svn_wc_delete3, revert_entry):

* subversion/libsvn_client/merge.c

(get_mergeinfo_walk_cb):

* subversion/libsvn_client/commit_util.c

(harvest_committables): Handles svn_depth_exclude or Add TODO for later

checking.

    • ?
    /branches/issue-2843-dev/subversion/libsvn_wc/relocate.c
French translation update for r31965.

* subversion/po/fr.po: po-update and one fuzzy fixed.

Housekeeping.

* subversion/libsvn_client/merge.c,

subversion/libsvn_client/mergeinfo.c,

subversion/libsvn_ra_serf/auth.c:

Remove trailing whitespace.

Test case for issue #2242 - auth cache picking up password from wrong

username entry.

* subversion/tests/cmdline/basic_tests.py

(basic_auth_test): New test.

(test_list): Add above test.

Reviewed by: danielsh

* www/project_tools.html: Attempt to make "Announcements" a section header.
* www/links.html (Subversion Clients: stand-alone): Add Versions entry.

Patch by: Quinn Taylor <quinntaylor{_AT_}mac.com>

* www/links.html: Minor formatting fixes.

Suggested by: Quinn Taylor <quinntaylor{_AT_}mac.com>

Fix a doc string. A follow-up to r31978.

* subversion/svnlook/main.c

(do_plist): Document the new argument "xml".

Fix issue #2809: svnlook proplist output should be machine parsable (e.g. XML)

Add '--xml' option for 'svnlook plist' to give XML output when the user

wants it.

* subversion/svnlook/main.c

(): Include svn_xml.h, svn_base64.h.

(enum): Add svnlook__xml_opt.

(options_table, cmd_table, svnlook_opt_state): Add new option for --xml.

(print_xml_prop): New function to print props in xml which is same as

svn_cl__print_xml_prop.

(do_plist): Accept opt_state for xml and throw output in xml if opted.

(subcommand_plist): Call do_plist with xml option state.

(main): Add a case to see whether user provided --xml.

Patch by: stylesen

On the bdb-reverse-deltas branch:

Instead of deltifying old representations against the current fulltext,

deltify the current representation against previous ones, using the

skip delta algorithm conveniently borrowed from FSFS.

Note: This is a very rough patch; there is still a bit of work to do to

ensure that it works, and to update various bits of documentation to

reflect the changed paradigm.

* subversion/libsvn_fs_base/tree.c

(deltify_mutable): Find the appropriate node in the predecessor history

to deltify against and make it so.

Rebranch the bdb-reverse-deltas branch as an implementation playground for

doing FSFS-style reverse deltas in the Berkeley DB backend.

Remove the bdb-reverse-deltas branch, in preparation for rebranching, and

the implementation of a Better Way.