Vladimir Prus <ghost@cs.msu.su>


Patch
r845702, r845496, r843939, r843848, r843713, r841378, r841164

r845702 | blair | 2003-04-15 11:47:37 -0500 (Tue, 15 Apr 2003)

* tools/client-side/svn_load_dirs.pl.in:
  Resolve issue #1215.  Patch submitted by Vladimir Prus
  <ghost@cs.msu.su>.  This works around a problem where 'svn add' or
  'svn rm' commands are longer than the maximum command line length
  supported by the OS.
  (make_targets_file): New subroutine.  Take a list of files and
    directories to 'svn add' or 'svn rm' and create a temp file in the
    svn_load_dirs.pl temporary directory with that list.
  (main): Use make_targets_file and take its returned filename as the
    --targets command line option value.

Patch by: Vladimir Prus <ghost@cs.msu.su>
(First change only.)


r845496 | kfogel | 2003-03-21 13:24:15 -0600 (Fri, 21 Mar 2003)

Fix bug introduced in r5407, whereby committing changes to a working
copy root can segfault.

Patch by: Vladimir Prus <ghost@cs.msu.su>
(Tweaked by me.)

* subversion/clients/cmdline/util.c
   (svn_cl__get_log_message): Guarantee that path is non-null.

* subversion/tests/clients/cmdline/commit_tests.py
  (from_wc_top_with_bad_editor): New test.
  (test_list): Run it.


r843939 | philip | 2002-11-22 17:58:25 -0600 (Fri, 22 Nov 2002)

Issue #399: implement a basic 'cat' command.  At present it just
outputs the raw bytes, so no keyword expansion or eol translation.

Patch by: Vladimir Prus <ghost@cs.msu.su>
(Tweaked by me.)

I haven't tested the modified dsp files.

* subversion/include/svn_error_codes.h (SVN_ERR_CLIENT_IS_DIRECTORY,
  SVN_ERR_CLIENT_REVISION_RANGE): New error codes.

* subversion/include/svn_client.h (svn_client_cat): New function.

* subversion/libsvn_client/cat.c: New file.

* subversion/clients/cmdline/cl.h (svn_cl__cat): New function.

* subversion/clients/cmdline/cat-cmd.c: New file.

* subversion/clients/cmdline/main.c: (svn_cl__cmd_table): Add 'cat'.

* subversion/tests/clients/cmdline/basic_tests.py (basic_cat): New test.

* subversion/tests/clients/cmdline/getopt_tests_data/svn--help_stdout: Add cat.

* subversion/tests/clients/cmdline/getopt_tests_data/svn_help_stdout: Add cat.

* subversion/libsvn_client/libsvn_client.dsp: Add cat.c.

* subversion/clients/cmdline/subversion_client.dsp: Add cat-cmd.c.

* tools/dev/bash_completion (_svn): Add cat command.  Remove obsolete
  -D/--date.


r843848 | philip | 2002-11-13 11:26:56 -0600 (Wed, 13 Nov 2002)

Fix a core dump.

Patch by: Vladimir Prus <ghost@cs.msu.su>

* subversion/libsvn_subr/io.c (svn_io_make_dir_recursively): Do nothing
  when passed an empty path.  Remove obsolete comment about APR.

* subversion/tests/clients/cmdline/module_tests.py
  (modify_and_update_receive_new_external): New test.


r843713 | cmpilato | 2002-11-04 02:42:52 -0600 (Mon, 04 Nov 2002)

Fixes so that `svn update .' will handle externals.

Patch by: Vladimir Prus <ghost@cs.msu.su>

* subversion/libsvn_wc/adm_crawler.c 
  (report_revision): Store "svn:externals" for current dir, not for children.

* subversion/tests/clients/cmdline/module_tests.py
  (update_receive_change_under_external): Add some more steps to this test.

This part was not in Vladimir's patch and was added by me:

* subversion/libsvn_client/update.c
  (svn_client_update): Only update externals when in recursive mode.
    This check was formerly handled by report_revisions().


r841378 | sussman | 2002-02-15 16:47:48 -0600 (Fri, 15 Feb 2002)

Fix for issue #631.

Patch by: Vladimir Prus <ghost@cs.msu.su>

* get_editor.c (svn_wc_install_file): all paths that are manipulated
  by log-commands must be relative to the directory where the log is
  running.  We weren't doing this for the temporary LF working-file
  that was being patched.

* trans_tests.py (update_modified_with_translation): fix bug in this
  test, my fault.  :-)

  (test_list): uncomment the test for this bug, as it
  now passes with the fix.


r841164 | kfogel | 2002-01-28 14:31:54 -0600 (Mon, 28 Jan 2002)

Fix "svn diff" crash when two revisions of a file differ in properties
but not in text.

Patch by: Vladimir Prus <ghost@cs.msu.su>

* subversion/libsvn_client/repos_diff.c 

  (struct file_baton): Document semantics of `path_end_revision' and
  `file_end_revision' fields better.

  (close_file): Check for presence of textual change before running diff.

* subversion/tests/clients/cmdline/diff_tests.py

  (diff_only_property_change): New function.