subversion

Checkout Tools
  • last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 869241 is being indexed.

Rev the svn_ra_get_uuid and svn_ra_get_repos_root interfaces to get a

more natural API, where the pool you provide is actually meaningful

and the returned value is allocated in it as you might expect.

* subversion/include/svn_ra.h

(svn_ra_get_uuid2, svn_ra_get_repos_root2): New functions.

(svn_ra_get_uuid, svn_ra_get_repos_root): Update docstrings.

* subversion/libsvn_ra/ra_loader.c

(svn_ra_get_uuid2, svn_ra_get_repos_root2): New functions.

(svn_ra_reparent): Use svn_ra_get_repos_root2() instead of

svn_ra_get_repos_root().

* subversion/libsvn_ra/compat.c,

* subversion/libsvn_client/relocate.c,

* subversion/libsvn_client/switch.c,

* subversion/libsvn_client/externals.c,

* subversion/libsvn_client/util.c,

* subversion/libsvn_client/export.c,

* subversion/libsvn_client/status.c,

* subversion/libsvn_client/info.c,

* subversion/libsvn_client/merge.c,

* subversion/libsvn_client/ra.c,

* subversion/libsvn_client/checkout.c,

* subversion/libsvn_client/copy.c,

* subversion/libsvn_client/list.c,

* subversion/libsvn_client/update.c,

* subversion/svnsync/main.c

Callers of svn_ra_get_uuid() and svn_ra_get_repos_root() changed to

call svn_ra_get_uuid2() and svn_ra_get_repos_root2(), respectively,

and now-unnecessary string dupes removed.

* subversion/libsvn_ra_neon/util.c

(svn_ra_neon__parsed_request): Don't wrap the error with info about

the HTTP method.

* STATUS: Update the group of changes about issue #3026.

* subversion/include/svn_opt.h

(svn_opt_args_to_target_array3): Further documentation clarification.

Documentation fixes.

Patch by: Augie Fackler: <durin42@gmail.com>

me

* subversion/include/svn_opt.h

(svn_opt_args_to_target_array3): Updated documentation to describe how the

errors work, and make this the version against which the old is compared.

(svn_opt_args_to_target_array2): Update the documentation so this describes

how it is different from svn_opt_args_to_target_array3().

Add r29161 to the r29139 group.
Revert unrelated changes accidentally committed in r29139. The

changes were as follows; thus read this log message in a negative

frame of mind to understand the reversion.

* subversion/libsvn_fs_fs/fs_fs.c

(path_node_origins): Tweak to calculate the path to a node-origins

file based on the node-id minus it's last character.

(get_node_origins_from_file, set_node_origins_for_file): New helper

functions.

(svn_fs_fs__get_node_origin): Now use get_node_origins_from_file()

to get a hash of node origins, and find what it seeks in the hash.

(svn_fs_fs__set_node_origins, svn_fs_fs__set_node_origin): Now use

set_node_origins_for_file(), fiddling with data as necessary to do so.

STATUS: Vote against r29139.
Merge r29148 from trunk: Fix a path canonicalization bug in ra_serf that

broke WC entries files.

Approved by: +1: cmpilato, epg

Merge r29111 from trunk: Fix blame_tests 10 and 11 over ra_dav by using

standard usernames.

Approved by: +1: hwright, epg

Vote for r29148 and r29111, moving to Approved section.

Nominate r29155.

Add --installed-libs option, allowing packagers to build parts of svn

(usually bindings) against installed svn libraries.

* Makefile.in

(swig-pl_DEPS): Remove libsvn_client libsvn_delta libsvn_diff libsvn_fs

libsvn_ra libsvn_repos libsvn_subr libsvn_wc so that swig-pl can be

built against installed libraries, as py and rb already can.

* build/generator/gen_make.py

(Generator.write): Load gen-make.opts and save the list of installed

libraries in self.installed_libs. For libraries in the list, write out

-l lines instead of references to the .la file, and don't attempt to

build that library.

* gen-make.py

(_usage_exit): Document --installed-libs option.

(): And parse it from sys.argv.

Recommend r29153 for backport.
Prevent a segfault triggered by invoking 'svn mergeinfo' with a

non-URL as the argument to the --from-source option.

* subversion/svn/main.c

(main): Raise an error if the argument to --from-source is not a URL.

* subversion/libsvn_client/mergeinfo.c

(svn_client_mergeinfo_get_available): Assert that from_source_url is a URL.

While here, delay pool and RA session creation as long as possible.

Revert r29151 wholesale.

### THIS CHANGE WAS REVERTED IN r29152. ###

Prevent a segfault triggered by invoking 'svn mergeinfo' with a

non-URL as the argument to the --from-source option.

* subversion/svn/main.c

(main): Raise an error if the argument to --from-source is not a URL.

* subversion/libsvn_client/mergeinfo.c

(svn_client_mergeinfo_get_available): Assert that from_source_url is a URL.

While here, delay pool and RA session creation as long as possible.

* subversion/svnadmin/main.c

### TOTALLY BOGUS ACCIDENTAL CHANGE ###

* STATUS: Nominate r29143.

Recommend r29148 for backport.
Fix a bug in ra_serf where the computed repository root was not canonical,

which caused working copy corruption.

* subversion/libsvn_ra_serf/util.c

(svn_ra_serf__discover_root): Canonicalize repos_root_str when

discovering the repository root.

Patch by: Augie Fackler: <durin42@gmail.com>

(Tweaked by me.)

Remove now-obsolete branches.
* STATUS:

Add r29135, r29136, r29138 to the #3026 issue fix.

Merge r29144 from trunk: remove TODO-1.5-branch.

Approved by:

+1: hwright, glasser (via IRC)

* TODO-1.5-branch:

Remove, we branched in r29081.

Fix duplicate revision filtering for 'svn blame -g'. We need to set the

duplicate revision hash unconditionally (not just when including merged

revisions), and we need to use the parent pool so that the key lifetime extends

through multiple invocations of find_interesting_revisions().

* subversion/libsvn_repos/rev_hunt.c

(find_interesting_revisions): Unconditionally add to the duplicate revision

hash, and use the parent pool when doing so.

Vote against the Issue #3026 bugfix until docstring is fixed.
Propose r29139 for backport (and fix some alignment elsewhere).
Remove merge (and now obsolete) branch.
Merge all changes (r29086:29138) from the 'svnadmin-upgrade' branch,

introducing (of all things) a new 'svnadmin upgrade' subcommand and

backing APIs.

(Merged branches/svnadmin-upgrade:29087-29138.)

Followup to r29136: Chain errors properly, just like they were in r29127.

* subversion/libsvn_subr/opt.c

(svn_opt_args_to_target_array3): Chain successive errors together.