Mo DeJong <supermo@bayarea.net>


Patch
r841012, r840829, r840784, r840485, r840413, r840286, r840269, r840268

r840268 | cmpilato | 2001-10-02 21:22:00 +0000 (Tue, 02 Oct 2001)

Remove `unadd' and `undelete' subcommands.

Also, delegate the tasks once done by `unadd' and `undelete' to
`revert.'  Note: `revert' is far from finished, far from refined (far
from crash-proof...ugh)

Patch by: Mo DeJong <supermo@bayarea.net>
          me

* subversion/include/svn_wc.h

  (svn_wc_schedule_t): Removed unadd and undelete actions.

  (svn_wc_unadd, svn_wc_undelete): Removed functions.

  (svn_wc_revert): Added RECURSIVE argument.

* subversion/include/svn_client.h 

  (svn_client_unadd, svn_client_undelete): Removed functions.

  (svn_client_revert): Added RECURSIVE field.

* subversion/include/svn_pools.h 

  (svn_pool_feedback_t): Removed report_unadded_item() and
  report_undeleted_item() vtable entries.

* subversion/libsvn_wc/adm_ops.c

  (mark_tree): This function no longer concerns itself with unadds and
  undeletes (since they don't exist).

  (add_to_revision_control): New function combining old contents of
  svn_wc_add_directory() and svn_wc_add_file().  Replacements where
  the node type changes are currently disallowed.

  (svn_wc_add_directory, svn_wc_add_file): Now use
  add_to_revision_control helper function.

  (svn_wc_unadd, svn_wc_undelete): Removed functions.

  (revert_admin_things): New helper function.

  (svn_wc_revert): More work on this function to support directories,
  and to start taking on the jobs of the now-absent unadd and undelete
  commands.

* subversion/libsvn_subr/svn_error.c 

  (report_unadded_item, report_undeleted_item): Removed these default
  callback functions.

  (report_reversion, report_restoration): New functions.

  (svn_error_init_pool): Don't initialize unadd and undelete
  callbacks, since they no longer exist.  Do initialize reversion, and
  restoration callbacks.

* subversion/libsvn_client/delete.c 

  (svn_client_undelete): Removed function.

* subversion/libsvn_client/add.c 

  (svn_client_unadd): Removed function.

* subversion/clients/cmdline/cl.h 

  (svn_cl__unadd, svn_cl__undelete): Removed functions.

* subversion/clients/cmdline/add-cmd.c 

  (svn_cl__unadd): Removed function.

* subversion/clients/cmdline/delete-cmd.c 

  (svn_cl__undelete): Removed function.

* subversion/clients/cmdline/feedback.c 

  (report_unadded_item, report_undeleted_item): Removed functions.

  (svn_cl__init_feedback_vtable): No longer using unadd and undelete
  feedback functions.

* subversion/clients/cmdline/main.c:
 
  (svn_cl__cmd_table): Removed unadd and undelete command table entries.

* subversion/bindings/java/jni/org/tigris/subversion/lib/WorkingCopy.java:

  (unadd, undelete): Removed functions.

* subversion/bindings/java/jni/org/tigris/subversion/lib/Client.java:

  (unadd, undelete): Removed functions.

* doc/user/svn_for_cvs_users.txt:
* doc/user/manual/adds.texi:
* subversion/tests/clients/cmdline/schedule_tests.py

  Documentation and docstring cleanups.  No more unadd and undelete commands.

* subversion/libsvn_wc/entries.c

  (check_entries, fold_state_changes): Updated to reflect now-absent
  unadd and undelete schedules.

* subversion/clients/cmdline/revert-cmd.c

  (svn_cl__revert): Now supports recursion!

* subversion/libsvn_client/revert.c

  (svn_client_revert): Now supports recursion!

* subversion/libsvn_wc/wc.h

  Remove some cruft from days gone by...


r840269 | kfogel | 2001-10-02 23:01:06 +0000 (Tue, 02 Oct 2001)

Make Subversion work with Neon 0.17.0.

Patch by: Mo DeJong <supermo@bayarea.net>

* autogen.sh: Upgrade neon from 0.15.3 to 0.17.0, run neon's
autogen.sh script in case neon was generated with a different version
of autoconf/libtool.

* subversion/libsvn_ra_dav/merge.c (validate_element):
* subversion/libsvn_ra_dav/props.c (validate_element):
* subversion/libsvn_ra_dav/fetch.c (validate_element):
* subversion/libsvn_ra_dav/options.c (validate_element): 
Update the validate_element callback so that it accepts a void* in the
first argument to account for a change in the neon API.


r840286 | gstein | 2001-10-05 11:04:21 +0000 (Fri, 05 Oct 2001)

Changes to support autoconf 2.5x and libtool 1.4.

Patch by: Mo DeJong <supermo@bayarea.net>
          Greg Stein <gstein@lyra.org>

* ac-helpers/berkeley-db.m4: for the embedded DB case, link against
    the .la file unless shared libs have been disabled (which means no 
    .la file will be present). tweak an AC_MSG_RESULT() to avoid some
    quoting.

* gen-make.py: for intra-library dependencies, just refer to the .la

    files now, rather than peeking into the .libs directory. for
    installation using libtool or apxs, "cd" into the lib's directory
    and run install from there (on the local file) to avoid a libtool
    bug. 

* autogen.sh: add buildcheck.sh (new file) to the "chmod +x"
    list. call our own buildcheck, rather than APR's. toss some old
    libtool 1.3 files.

* build.conf: don't peek into Neon's .libs directory, just use its .la 
    convenience library instead.

* configure.in: require autoconf 2.50 or greater. tweak some of the
    params that we pass to Neon (until we are sure it will always be
    using autoconf 2.50 or greater (users unpacking their own Neon
    will use whatever the distro uses, so our call to neon/autogen
    won't satisfy us entirely)). the INSTALL program needs to use an
    absolute path since we could call it from anywhere in the source
    tree. adjust some library references to use .la files rather than
    peeking into the .libs directories.

* buildcheck.sh: new file. check for minimum versions of tools.


r840413 | gstein | 2001-10-29 01:13:31 +0000 (Mon, 29 Oct 2001)

Simplify the output.

Patch by: Mo DeJong <supermo@bayarea.net>


r840485 | cmpilato | 2001-11-06 21:14:15 +0000 (Tue, 06 Nov 2001)

Bug fix for `svn add directory; svn rm directory`, 

Patch by: Mo DeJong <supermo@bayarea.net>
          me

* subversion/libsvn_wc/adm_ops.c

  (enum mark_tree_state): Removed.

  (delete_tree): Renamed from mark_tree, no longer accept 'state'
  argument.  Caller(s) changed.

  (svn_wc_delete): If deleting an item marked for addition, just
  remove the item from revision control.

* subversion/libsvn_wc/entries.c

  (fold_state_changes): Assert that we aren't about to screw up our
  entries file before deleting an entry.


r840784 | cmpilato | 2001-12-21 18:19:36 +0000 (Fri, 21 Dec 2001)

Call test programs using the appropriate interpreter as dictated by
the file extensions.

Patch by: Mo DeJong <supermo@bayarea.net>
(Tweaked by me.)

* Makefile.in

  (check): Run scripts using either python or sh and exec programs
  that are executable.  Change grep pattern to "\\.sh$$" so that it
  gets passed to grep as "\.sh$". Move printing of warning when tests
  fails to end of test run.


r840829 | kfogel | 2002-01-08 17:58:19 +0000 (Tue, 08 Jan 2002)

* ac-helpers/berkeley-db.m4 (SVN_LIB_BERKELEY_DB): Revert part of
revision 727, the change that unconditionally linked to a .la file in
the db subdirectory.  When built with --disable-shared, Berkeley db
does not create a .la file.  Note that the library name change for 4.X
was not reverted.

Patch by: Mo DeJong <supermo@bayarea.net>


r841012 | kfogel | 2002-01-17 20:58:07 +0000 (Thu, 17 Jan 2002)

Improve Python checking.  This closes issue #592.

Patch by: Mo DeJong <supermo@bayarea.net>

* pycheck.py: New script that will check the installed version of
python and print a warning unless python 2.X or newer is found.

* Makefile.in: Check python version before running test cases.

* autogen.sh: Check to see if python is installed before generating
build files. 

* configure.in: Check installed python version.