subversion

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

Changeset 858272 is being indexed.

Merge r18146 from trunk to the 1.3.x branch.

Don't block waiting for background jobs of hook scripts.

Votes:

+1: lundblad, dlr, rooneg

Followup to r18105: replace another apr_uuid_get() + apr_uuid_format()

pair with a call to svn_uuid_generate().

* subversion/libsvn_fs_fs/fs_fs.c

(svn_fs_fs__create): Use svn_uuid_generate().

Fix error leaks, adding SVN_ERR() where appropriate.

Found by: julianfoad

* subversion/libsvn_client/locking_commands.c,

subversion/tests/libsvn_repos/repos-test.c,

subversion/libsvn_repos/dump.c,

subversion/libsvn_repos/commit.c,

subversion/svn/util.c,

subversion/libsvn_fs_fs/fs_fs.c

Add SVN_ERR() wrappers to handle errors returned from called functions.

Followup to r17624: Fix a bug in the output of unified diffs where the

wrong results were output if a file had a CR at the end of a 4k buffer.

Review by: lundblad

* subversion/libsvn_diff/diff_file.c

(svn_diff__file_output_unified_line): Remember our position through

the buffer when exiting the loop, after checking for an LF following

a CR at the end of the prior buffer.

Fix issue #1809: Replace svn_client_ls and make recursive ls streamy. Make it

possible to determine if the target of an svn_client_list is a file or

directory by always including the listed target dirent in the result.

* subversion/include/svn_types.h (svn_dirent_t): Add note about extending the

struct.

(svn_dirent_dup): New function.

* subversion/include/svn_client.h

(svn_client_list_func_t): New typedef.

(svn_client_list): Rename from svn_client_ls4 and change the arguments

to use a callback instead of putting everything in hash tables.

(svn_client_ls3): Expand docstring.

* subversion/libsvn_subr/constructors.c (svn_dirent_dup): New function.

* subversion/libsvn_client/list.c: Rename from ls.c.

(get_dir_contents): Call callback instead of putting things in hashes.

Add docstring.

(svn_client_list): Rename from svn_client_ls4 and use callback instead of

hashes. Report the dirent for the target of the operation for both files

and directories.

(ls_baton, store_dirent): New.

(svn_client_ls3): Rewrite in terms of svn_client_list.

* subversion/svn/cl.h

(svn_cl__list): Rename from svn_cl__ls.

* subversion/svn/list-cmd.c: Rename from ls-cmd.c.

(print_baton): New struct.

(print_dirent): Rename from print_dirents, implement svn_client_list_func_t.

Print one dirent.

(print_dirent_xml): Rename from print_dirents_xml, implement

svn_client_list_func_t. Remove useless comments. Print one dirent.

(svn_cl__list): Rename from svn_cl__ls; caller updated.

Use new svn_client_list. Print XML element list here if in XML mode.

Refactor two nested if statements into one.

    • ?
    /trunk/subversion/libsvn_client/list.c
Updated italian translation.

* subversion/po/it.po: - Fixed all fuzzy translations.

* STATUS: Vote for r18146 and move it to approved.

Activate web site linkage to new Merge Tracking documents.

* www/merge-tracking/index.html

Main page for Subversion Merge Tracking. This is where it all

happens, folks!

* www/roadmap.html

Aim "Merge tracking" link to the new page mentioned above.

* www/merge-tracking/requirements.html

Link to CollabNet Enterprise customer summit.

    • ?
    /trunk/www/merge-tracking/index.html
* www/merge-tracking/requirements.html

Placeholder for use cases and requirements, which is also currently

capturing many relevant links

* www/merge-tracking/func-spec.html

* www/merge-tracking/design.html

Placeholders for upcoming content.

    • ?
    /trunk/www/merge-tracking/design.html
    • ?
    /trunk/www/merge-tracking/requirements.html
    • ?
    /trunk/www/merge-tracking/func-spec.html
* www/merge-tracking/summit.html: HTML anchor adjustments.

Remove a CSS hack which I believe is only necessary on the home page.

* www/merge-tracking/summit.html

* www/merge-tracking/summit-survey.html

HTML tweak.

* www/merge-tracking/summit-survey.html: Set svn:mime-type to 'text/html'.

* www/merge-tracking/summit.html

Karl's notes from CollabNet's Merge Tracking Summit. Feedback from

rooneg, cmpilato, djames, and dlr still needs to be incorporated.

    • ?
    /trunk/www/merge-tracking/summit.html
* www/merge-tracking/

New directory which Merge Tracking requirements, specs, research,

etc. will live in.

* www/merge-tracking/summit-survey.html

Responses to a questionnaire sent out before CollabNet's Merge

Tracking Summit.

    • ?
    /trunk/www/merge-tracking/summit-survey.html
* subversion/libsvn_fs_base/bdb/env.c (cleanup_env): Avoid unused variable

warning when !APR_HAS_THREADS.

A follow-up to r18179. No functional change.

* subversion/include/svn_client.h

(svn_client_log2): Adjust wording of @deprecated tag in doc string.

Suggested by: malcolm

Clarify how to run the python tests in a VPATH (srcdir != builddir) setup.

Patch by: Tobias Schäfer <tobiasschaefer@gmx.de>

me

* subversion/tests/cmdline/README

(How To Run The Tests): Add note about VPATH builds.

    • ?
    /trunk/subversion/tests/cmdline/README
* notes/commit-access-templates/contrib-committer.tmpl:

Change address from obsolete svn-committers@red-bean.com to

current svn-full-committers@red-bean.com.

Capitalize 'Subversion'.

Tweak wording to be consistent with the fact that we now specify a role

alias email instead of a list of personal emails.

Explicitly specify that the new committer should add their COMMITTERS line,

as a test that their access is correctly configured.

During repos->wc diffs, handle files added to existing directories in

the same way as files added to added directories, fixing the former for

repos->BASE diffs.

* subversion/libsvn_wc/diff.c

(delete_entry): Replace logic for handling files deleted in the

BASE->repos diff with a call to report_wc_file_as_added().

Fix issue #2287, adding support for peg revisions to 'svn log' and its

underlying API.

* subversion/libsvn_client/log.c

(svn_client_log3): New function based on the previous incarnation of

svn_client_log2() which accepts a peg revision argument.

Highlights of this refactoring removed any meaningful use of

BASE_URL (now IGNORED_URL), and added a block which chooses the

appropriate (youngest) revision to use when opening a RA session.

(svn_client_log2): Delegate to svn_client_log3(), passing a

PEG_REVISION argument with a KIND of svn_opt_revision_unspecified.

* subversion/include/svn_client.h

(svn_client_log3): New declaration based on the previous incarnation

of svn_client_log2() which accepts a peg revision argument.

(svn_client_log2): Deprecated, and adjusted doc string.

* subversion/svn/log-cmd.c

(svn_cl__log): Remove extraneous comment, strip any peg revision off

of the end of the URI (storing it for later use), and update API to

svn_client_log3().

* subversion/tests/cmdline/log_tests.py

(url_missing_in_head): Add peg revision to URI.

(log_through_copyfrom_history): Add peg revision to URI, and command

output.

Patch by: me

S. Ramaswamy <srsy70@gmail.com>

Review by: lundblad

julianfoad

kfogel

Vote for, and move into the approved changes region, r17992.
Stylistic refactoring of svn_client_log2(). No functional change.

* subversion/libsvn_client/log.c

(svn_client_log2): Leverage the extra stack frame used in the

middle of this function for just-in-time declarations of local

variables ERR, START_REVNUM, and END_REVNUM. Remove unnecessary

initialization of START_REVNUM and END_REVNUM.

* STATUS: Nominate (and vote for) r17280, r17992, and r18172.

Merge r17280 and r18172 from trunk.

Create branch for merging r17280 and r18172 to the 1.3.x branch.

Correct usage of the check_log_chain() function, which was being used

as a log chain validity predicate, but is implemented more as an

assertion. Also, improve its argument checking.

* subversion/tests/cmdline/log_tests.py

(check_log_chain): Tweak doc string. Check CHAIN list argument for

content before attempting a pop(), and raise svntest.Failure if

it's empty.

(plain_log, log_with_path_args, log_through_copyfrom_history,

log_limit): Remove unnecessary handling for a return value from

check_log_chain(), which never actually returns anything (only

raises exceptions).

* build/ac-macros/swig.m4

(SVN_FIND_SWIG): Allow SWIG 1.3.26 and 1.3.27.

Followup to r18170. Restore APR 1.x compatibility.

* subversion/libsvn_fs_base/env.c

(svn__atomic_cas): New macro, defined differently for APR 0.9.x and 1.x.

(bdb_cache_init): Change apr_atomic_cas to svn__atomic_cas.

Also fix comment.

In the BDB environment cache, implement an enumerated type using small integers

instead of self-referential pointers, thus allowing the use of apr_atomic_cas()

instead of apr_atomic_casptr(), thus avoiding breaking GCC's strict-aliasing

rules, and provoking warnings. Incidentally, it also avoids confusing humans,

which the use of self-referential pointers merely as unique tokens is prone to

do :-).

* subversion/libsvn_fs_base/bdb/env.c

(bdb_cache_start_init, bdb_cache_init_failed, bdb_cache_initialize):

Remove, replacing with...

(BDB_CACHE_UNINITIALIZED, BDB_CACHE_START_INIT, BDB_CACHE_INIT_FAILED,

BDB_CACHE_INITIIALISED): ...these #defined integer constants.

(bdb_cache_state): Change from a void* to an apr_uint32_t.

(bdb_cache_init): Adapt to the above changes, including replacing all

apr_atomic_casptr() with apr_atomic_cas().

* tools/hook-scripts/mailer/mailer.conf.example:

Some corrections and clarifications.