David Samuel Glasser [Thu, 25 Oct 2007 02:27:52 +0000 (25 02:27 +0000)]
On the 'issue-2986-work' branch, merge 27353:27362 from trunk.
(Using "svn merge". Merge tracking. Against a 1.4.x server. Will
wonders never cease?)
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-2986-work@867438 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Thu, 25 Oct 2007 02:25:46 +0000 (25 02:25 +0000)]
This issue is hopefully completed; patch with log message will
hit mailing list shortly for review.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-2986-work@867437 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Wed, 24 Oct 2007 23:05:31 +0000 (24 23:05 +0000)]
Issue #2986 now solved except for local prop mod propagation.
(All tests but update 37 now pass.) Don't review me yet, I'll
get a real log message once local prop mods are dealt with.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-2986-work@867434 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Wed, 24 Oct 2007 22:08:11 +0000 (24 22:08 +0000)]
More work on Issue 2986. Not ready for review.
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-2986-work@867433 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Wed, 24 Oct 2007 21:20:07 +0000 (24 21:20 +0000)]
Temporary checkpoint for work on Issue 2986: rewriting copy-on-update
for better correctness and performance.
* Not finished! *
git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/issue-2986-work@867431 13f79535-47bb-0310-9956-ffa450edef68
Paul Burba [Wed, 24 Oct 2007 18:05:10 +0000 (24 18:05 +0000)]
Stop spurious failure of update_tests.py 40 on Win32.
* subversion/tests/cmdline/svntest/wc.py
(global): import sys
(State.remove, State.tweak): Handle paths with Win32 '\' separators.
State.add already handles this.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867426 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Wed, 24 Oct 2007 16:02:42 +0000 (24 16:02 +0000)]
Fix API violation by ra_local's implementation of svn_ra_get_file: the
implementation should not close the stream given to it. (ra_svn
definitely doesn't, and I'm pretty sure ra_neon and ra_serf don't.)
* subversion/libsvn_ra_local/ra_plugin.c
(svn_ra_local__get_file): Don't close the stream.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867425 13f79535-47bb-0310-9956-ffa450edef68
Lieven Govaerts [Wed, 24 Oct 2007 15:23:01 +0000 (24 15:23 +0000)]
Remove XFail wrappers from the tests testing the relative copy & move
issue. This issue was fixed in apr 0.9.12 which is generally available.
Since buildbot has been upgraded to the latest apr version there's no
reason to keep this XFail's anymore.
* subversion/tests/cmdline/copy_tests.py
(test_list): remove XFail wrapper from move_to_relative_paths and
copy_to_relative_paths.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867424 13f79535-47bb-0310-9956-ffa450edef68
Paul Burba [Wed, 24 Oct 2007 15:10:05 +0000 (24 15:10 +0000)]
Follow-up to r25836, document inclusivity/exclusivity of svn_merge_range_t's
start and end fields.
* subversion/include/svn_types.h
(svn_merge_range_t): Tweak doc string.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867423 13f79535-47bb-0310-9956-ffa450edef68
dustin [Wed, 24 Oct 2007 14:36:27 +0000 (24 14:36 +0000)]
* contrib/client-side/svnmerge/svnmerge.py
(display_revisions, command_table): add '--summarize' option,
pass it to 'svn diff'.
Patch by: Archie Cobbs <archie@dellroad.org>
Review by: Giovanni Bajo <rasky@develer.com>
Jon Schewe <jpschewe@mtu.net>
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867422 13f79535-47bb-0310-9956-ffa450edef68
Fabien Coelho [Wed, 24 Oct 2007 13:18:26 +0000 (24 13:18 +0000)]
French translation update for r27345.
* subversion/po/fr.po: po-update + 11 fuzzy fixed.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867420 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Wed, 24 Oct 2007 09:48:48 +0000 (24 09:48 +0000)]
JavaHL: Fix initialization of the client's conflict resolution
callback, which was getting set to a (bogus) function pointer even
when no ConflictResolutionCallback was set for the client.
* subversion/bindings/javahl/native/SVNClient.cpp
(getContext): If m_conflictResolver is NULL, also initialize
ctx->conflict_func to NULL.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867419 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Wed, 24 Oct 2007 09:35:21 +0000 (24 09:35 +0000)]
Tweak formatting.
* subversion/bindings/javahl/native/SVNClient.cpp
(update): Remove extraneous newline.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867418 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Tue, 23 Oct 2007 23:01:12 +0000 (23 23:01 +0000)]
Fix Issue #2977 (with sussman).
* subversion/libsvn_wc/update_editor.c
(add_file_with_history): Don't copy svn:entry:* props when copying
the file, because they are entry-specific.
(locate_copyfrom): Don't copy from a file with invalid committed or
current revisions (say, because we filtered out copying that
property).
* subversion/tests/cmdline/update_tests.py
(test_list): update_copied_from_replaced_and_changed now passes.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867417 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Tue, 23 Oct 2007 21:09:57 +0000 (23 21:09 +0000)]
Our test suite makes us type the same things over and over. Let's do
some of that.
* subversion/tests/cmdline/diff_tests.py
(diff_backward_repos_wc_copy): Make sure to pass username and
password to a commit.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867416 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Oct 2007 18:53:14 +0000 (23 18:53 +0000)]
Try to be a little forward-thinking with structure members.
* subversion/svn/cl.h
(svn_cl__opt_state_t): Rename ranges_to_merge member to the more
generic revision_ranges. Consumers changed throughout.
* subversion/svn/merge-cmd.c
* subversion/svn/main.c
s/ranges_to_merge/revision_ranges/
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867413 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Tue, 23 Oct 2007 18:29:43 +0000 (23 18:29 +0000)]
Tweak error message formatting.
* subversion/libsvn_wc/merge.c
(svn_wc__merge_internal): Remove trailing periods from error messages.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867412 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Oct 2007 18:25:22 +0000 (23 18:25 +0000)]
* subversion/libsvn_client/merge.c: Formatting changes only.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867411 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Tue, 23 Oct 2007 18:24:47 +0000 (23 18:24 +0000)]
* subversion/libsvn_client/revisions.c
(svn_client__get_revision_number): Remove a 5+ year old FIXME
comment. Because we didn't.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867410 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Tue, 23 Oct 2007 18:21:32 +0000 (23 18:21 +0000)]
When merging property values, obtain any conflict resolution callback
supplied by the client, and use it for resolving any property conflicts.
* subversion/libsvn_client/merge.c
(merge_props_changed): Introduce local variable "ctx" as shortcut
for "merge_b->ctx". Replace use of svn_wc_merge_props() with
svn_wc_merge_props2(), and supply it with "ctx->conflict_func" and
"ctx->conflict_baton".
Found by: Stefan Küng <tortoisesvn@gmail.com>
ehu
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867409 13f79535-47bb-0310-9956-ffa450edef68
xsteve [Tue, 23 Oct 2007 18:09:04 +0000 (23 18:09 +0000)]
New option: svn-log-edit-show-diff-for-commit
* trunk/contrib/client-side/emacs/psvn.el:
(svn-log-edit-show-diff-for-commit): New customizable variable
(svn-status-commit): When svn-log-edit-show-diff-for-commit is t,
show the diff for the changes to commit
Patch by: glasser
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867408 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Oct 2007 17:25:59 +0000 (23 17:25 +0000)]
* subversion/libsvn_client/ra.c
(svn_client__ra_session_from_path): Grrr. Fix a compiler error
introduced in r27332 while trying to fix a type introduced in
r27326.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867407 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Oct 2007 17:23:28 +0000 (23 17:23 +0000)]
* subversion/libsvn_client/ra.c
(svn_client__ra_session_from_path): Oops. Fix a typo I introduced in r27326.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867406 13f79535-47bb-0310-9956-ffa450edef68
Hyrum Kurt Wright [Tue, 23 Oct 2007 17:10:18 +0000 (23 17:10 +0000)]
Add a script to generate a Java class which provides a mapping from C error
codes to a Java enum.
This commit also addes the generated Java class to the repository. Normally,
we don't version generated files, but I think this case warrants an exception.
The C error codes upon which the generated file is based don't change very
often, and futzing with the build system to autogenerate the class would be
Hard (given the need to build and install the python bindings first). Manually
updating the ErrorCodes.java file when the error codes change should be
sufficient.
* tools/dev/gen-javahl-errors.py:
New
* subversion/bindings/javahl/src/org/tigris/subversion/javahl/ErrorCodes.java:
New, generated from tools/dev/gen-javahl-errors.py
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867403 13f79535-47bb-0310-9956-ffa450edef68
nori [Tue, 23 Oct 2007 16:02:04 +0000 (23 16:02 +0000)]
Japanese translation updates.
* subversion/po/ja.po: Carry proofreading of r27239 forward, making
corrections and improvements and unifying terms. This "Take 3" is
for messages in subversion/libsvn_subr.
Now ja.po has 1670 translated messages and 1 fuzzy entry against r27227
(Emacs PO-mode status: "1670t+1f+350o").
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867401 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Oct 2007 15:57:47 +0000 (23 15:57 +0000)]
Fix an suboptimal/race-condition situation in svn_client__get_revision_number.
* subversion/libsvn_client/client.h,
* subversion/libsvn_client/revisions.c
(svn_client__get_revision_number): Add youngest_rev in/out
parameter, used for doing keeping multiple lookups pegged to a
more-or-less static snapshot of the repository.
* subversion/libsvn_client/switch.c
* subversion/libsvn_client/status.c
* subversion/libsvn_client/merge.c
* subversion/libsvn_client/prop_commands.c
* subversion/libsvn_client/ra.c
* subversion/libsvn_client/diff.c
* subversion/libsvn_client/copy.c
* subversion/libsvn_client/mergeinfo.c
* subversion/libsvn_client/blame.c
* subversion/libsvn_client/log.c
* subversion/libsvn_client/update.c
Callers of svn_client__get_revision_number() updated. Most of these
just pass NULL for the new parameter, but for some that had several
invocations near each other I made use of the new facility.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867400 13f79535-47bb-0310-9956-ffa450edef68
Paul Burba [Tue, 23 Oct 2007 15:20:28 +0000 (23 15:20 +0000)]
Follow-up to r27317, fix (copy and paste mistake?) breaking Win32 buildbot.
* subversion/tests/cmdline/svntest/main.py
(run_one): If --http-library option is added to spawn_process args, add
it as itself, not --url.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867399 13f79535-47bb-0310-9956-ffa450edef68
cacknin [Tue, 23 Oct 2007 15:12:27 +0000 (23 15:12 +0000)]
Add a non-regression diff test against bug that r26503 fixes. (see
http://subversion.tigris.org/servlets/ReadMsg?listName=dev&msgNo=129865)
* subversion/tests/cmdline/diff_tests.py
(diff_backward_repos_wc_copy): new test for backward repos->wc diff
against copied-file.
(test_list): add this new test.
Approved by: kfogel
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867398 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Tue, 23 Oct 2007 14:43:13 +0000 (23 14:43 +0000)]
* subversion/libsvn_client/revisions.c
(svn_client__get_revision_number): Rework this as a switch statement.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867397 13f79535-47bb-0310-9956-ffa450edef68
Blair Zajac [Tue, 23 Oct 2007 13:48:23 +0000 (23 13:48 +0000)]
* www/svn_1.5_releasenotes.html:
Document peg revision support and relative URL support in
svn:externals.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867396 13f79535-47bb-0310-9956-ffa450edef68
Blair Zajac [Tue, 23 Oct 2007 13:40:39 +0000 (23 13:40 +0000)]
* www/svn_1.5_releasenotes.html
(apis):
Fix a typo.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867395 13f79535-47bb-0310-9956-ffa450edef68
Blair Zajac [Tue, 23 Oct 2007 04:08:20 +0000 (23 04:08 +0000)]
* www/svn_1.5_releasenotes.html
(apis):
Really fix <li></li>.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867394 13f79535-47bb-0310-9956-ffa450edef68
Blair Zajac [Tue, 23 Oct 2007 03:58:17 +0000 (23 03:58 +0000)]
* www/svn_1.5_releasenotes.html
(apis):
Fix <li></li>'s.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867393 13f79535-47bb-0310-9956-ffa450edef68
Blair Zajac [Tue, 23 Oct 2007 02:48:44 +0000 (23 02:48 +0000)]
* www/svn_1.5_releasenotes.html
(apis):
Add documentation on the changes to svn_opt_parse_path().
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867392 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Mon, 22 Oct 2007 23:19:43 +0000 (22 23:19 +0000)]
Support SERVER_MINOR_VERSION and HTTP_LIBRARY settings for
parallel-mode test suite executions.
* subversion/tests/cmdline/svntest/main.py
(TestSpawningThread.run_one): Pass http_library and
server_minor_version variables through to spawned tests.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867391 13f79535-47bb-0310-9956-ffa450edef68
Hyrum Kurt Wright [Mon, 22 Oct 2007 21:31:42 +0000 (22 21:31 +0000)]
* subversion/bindings/swig/perl/native/Core.pm:
Fix grammatical errors in the documentation.
Also improve wording here and there to make the documentation
more clear and accessible.
Also, there is no 'destroy' function in the code, the author
probably meant the 'DESTROY' function.
Patch by: Stefan Sperling <stsp@elego.de>
(tweaked by me)
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867390 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Mon, 22 Oct 2007 20:07:19 +0000 (22 20:07 +0000)]
Formatting fixes only.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867389 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Mon, 22 Oct 2007 19:58:17 +0000 (22 19:58 +0000)]
Purge some dead code.
* subversion/libsvn_client/merge.c
(struct merge_cmd_baton): Lose 'revision' member...
(svn_client_merge3, svn_client_merge_peg3): ...and trivial uses thereof.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867388 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Mon, 22 Oct 2007 19:33:27 +0000 (22 19:33 +0000)]
Add peg_revision to the new get-location-segments RA API.
* subversion/include/svn_ra.h
(svn_ra_get_location_segments): Add peg_revision parameter.
* subversion/libsvn_ra/ra_loader.h
(svn_ra__vtable_t): Add peg_revision parameter to
get_location_segments vtable member.
(svn_ra__location_segments_from_log): Add peg_revision parameter.
* subversion/libsvn_ra/ra_loader.c
(svn_ra_get_location_segments): Add peg_revision parameter. Update
call to RA plugin get_location_segments API and
svn_ra__location_segments_from_log().
* subversion/libsvn_ra/compat.c
(maybe_crop_and_send_segment): Was send_segment. Add start_rev parameter,
and only transmit segments that are "in scope". Callers updated.
(svn_ra__location_segments_from_log): Add peg_revision parameter,
and logic to validate and use it.
* subversion/libsvn_ra_local/ra_plugin.c
(svn_ra_local__get_location_segments): Add peg_revision parameter,
and pass it to svn_repos_node_location_segments().
* subversion/libsvn_ra_serf/ra_serf.h
(svn_ra_serf__get_location_segments): Add peg_revision parameter.
* subversion/libsvn_ra_serf/getlocationsegments.c
(svn_ra_serf__get_location_segments): Add and use peg_revision parameter.
* subversion/libsvn_ra_neon/ra_neon.h
(svn_ra_neon__get_location_segments): Add peg_revision parameter.
* subversion/libsvn_ra_neon/fetch.c
(svn_ra_neon__get_location_segments): Add and use peg_revision parameter.
* subversion/libsvn_ra_svn/client.c
(ra_svn_get_location_segments): Add and use peg_revision parameter.
* subversion/svnserve/serve.c
(get_location_segments): Parse peg_revision from the network protocol,
validate it, and pass it to svn_repos_node_location_segments().
* subversion/mod_dav_svn/reports/get-location-segments.c
(dav_svn__get_location_segments_report): Parse peg-revision from the REPORT,
validate it, and pass it to svn_repos_node_location_segments().
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867387 13f79535-47bb-0310-9956-ffa450edef68
epg [Mon, 22 Oct 2007 18:48:16 +0000 (22 18:48 +0000)]
* subversion/libsvn_client/log.c
(svn_client_log4): Add TODO comment about using the new capabilities
feature to discover if revprop-filtering is supported.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867386 13f79535-47bb-0310-9956-ffa450edef68
nori [Mon, 22 Oct 2007 18:02:50 +0000 (22 18:02 +0000)]
* subversion/include/svn_error_codes.h
(SVN_ERR_WC_COPYFROM_PATH_NOT_FOUND):
* subversion/libsvn_ra_serf/blame.c
(svn_ra_serf__get_file_revs):
* subversion/libsvn_ra_serf/commit.c
(open_root,
add_directory,
close_file):
* subversion/libsvn_ra_serf/property.c
(svn_ra_serf__get_baseline_info):
* subversion/libsvn_ra_serf/serf.c
(svn_ra_serf__get_latest_revnum,
fetch_path_props,
svn_ra_serf__check_path,
svn_ra_serf__get_dir):
* subversion/libsvn_ra_serf/update.c
(fetch_file,
end_report,
finish_report):
* subversion/libsvn_ra_serf/util.c
(svn_ra_serf__discover_root):
* subversion/libsvn_ra_serf/getlocations.c
(svn_ra_serf__get_locations):
Kill trailing periods to meet our error message conventions.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867385 13f79535-47bb-0310-9956-ffa450edef68
nori [Mon, 22 Oct 2007 17:13:57 +0000 (22 17:13 +0000)]
Japanese translation updates.
* subversion/po/ja.po: Carry proofreading of r27239 forward, making
corrections and improvements and unifying terms. This "Take 2" is
mainly for messages in subversion/libsvn_fs, subversion/libsvn_ra,
subversion/libsvn_ra_local, subversion/libsvn_ra_neon,
subversion/libsvn_ra_serf, subversion/libsvn_ra_svn, and
subversion/libsvn_repos.
Now ja.po has 1670 translated messages and 1 fuzzy entry against r27227
(Emacs PO-mode status: "1670t+1f+350o").
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867384 13f79535-47bb-0310-9956-ffa450edef68
Hyrum Kurt Wright [Mon, 22 Oct 2007 15:13:57 +0000 (22 15:13 +0000)]
* build.conf:
(private-includes): Follow-up to r27245, remove the
ConflictResolverCallback.Result class header file in favor of the
ConflictResult class header file.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867383 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Mon, 22 Oct 2007 14:56:57 +0000 (22 14:56 +0000)]
Fix a failed attempt at optimizing away a youngest-rev check (and a
race condition as a result).
* subversion/libsvn_repos/rev_hunt.c
(svn_repos_node_location_segments): Store the result of svn_fs_youngest_rev
in the youngest_rev variable so we can use that value later instead
of querying again.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867382 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Mon, 22 Oct 2007 14:41:21 +0000 (22 14:41 +0000)]
Add peg revision parameter to new svn_repos_node_location_segments() API.
(This is the first of multiple commits whereby I have the pleasure of
propogating this addition back through the corresponding RA APIs,
fallback code, etc. Yay!)
* subversion/include/svn_repos.h
(svn_repos_node_location_segments): Add a peg revision parameter.
* subversion/libsvn_repos/rev_hunt.c
(maybe_crop_and_send_segment): New helper.
(svn_repos_node_location_segments): Add and use a peg revision parameter.
* subversion/svnserve/serve.c,
* subversion/libsvn_ra_local/ra_plugin.c,
* subversion/mod_dav_svn/reports/get-location-segments.c
Callers of svn_repos_node_location_segments() updated to pass peg
revision (same as start revision for these invocations at the moment).
* subversion/tests/libsvn_repos/repos-test.c
(check_location_segments): Add peg revision and end revision parameters.
(node_location_segments): Add some tests that flex the new peg
revision parameter.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867381 13f79535-47bb-0310-9956-ffa450edef68
Hyrum Kurt Wright [Mon, 22 Oct 2007 12:31:22 +0000 (22 12:31 +0000)]
* tools/dev/random-commits.py:
Set the svn:executable property.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867380 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Mon, 22 Oct 2007 08:52:01 +0000 (22 08:52 +0000)]
Fix spurious comments containing '-g' option, which has been removed
for the 'merge' sub-command.
The merge history option ie., '-g' is removed for 'svn merge' command
in r27259. Remove the spurious comments in merge_tests.py which still
shows the usage of '-g' option in 'svn merge'.
* subversion/tests/cmdline/merge_tests.py
(detect_copy_src_for_target_with_multiple_ancestors,
merge_with_auto_rev_range_detection): Remove '-g' from comment.
Patch by: Senthil Kumaran <senthil@collab.net>
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867379 13f79535-47bb-0310-9956-ffa450edef68
arfrever [Mon, 22 Oct 2007 07:00:25 +0000 (22 07:00 +0000)]
Respect CPPFLAGS in Perl bindings.
* subversion/bindings/swig/perl/native/Makefile.PL.in:
Set cppflags to CPPFLAGS, and use cppflags in config.
Approved by: dlr
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867378 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Mon, 22 Oct 2007 05:46:52 +0000 (22 05:46 +0000)]
JavaHL: Fix issue #2980, SVNAdmin.verify() shouldn't ignore revision
parameters.
[ in subversion/bindings/javahl/ ]
* native/SVNAdmin.h
* native/SVNAdmin.cpp
Include svn_repos.h in the .h and svn_error_codes.h in the .cpp.
(getRevnum): New private static helper function copied from
subversion/svnadmin/main.c:get_revnum(). This would probably be
better off in a shared library in libsvn_subr, with a
project-private header.
(verify): Actually use revisionStart and revisionEnd parameters.
* src/org/tigris/subversion/javahl/SVNAdmin.java
(verify): Improve JavaDoc.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867377 13f79535-47bb-0310-9956-ffa450edef68
jpeacock [Mon, 22 Oct 2007 01:48:59 +0000 (22 01:48 +0000)]
New depth argument for svn_client_commit4 wasn't promoted to
svn_client_commit3 in r26241, thus breaking all older commit API calls.
* subversion/libsvn_client/commit.c
(svn_client_commit3): synthesize depth argument from old recurse argument
Reviewed by: kfogel
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867376 13f79535-47bb-0310-9956-ffa450edef68
Karl Fogel [Sun, 21 Oct 2007 18:57:40 +0000 (21 18:57 +0000)]
* www/project_issues.html
(write-access): Make it easier to figure out how to log in.
Suggested by: Stefan Sperling <stsp@elego.de>
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867375 13f79535-47bb-0310-9956-ffa450edef68
nomis80 [Sun, 21 Oct 2007 15:42:52 +0000 (21 15:42 +0000)]
* contrib/client-side/svn-clean:
Added --exclude flag.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867372 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Sat, 20 Oct 2007 20:36:28 +0000 (20 20:36 +0000)]
Checkouts should not request copyfrom-args to add_file(); updates should.
* subversion/libsvn_client/client.h
(svn_client__update_internal): new send_copyfrom_args argument.
* subversion/libsvn_client/update.c
(svn_client__update_internal): pass new arg to svn_ra_do_update2().
(svn_client_update3, svn_client_update): pass TRUE for new argument.
* subversion/libsvn_client/checkout.c
(svn_client__checkout_internal): pass FALSE for new argument.
* subversion/libsvn_client/externals.c
(switch_external): pass TRUE for new argument.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867371 13f79535-47bb-0310-9956-ffa450edef68
arfrever [Sat, 20 Oct 2007 18:35:17 +0000 (20 18:35 +0000)]
Polish translation update.
* subversion/po/pl.po: Polish translation update.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867370 13f79535-47bb-0310-9956-ffa450edef68
Blair Zajac [Sat, 20 Oct 2007 15:58:13 +0000 (20 15:58 +0000)]
* subversion/mod_dav_svn/mod_dav_svn.c:
Bump the copyright year to 2007.
Whitespace fixes.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867369 13f79535-47bb-0310-9956-ffa450edef68
niqueco [Sat, 20 Oct 2007 04:59:16 +0000 (20 04:59 +0000)]
Spanish translation updated.
* subversion/po/es.po:
Some translation updates.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867368 13f79535-47bb-0310-9956-ffa450edef68
Kamesh J [Fri, 19 Oct 2007 13:09:19 +0000 (19 13:09 +0000)]
Fix issue 2973 - 'revert of a changeset rX on a target with merge history
from same target does not work'
The solution we took to solve is 'Avoid repeat reverse merge only for
non-self reversals'.
* subversion/libsvn_client/merge.c
(calculate_merge_ranges):
Accept 'entry' pointer to child path for which we calculate the
custom merge ranges. Allow self reversals always.
(calculate_remaining_ranges): Update the call to 'calculate_merge_ranges'
as per above singature change.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867365 13f79535-47bb-0310-9956-ffa450edef68
Dongsheng Song [Fri, 19 Oct 2007 10:58:54 +0000 (19 10:58 +0000)]
Simplified Chinese translation.
* subversion/po/zh_CN.po
Translate new messages of subversion.pot@r27289.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867364 13f79535-47bb-0310-9956-ffa450edef68
aogier [Fri, 19 Oct 2007 08:17:06 +0000 (19 08:17 +0000)]
* trunk/contrib/client-side/svn-merge-vendor.py:
Fix a int/string format problem while comparing the "from" and "to" revisions, thanks to Werner Schmitt
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867363 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Fri, 19 Oct 2007 01:28:10 +0000 (19 01:28 +0000)]
* subversion/tests/cmdline/update_tests.py
(update_copied_from_replaced_and_changed): Document as Issue #2977.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867362 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Fri, 19 Oct 2007 00:31:46 +0000 (19 00:31 +0000)]
Fix compilation warning (shadowing of previous variable decl).
* subversion/libsvn_client/merge.c
(discover_and_merge_children): Remove redundant declaration of local
variable "i". Add space-before-paren to flow control statement.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867361 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Fri, 19 Oct 2007 00:27:03 +0000 (19 00:27 +0000)]
New XFail test for a nasty corrupting bug with copy-on-update.
I tested this by noting that it passes if copy-on-update is disabled
by changing the send_copyfrom_args value to FALSE in the call to
svn_ra_do_update2 in
libsvn_client/update.c(svn_client__update_internal), but fails with
clean HEAD.
* subversion/tests/cmdline/update_tests.py
(update_copied_from_replaced_and_changed): New test...
(test_list): ... which is XFail.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867360 13f79535-47bb-0310-9956-ffa450edef68
Paul Burba [Thu, 18 Oct 2007 22:48:47 +0000 (18 22:48 +0000)]
Fix issue #2976 - Subtrees can lose non-inheritable ranges.
* subversion/libsvn_client/merge.c
(mark_mergeinfo_as_inheritable_for_a_range): Put range args to
get_hi_lo_revs_in_rangelist() in the correct order!
* subversion/tests/cmdline/merge_tests.py
(no_mergeinfo_from_no_op_merge): Remove comment about XFail.
(test_list): Remove XFail from no_mergeinfo_from_no_op_merge.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867359 13f79535-47bb-0310-9956-ffa450edef68
Paul Burba [Thu, 18 Oct 2007 21:54:57 +0000 (18 21:54 +0000)]
Expand existing merge_tests.py 64 to cover issue #2976.
* subversion/tests/cmdline/merge_tests.py
(no_mergeinfo_from_no_op_merge): Tack on another merge to the end of
the test to cover issue #2976.
(test_list): Set no_mergeinfo_from_no_op_merge as XFail for now.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867358 13f79535-47bb-0310-9956-ffa450edef68
Kamesh J [Thu, 18 Oct 2007 19:37:37 +0000 (18 19:37 +0000)]
Fix issue 2974 - 'merge notifications show childs as merge targets at times.'
* subversion/libsvn_client/merge.c
(find_nearest_ancestor): Always start the search for nearest ancestor
from 0.
(notification_receiver): Only for operative notification path print merge
begin notification line.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867357 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Thu, 18 Oct 2007 19:14:31 +0000 (18 19:14 +0000)]
* libsvn_delta/debug_editor.c
(add_file): Adjust the indent level, just like with open_file.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867356 13f79535-47bb-0310-9956-ffa450edef68
Blair Zajac [Thu, 18 Oct 2007 19:09:58 +0000 (18 19:09 +0000)]
* subversion/svn/main.c
(svn_cl__cmd_table):
Update the description on svn:externals to document the new
relative externals feature.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867355 13f79535-47bb-0310-9956-ffa450edef68
Paul Burba [Thu, 18 Oct 2007 18:00:27 +0000 (18 18:00 +0000)]
Fix issue #2883 (Effectively reverts r26895 too).
Way back in the day (3 weeks ago) it looked like we could live without
keeping track of working mergeinfo during what might ultimately be a no-op
merge. But as the reopened issue #2883 demonstrated, there are edge cases
where this is still necessary.
* subversion/libsvn_client/merge.c
(merge_cmd_baton): Add new member override_set.
(get_mergeinfo_walk_cb,
insert_parent_and_siblings_of_switched_or_absent_entry,
get_mergeinfo_paths): Revert r26895, store working propvals in
svn_client__merge_path_t's stored in children_with_mergeinfo array.
get_mergeinfo_paths() also sets the new override_set flag if any overrides
are done -- the comments for get_mergeinfo_paths() go into detail regarding
what these overrides are and why they are needed.
(discover_and_merge_children): Remove any mergeinfo overrides done by
get_mergeinfo_paths() if this is a no-op merge - effectively doing the job
of cleanup_noop_merge that was reverted in r26836.
(svn_client_merge3, svn_client_merge_peg3): Initialize merge_cmd_baton's
new override_set member.
* subversion/libsvn_client/mergeinfo.h
(svn_client__merge_path_t): Put 'propval' member back, reverting r26895.
* subversion/tests/cmdline/merge_tests.py
(test_list): Remove XFail from no_mergeinfo_from_no_op_merge.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867354 13f79535-47bb-0310-9956-ffa450edef68
Paul Burba [Thu, 18 Oct 2007 14:44:58 +0000 (18 14:44 +0000)]
Expand merge_tests.py 64 to cover reopened issue #2883 and set it as XFail.
* subversion/tests/cmdline/merge_tests.py
(no_mergeinfo_from_no_op_merge): Test for "phantom" mergeinfo mods during
a no-op merge.
(test_list): Set no_mergeinfo_from_no_op_merge to XFail.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867353 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Thu, 18 Oct 2007 14:18:11 +0000 (18 14:18 +0000)]
Fix broken merge tests by actually conforming to the conflict-callback API. :-)
* subversion/libsvn_client/merge.c
(conflict_resolver): always return an svn_wc_conflict_result_t.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867352 13f79535-47bb-0310-9956-ffa450edef68
Fabien Coelho [Thu, 18 Oct 2007 12:14:37 +0000 (18 12:14 +0000)]
Bash completion updated.
* tools/client-side/bash_completion: -g option for some subcommands.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867351 13f79535-47bb-0310-9956-ffa450edef68
Fabien Coelho [Thu, 18 Oct 2007 12:08:21 +0000 (18 12:08 +0000)]
French translation update for r27275.
* subversion/po/fr.po: 19 fuzzy and 7 untranslated fixed.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867350 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Thu, 18 Oct 2007 09:57:50 +0000 (18 09:57 +0000)]
Fix compilation warning when building the SWIG/Python bindings.
* subversion/include/svn_wc.h
(svn_wc_canonicalize_svn_prop): Rename GETTER parameter to PROP_GETTER.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867349 13f79535-47bb-0310-9956-ffa450edef68
Kamesh J [Thu, 18 Oct 2007 09:21:21 +0000 (18 09:21 +0000)]
Indentation cleanup.
* subversion/libsvn_client/merge.c
(calculate_merge_ranges): Indent target_rangelist. Align arguments to qsort
call.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867348 13f79535-47bb-0310-9956-ffa450edef68
Kamesh J [Thu, 18 Oct 2007 08:51:31 +0000 (18 08:51 +0000)]
Code cleanup.
* subversion/libsvn_client/merge.c
(populate_remaining_ranges): Take advantage of Depth First ordering
instead of checking for 'target' for each iteration we can do it at last on
0th item from children_with_mergeinfo.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867347 13f79535-47bb-0310-9956-ffa450edef68
Kamesh J [Thu, 18 Oct 2007 07:15:50 +0000 (18 07:15 +0000)]
Code cleanup.
* subversion/libsvn_client/merge.c
(determine_merges_performed): Reduce the scope of 'skipped_path'
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867346 13f79535-47bb-0310-9956-ffa450edef68
Blair Zajac [Thu, 18 Oct 2007 06:06:48 +0000 (18 06:06 +0000)]
Implement relative URLs for externals. The following formats are
supported:
../ relative to the parent directory of the external
^/ relative to the repository root
// relative to the scheme
/ relative to the server's hostname
The ../ and ^/ relative URLs may use .. to remove path elements up to
the server root.
* subversion/libsvn_client/client.h,
(svn_client__handle_externals),
(svn_client__fetch_externals):
Take three additional arguments, the repository root URL and the
path to the top of the check out or export and the URL it
corresponds to.
* subversion/libsvn_client/externals.c
(handle_external_item_change_baton):
Add two fields to this structure, the URL corresponding to the
parent directory and the URL for the repository root.
(handle_externals_desc_change_baton):
Add three fields to this structure, the repository root URL and a
path to the directory being exported or checked out and the URL
it corresponds to.
(handle_externals_desc_change):
Pass FALSE to svn_wc_parse_externals_description3() to no longer
conicalize the external URL.
Calculate the URL of the parent directory of the external item.
(uri_scheme):
New static function that returns the scheme of an URI.
Code copied from skip_uri_scheme().
(resolve_relative_external_url):
New static function that resolves a relative URL using the
repository and parent directory URLs.
(handle_external_item_change):
Use resolve_relative_external_url() to get absolute URLs of the
old and new external URLs.
(svn_client__handle_externals),
(svn_client__fetch_externals):
Pass the new arguments down into the
handle_externals_desc_change_baton structure.
(svn_client__do_external_status):
Pass FALSE to svn_wc_parse_externals_description3() to no longer
conicalize the external URL.
* subversion/libsvn_client/export.c
(copy_versioned_files):
Pass FALSE to svn_wc_parse_externals_description3() to no longer
conicalize the external URL.
(svn_client_export4):
Pass the path being exported to, the URL being exported and the
repository root URL to svn_client__fetch_externals().
* subversion/libsvn_client/update.c
(svn_client__update_internal):
Pass the anchor path being updated, the URL corresponding to the
anchor and the repository root URL to
svn_client__handle_externals().
* subversion/libsvn_wc/props.c
(svn_wc_canonicalize_svn_prop):
Pass FALSE to svn_wc_parse_externals_description3() to no longer
conicalize the external URL.
(svn_wc_parse_externals_description3):
Disambiguate that an external of the form "/path /path" is taken
to be a "URL DIR" and allow peg revisions to be used in this
form.
* subversion/libsvn_client/switch.c
(svn_client__switch_internal):
Pass the path being switched, the URL being switched to and the
repository root URL to svn_client__handle_externals().
* subversion/libsvn_wc/status.c:
(get_dir_status):
Pass FALSE to svn_wc_parse_externals_description3() to no longer
conicalize the external URL.
* subversion/tests/cmdline/externals_tests.py:
(externals_test_setup):
Use each style of relative URL in the externals created here.
(update_receive_new_external),
(update_lose_external),
(update_change_pristine_external),
(update_change_modified_external),
(modify_and_update_receive_new_external):
Use relative externals in the new external descriptions.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867344 13f79535-47bb-0310-9956-ffa450edef68
Karl Fogel [Thu, 18 Oct 2007 03:47:39 +0000 (18 03:47 +0000)]
* www/hacking.html (lightweight-branches): Further tweaks.
Suggested by: glasser
(Not the part about removing the branch, though.)
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867343 13f79535-47bb-0310-9956-ffa450edef68
Blair Zajac [Thu, 18 Oct 2007 01:23:27 +0000 (18 01:23 +0000)]
Fix an inconsistency in svn_opt_parse_path() with using a trailing @
to protect a @ earlier in the path or URL. Currently:
svn_opt_parse_path("foo/bar") returns svn_opt_revision_unspecified
svn_opt_parse_path("http://host/foo") returns svn_opt_revision_unspecified
but
svn_opt_parse_path("foo/bar@") returns svn_opt_revision_base
svn_opt_parse_path("http://host/foo@") returns svn_opt_revision_head
For consistency, the latter two should return svn_opt_revision_unspecified.
* subversion/libsvn_subr/opt.c
(svn_opt_parse_path):
Return svn_opt_revision_unspecified when a @ is used to protect an
earlier @.
* subversion/tests/libsvn_subr/opt-test.c
(test_parse_peg_rev):
Check that "foo/bar@" returns svn_opt_revision_unspecified.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867342 13f79535-47bb-0310-9956-ffa450edef68
Karl Fogel [Thu, 18 Oct 2007 00:44:44 +0000 (18 00:44 +0000)]
* www/hacking.html (lightweight-branches): New section.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867341 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Thu, 18 Oct 2007 00:29:04 +0000 (18 00:29 +0000)]
Make sure we wait on the right PID in the test suite. Makes
--parallel more stable.
* subversion/tests/cmdline/svntest/main.py
(): Instead of checking to see if we have os.wait, check to see if
we have popen2.Popen3.
(open_pipe): New function to replace calls to os.popen3; returns the
three file descriptors and a token to pass to wait_on_pipe. On
Unix this token is the Popen3 object and the command; on Windows it
is None.
(wait_on_pipe): New function; on Unix, waits on the provided Popen3
object and deals with errors.
(spawn_process): Use open_pipe and wait_on_pipe instead of os.popen3
and dealing with wait itself.
(copy_repos): Use open_pipe and wait_on_pipe instead of os.popen3
and child endangerment.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867340 13f79535-47bb-0310-9956-ffa450edef68
Paul Burba [Thu, 18 Oct 2007 00:21:51 +0000 (18 00:21 +0000)]
Follow-up to r27259, stop using unsupported -g option in merge_tests.py.
* subversion/tests/cmdline/merge_tests.py
(mergeinfo_inheritance_and_discontinuous_ranges,
detect_copy_src_for_target_with_multiple_ancestors,
merge_with_auto_rev_range_detection,
mergeinfo_recording_in_skipped_merge,
propchange_of_subdir_raises_conflict,
merge_target_with_non_inheritable_mergeinfo): No more
-g/--use-merge-history.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867339 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Wed, 17 Oct 2007 23:42:14 +0000 (17 23:42 +0000)]
Change the threading semantics of --parallel in the test suite to use
a Queue.
Formerly, we spawned a thread for each test case which forks a
subprocess for the test case. Communication between workers and the
master happened via an unsynchronized list; and the master did a lot
of sleeping.
Instead, we make a synchronized Queue containing the test numbers,
fork off 5 threads from the get-go, and have the threads fetch numbers
from the queue. The parent just starts the children and joins them;
no extra sleep(0.2) necessary, and almost everything is thread-safe.
(I did not fix the fact that the children do a popen/wait instead of a
waitpid, and thus may end up wait()ing on the wrong child and thus
getting the wrong result; it's unclear if there is a way to do this
that works on Windows before Python 2.4.)
* subversion/tests/cmdline/svntest/main.py
(): Import Queue (which was around in Python 2.0, don't worry).
(spawn_process): Even in verbose mode, no need to print out commands
which are running the suite itself from helper threads.
(TestSpawningThread): Complete rewrite of SpawnTest; see above for
explanation.
(_internal_run_tests): Rewrite parallel section; see above.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867338 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Wed, 17 Oct 2007 22:24:18 +0000 (17 22:24 +0000)]
Fix a sizeof to take the size of the correct pointer type.
* subversion/libsvn_fs_fs/fs_fs.c
(svn_fs_fs__abort_txn): dir_cache_id is an array of svn_fs_id_t *,
not apr_hash_t *, so use that when calculating the block of memory
to memset.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867337 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Wed, 17 Oct 2007 22:22:07 +0000 (17 22:22 +0000)]
* www/merge-tracking/design.html (commutative-reporting): Correct API names.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867336 13f79535-47bb-0310-9956-ffa450edef68
C. Michael Pilato [Wed, 17 Oct 2007 22:13:39 +0000 (17 22:13 +0000)]
Lose a bunch of compiler warnings.
* subversion/libsvn_diff/diff_memory.c
(fill_source_tokens): Const-ify the 'text' parameter, but cast that
away when assigning it to src->source.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867335 13f79535-47bb-0310-9956-ffa450edef68
Philip Martin [Wed, 17 Oct 2007 22:04:06 +0000 (17 22:04 +0000)]
* contrib/hook-scripts/case-insensitive.py: Add a licence statement.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867334 13f79535-47bb-0310-9956-ffa450edef68
Daniel Rall [Wed, 17 Oct 2007 21:22:11 +0000 (17 21:22 +0000)]
Remove the need for the '-g' option to 'svn merge', which was
originally introduced as required to guard against use of 'svn merge'
to get help output. After further consideration, those originally
favoring this option have declared it silly.
* subversion/svn/main.c
(svn_cl__cmd_table): Remove '-g' from 'merge' command. Adjust help
accordingly.
* subversion/svn/merge-cmd.c
(svn_cl__merge): Remove check of opt_state->use_merge_history.
Suggested by: cmpilato
kfogel
lgo
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867333 13f79535-47bb-0310-9956-ffa450edef68
vgeorgescu [Wed, 17 Oct 2007 20:12:27 +0000 (17 20:12 +0000)]
Make 'svn status' respect ambient depths.
* subversion/libsvn_client/status.c
(svn_client_status3): Don't convert svn_depth_unknown to
svn_depth_infinity.
* subversion/libsvn_wc/status.c
(get_dir_status): Convert svn_depth_unknown to infinity here, because it's
a local operation and it simplifies the code.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867332 13f79535-47bb-0310-9956-ffa450edef68
David Samuel Glasser [Wed, 17 Oct 2007 19:22:37 +0000 (17 19:22 +0000)]
Don't retrieve the contents of *mutable* directories from the dir
cache, because they might have been changed by another FS object.
(To make this change as minimal as possible, we still do save them
into the cache; we just don't retrieve them.)
This fixed a user-reported error where some changes made by a
pre-commit txn don't "stick", because the cache of the root node
contents in the server process doesn't get invalidated when the hook
makes changes. (It's the root node because the cache only stores one
directory per "rev", and that's the last one cached in "rev" -1.) One
can imagine other circumstances where this would be problematic as
well.
* subversion/libsvn_fs_fs/fs_fs.c
(svn_fs_fs__rep_contents_dir): Don't look in the cache for mutable
directory contents.
Reported by: Dmitry Konyshev <dmitry.konyshev@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867330 13f79535-47bb-0310-9956-ffa450edef68
nori [Wed, 17 Oct 2007 19:15:29 +0000 (17 19:15 +0000)]
Japanese translation updates.
* subversion/po/ja.po: Fix a typo: "svn:external" should be
"svn:externals".
Now ja.po has 1670 translated messages and 1 fuzzy entry against r27227
(Emacs PO-mode status: "1670t+1f+350o").
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867329 13f79535-47bb-0310-9956-ffa450edef68
Hyrum Kurt Wright [Wed, 17 Oct 2007 18:25:21 +0000 (17 18:25 +0000)]
* subversion/libsvn_wc/props.c
(maybe_generate_propconflict): Fix compilation warning by removing address
operator.
Patch by: sussman
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867328 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Wed, 17 Oct 2007 18:12:50 +0000 (17 18:12 +0000)]
Make libsvn_wc enforce conflict-callback API more strictly.
* subversion/libsvn_wc/merge.c
(svn_wc__merge_internal): throw error if the callback doesn't
return a result_t object or a merged_file.
* subversion/libsvn_wc/props.c
(maybe_generate_propconflict): same thing here.
* subversion/svn/cl.h, subversion/svn/conflict-callbacks.c
(svn_cl__ignore_conflicts): delete crufy old debugging function.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867327 13f79535-47bb-0310-9956-ffa450edef68
nori [Wed, 17 Oct 2007 18:01:43 +0000 (17 18:01 +0000)]
Japanese translation updates.
* subversion/po/ja.po: Start proofreading of r27239, making corrections
and improvements and unifying terms. This "Take 1" is mainly for
messages in subversion/include and subversion/libsvn_client.
Now ja.po has 1670 translated messages and 1 fuzzy entry against r27227
(Emacs PO-mode status: "1670t+1f+350o").
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867326 13f79535-47bb-0310-9956-ffa450edef68
Hyrum Kurt Wright [Wed, 17 Oct 2007 17:42:26 +0000 (17 17:42 +0000)]
* subversion/bindings/javahl/src/org/tigris/subversion/javahl/ConflictResolverCallback.java
(resolve): Follow-up to r27245, fixing the docstring to refer to a changed
class name.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867325 13f79535-47bb-0310-9956-ffa450edef68
Ben Collins-Sussman [Wed, 17 Oct 2007 16:55:45 +0000 (17 16:55 +0000)]
Let user resolve property conflicts interactively.
Review is most welcome!
* subversion/libsvn_wc/props.c
(maybe_generate_propconflict): attempt to contextually merge propvalues.
* subversion/svn/conflict-callbacks.c
(svn_cl__conflict_handler): display property conflicts interactively.
* subversion/include/svn_diff.h, subversion/libsvn_diff/diff_memory.c
(svn_diff_mem_string_diff,
svn_diff_mem_string_diff3,
svn_diff_mem_string_diff4,
svn_diff_mem_string_output_unified,
svn_diff_mem_string_output_merge): take const svn_string_t args, please.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867324 13f79535-47bb-0310-9956-ffa450edef68
Mark Phippard [Wed, 17 Oct 2007 16:40:09 +0000 (17 16:40 +0000)]
JavaHL: Followup to r26891 - Added a new set of methods that convert a
recurse=true boolean to Depth.unknown and modified the appropriate methods
to use it.
[ in subversion/bindings/javahl/ ]
* src/org/tigris/subversion/javahl/SVNClient.java
(status, diff, doSwitch, update): Replaced Depth.infinityOrXXX with
Depth.unknownOrXXX. A value of infinity would destroy the depth
of the working copy when update or doSwitch are used.
* src/org/tigris/subversion/javahl/Depth.java
(unknownOrEmpty, unknownOrFiles, unknownOrImmediates): New depth
selection "macros", replacing the fromRecurse() routine.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867323 13f79535-47bb-0310-9956-ffa450edef68
Blair Zajac [Wed, 17 Oct 2007 16:24:14 +0000 (17 16:24 +0000)]
* subversion/libsvn_client/switch.c:
Wrap a comment to fit in 80 characters.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867322 13f79535-47bb-0310-9956-ffa450edef68
Paul Burba [Wed, 17 Oct 2007 15:21:45 +0000 (17 15:21 +0000)]
Cleanup some merge_tests.py work in progress that found it's way in r27133.
* subversion/tests/cmdline/merge_tests.py
(expected_merge_output): Generate expected notification output for multiple
revisions/revision ranges.
(expected_merge_output3): Remove, this should have been rolled into
expected_merge_output.
(textual_merges_galore, merge_one_file_helper,
merge_with_implicit_target_helper, merge_with_prev,
merge_binary_with_common_ancestry, tweak_src_then_merge_to_dest,
mergeinfo_inheritance, mergeinfo_elision,
mergeinfo_inheritance_and_discontinuous_ranges, merge_to_switched_path,
empty_rev_range_mergeinfo, prop_add_to_child_with_mergeinfo,
diff_repos_does_not_update_mergeinfo,
single_file_replace_style_merge_capability,
merge_fails_if_subtree_is_deleted_on_src, no_mergeinfo_from_no_op_merge,
merge_with_child_having_different_rev_ranges_to_merge, cherry_picking):
Update calls to expected_merge_output().
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867321 13f79535-47bb-0310-9956-ffa450edef68
Hyrum Kurt Wright [Wed, 17 Oct 2007 15:19:36 +0000 (17 15:19 +0000)]
* subversion/bindings/javahl/native/JNIStringHolder.h:
Followup to r27244, fix compliation error.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@867320 13f79535-47bb-0310-9956-ffa450edef68