Martin Hauner <martin.hauner{_at_}gmx.net>


Patch Suggested
r39462, r34487, r31944, r20174, r20077, r16476, r11592, r10611, r10092, r7244 r25517, r19479, r15729

r39462 | gstein | 2009-09-19 07:08:50 -0500 (Sat, 19 Sep 2009)

Use result_pool/scratch_pool paradigm in libsvn_wc.

* subversion/libsvn_wc/log.h:
* subversion/libsvn_wc/log.c:
  (...): renamed all pool parameters to result_pool or scratch_pool, or
    split them into result_pool and scratch_pool depending on a functions
    pool usage.

* subversion/libsvn_wc/adm_ops.c:
* subversion/libsvn_wc/merge.c:
* subversion/libsvn_wc/props.c:
* subversion/libsvn_wc/update_editor.c:
  (...): adjusted all calls to log.h to use two pool parameters.

Patch by: Martin Hauner <martin.hauner{_at_}gmx.net>


r34487 | danielsh | 2008-11-30 15:31:48 -0600 (Sun, 30 Nov 2008)

Fixed backward compatibility bug: it was not possible to commit only
property changes on a folder with modified child items.

Patch by: Martin Hauner <martin.hauner@gmx.net>
          me
(Martin found the bug in and wrote the fix to libsvn_client.)


* subversion/libsvn_client/deprecated.c
  (svn_client_commit3):
    Turn non recursive into svn_depth_empty instead of svn_depth_files.

* subversion/svn/main.c
  (main):  Map '-N' to '--depth=empty' for 'svn commit'.


* subversion/tests/cmdline/commit_tests.py
  (commit_nonrecursive):
    Fix the test to expect 'commit -N' to mean 'commit --depth=empty'.
    While here, extend the 'add' scenario in the test.

* subversion/tests/cmdline/depth_tests.py
  (commit_propmods_with_depth_empty):
    Extract helper function and run it twice: with '-N' and
    with '--depth=empty'.
  (commit_propmods_with_depth_empty_helper):
    Renamed from 'commit_propmods_with_depth_empty' and added 'depth_arg'
    parameter.

r31944 | kfogel | 2008-07-01 10:19:40 -0500 (Tue, 01 Jul 2008)

Fix two bugs in log message compatibility code.

Patch by: Martin Hauner <martin.hauner@gmx.net>

* subversion/libsvn_client/commit_util.c
  (svn_client__get_log_msg): Construct array using pointer size, not
    object size.  Pass the right parameter in a function call. 


r25517 | lgo | 2007-06-23 13:45:34 -0500 (Sat, 23 Jun 2007)

Fix backwards compatibility issue with svn_client_status2.

Suggested by: Martin Hauner <martin.hauner@gmx.net>

* subversion/include/svn_types.h
  (SVN_DEPTH_FROM_RECURSE_STATUS): add new macro, to be used when converting
   recursion (-N) to depth for status.

* subversion/libsvn_client/status.c
  (svn_client_status2): use the new macro to convert recursion to depth.


r20174 | rooneg | 2006-06-19 12:27:51 -0500 (Mon, 19 Jun 2006)

Added XFail test that checks status -u -N output from different working
directories.

Patch by: Martin Hauner <martin.hauner@gmx.net>

* subversion/tests/cmdline/stat_tests.py
  (status_nonrecursive_update_different_cwd): new test.
  (test_list): added status_nonrecursive_update_different_cwd.


r20077 | rooneg | 2006-06-13 10:14:35 -0500 (Tue, 13 Jun 2006)

Fix issue #2515.  Merging an added directory on a deleted directory in
the target fails.  Includes a unit test to ensure this doesn't happen
again.

Patch by: Martin Hauner <Martin.Hauner@gmx.net>
          me

* subversion/libsvn_client/repos_diff.c
  (add_directory): always set lenient parameter of get_path_access
   to TRUE.

* subversion/tests/cmdline/merge_tests.py
  (merge_added_dir_to_deleted_in_target): new test.
  (test_list): added new test.


r19479 | lundblad | 2006-05-01 11:33:20 -0500 (Mon, 01 May 2006)

In diff --summarize, don't show file with both text and prop modifications
as having only property modifications.

Suggested by: Stefan Küng <tortoisesvn@gmail.com>
              Martin Hauner <martin.hauner@gmx.net>

* subversion/libsvn_client/repos_diff_summarize.c
  (ensure_summarize): Drop the sum_kind parameter.  Initialize the kind to
  normal.
  (add_directory, add_file, apply_textdelta, change_prop): Initialize
  the summary kind if appropriate.


r16476 | lundblad | 2005-10-05 02:35:27 -0500 (Wed, 05 Oct 2005)

Add new client API calls svn_client_diff_summarize and 
svn_client_diff_summarize_peg.
A diff summary lists the changed items without calculating text deltas.

To achieve this the svn_ra__vtable_t do_diff function got a new boolean
parameter text_deltas that is finally passed to svn_repos_begin_report
to run the diff without creating text deltas.

Patch by: Martin Hauner <martin.hauner@gmx.net>
          me


* subversion/include/svn_ra.h
  (svn_ra_do_diff2): New method, similar to svn_ra_do_diff but with a
  new text_deltas boolean parameter.
  (svn_ra_do_diff): Deprecated.

* subversion/libsvn_ra/ra_loader.h
  (svn_ra__vtable_t): Added text_deltas parameter to do_diff function.

* subversion/libsvn_ra/ra_loader.c
  (svn_ra_do_diff2): New function.
  (svn_ra_do_diff): Call svn_ra_do_diff2 with TRUE for the text_deltas
  parameter.
  
* subversion/libsvn_ra/wrapper_template.h
  (compat_do_diff): Pass TRUE for textdeltas parameter of do_diff.

* subversion/include/svn_client.h
  (svn_client_diff_summarize, svn_client_diff_summarize_peg): New
  functions.
  (svn_client_diff_summarize_func_t): New callback type.
  (svn_client_diff_summarize_t): New struct.
  (svn_client_diff_summarize_kind_t): New enum type.

* subversion/libsvn_client/client.h
  (svn_client__get_diff_summary_editor): New function.
  
* subversion/libsvn_client/repos_diff_summarize.c
  New file, the implementation of the diff summary svn_delta_editor_t.

* subversion/libsvn_client/diff.c
  (diff_parameters, diff_paths, diff_repos_repos): New helper structs
  (check_paths, diff_prepare_repos_repos): New helper functions used to
  remove most of the code duplication between diff and diff summarize.
  (diff_summarize_repos_repos, do_diff_summarize, do_diff_summarize_peg,
  svn_client_diff_summarize, svn_client_diff_summarize_peg):
  New functions.
  (diff_repos_repos): Replaced diff parameters with diff_parameters
  structure. Removed code duplication with diff_summarize_repos_repos
  by using the new helper functions.
  (do_diff, do_diff_peg): Replaced diff parameters with diff_parameters
  structure. Removed code duplication with do_diff_summarize and
  do_diff_summarize_peg by using the new helper functions.  Callers updated.
  
* subversion/libsvn_ra_dav/ra_dav.h
  (svn_ra_dav__do_diff): Added text_deltas boolean parameter.

* subversion/libsvn_ra_dav/fetch.c
  (svn_ra_dav__do_diff): Added text_deltas boolean parameter. Pass
  new parameter to make_reporter.

* subversion/libsvn_ra_local/ra_plugin.c
  (svn_ra_local__do_diff): Added text_deltas boolean parameter. Pass
  new parameter to make_reporter.

* subversion/libsvn_ra_svn/client.c
  (ra_svn_diff): Added text_deltas boolean parameter. Added text_deltas
  to "diff" cmd.

* subversion/libsvn_ra_svn/protocol
  (diff command): Added optional text-deltas parameter.
  
* subversion/svnserve/serve.c
  (diff): Added parsing of the new text_deltas parameter. Pass new
  parameter to accept_report.


r15729 | lundblad | 2005-08-15 14:55:35 -0500 (Mon, 15 Aug 2005)

Fix ra_svn protocol command synopsis.

Suggested by: Martin Hauner <martin.hauner@gmx.net>

* subversion/libsvn_ra_svn/protocol: Add ignore-ancestry parameter
  to diff command, which has been there in the implementation since
  r5657.


r11592 | brane | 2004-10-23 09:25:56 -0500 (Sat, 23 Oct 2004)

Improve the performance of "svn st".
Patch by: Martin Hauner <hauner@web.de>

* subversion/libsvn_wc/props.c (svn_wc_prop_list): removed an
  unecessary svn_io_check_path call. svn_wc__load_prop_file already
  does the check.


r10611 | sussman | 2004-08-12 19:02:15 -0500 (Thu, 12 Aug 2004)

Documentation clarification

Patch by: Martin Hauner <hauner@web.de>

* subversion/include/svn_client.h
  (svn_client_get_commit_log_t): modified documentation to say that
  commit_items is a read-only array.


r10092 | breser | 2004-06-28 09:36:14 -0500 (Mon, 28 Jun 2004)

Website links update.

Patch by: Martin Hauner <hauner@web.de>

* www/project_links.html
  Added link to Subcommander GUI client.


r7244 | mbk | 2003-09-29 13:58:30 -0500 (Mon, 29 Sep 2003)

* subversion/libsvn_diff/diff3.c
 (svn_diff__resolve_conflict): added missing initialization of
 resolved_diff member in newly created svn_diff_t's.

Patch by: Martin Hauner <hauner@web.de>