|
This ChangeLog shows all the commits in Subversion's now-obsolete CVS
repository. Since Subversion is no longer kept under CVS, this
ChangeLog stops on the day of the switchover (August 30, 2001).
Development is now happening in a Subversion repository; use
Subversion itself to see commit messages from there.
2001-08-30 22:25 Karl Fogel <kfogel@collab.net>
* www/project_status.html (1.34):
Fix date.
2001-08-30 22:25 Karl Fogel <kfogel@collab.net>
* www/inconveniences.html (1.3):
Fix wording.
2001-08-30 22:23 Karl Fogel <kfogel@collab.net>
* www/inconveniences.html (1.2):
Fix formatting.
2001-08-30 22:22 Karl Fogel <kfogel@collab.net>
* INSTALL (1.7), configure.in (1.105), notes/m3-checklist.txt
(1.15), www/cvs-changelog.html (1.1), www/inconveniences.html
(1.1), www/index.html (1.32), www/project_source.html (1.6),
www/project_status.html (1.33):
* INSTALL: Updated instructions.
* www/index.html: Note about self-hosting.
* www/project_source.html: New instructions for obtaining source.
* www/cvs-changelog.html: New file.
* www/inconveniences.html: New file.
* www/project_status.html: Update.
* notes/m3-checklist.txt: Update.
* configure.in (SVN_VERSION): M3.
2001-08-30 20:39 Branko Cibej <brane@xbc.nu>
* subversion/libsvn_client/update.c (1.27):
* update.c (svn_client_update): Always call svn_client_authenticate
with a directory path.
2001-08-30 20:02 Branko Cibej <brane@xbc.nu>
* HACKING (1.41):
Wups, fix typo in URL.
2001-08-30 19:57 Branko Cibej <brane@xbc.nu>
* subversion/libsvn_ra_dav/.cvsignore (1.3):
Ignore Debug and Release subdirs.
2001-08-30 19:57 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_ra_dav/props.c (1.14):
(svn_ra_dav__get_props_resource): Fill in the error check that was
already here: if unable to obtain resource, return an error.
2001-08-30 19:54 Branko Cibej <brane@xbc.nu>
* subversion/svnadmin/svnadmin.dsp (1.7):
Link with neon.
2001-08-30 19:52 Branko Cibej <brane@xbc.nu>
* subversion/libsvn_ra_dav/libsvn_ra_dav.dsp (1.3):
Add include path and link depencency for neon.
2001-08-30 19:50 Branko Cibej <brane@xbc.nu>
* subversion/clients/cmdline/subversion_client.dsp (1.8):
Link with neon.
2001-08-30 19:48 Branko Cibej <brane@xbc.nu>
* svn_private_config.hw (1.6):
Enable linking with ra_dav.
2001-08-30 19:47 Branko Cibej <brane@xbc.nu>
* subversion.dsw (1.19):
(subversion_client, svnadmin): Add dependency on libsvn_ra_dav.
2001-08-30 19:45 Branko Cibej <brane@xbc.nu>
* HACKING (1.40):
Describe how to build with neon.
2001-08-30 19:22 Branko Cibej <brane@xbc.nu>
* subversion/libsvn_client/status.c (1.24):
* status.c (svn_client_status): Always call svn_client_authenticate
with a directory path.
2001-08-30 19:19 Branko Cibej <brane@xbc.nu>
* subversion/libsvn_subr/io.c (1.47):
* io.c (svn_io_check_path): Treat an empty path as a synonym for
".".
2001-08-30 19:16 Branko Cibej <brane@xbc.nu>
* subversion/clients/cmdline/checkout-cmd.c (1.9):
* checkout-cmd.c (svn_cl__checkout): Use the right path style when
splitting the URL.
2001-08-30 18:51 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_ra_dav/util.c (1.9):
* util.c
(svn_ra_dav__parsed_request): Make neon errors more informational.
2001-08-30 15:38 Ben Collins-Sussman <sussman@collab.net>
* subversion/: libsvn_fs/tree.c (1.101),
tests/clients/cmdline/commit_tests.py (1.17):
Fix issue #469, whereby merge() was erroneously flagging conflicts.
* tree.c (merge): add some new logic to make this function less
restrictive.
* commit_tests.py (merge_mixed_revisions): one hell of a regression
test.
2001-08-30 15:33 Karl Fogel <kfogel@collab.net>
* Makefile.in (1.29):
(local-install): Don't depend on `install-sbin' rule, no one uses it
anymore.
2001-08-30 11:14 Karl Fogel <kfogel@collab.net>
* build.conf (1.32):
(svnadmin): Install in bin, not sbin. See thread "quick poll on
`svnadmin' install location" on the dev list for more.
2001-08-29 17:14 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/reps-strings.c (1.31):
Get rid of compiler warning about unused function `write_string':
(DELTIFYING): New #define, set to 0.
(write_string_baton, write_string): Guard definitions with
DELTIFYING.
(svn_fs__rep_deltify): Guard body with DELTIFYING.
2001-08-29 16:57 Karl Fogel <kfogel@collab.net>
* svn_private_config.hw (1.5), subversion/bindings/apr.i (1.3),
subversion/bindings/svn_client.i (1.2),
subversion/bindings/svn_delta.i (1.2),
subversion/bindings/svn_error.i (1.4), subversion/bindings/svn_fs.i
(1.3), subversion/bindings/svn_io.i (1.2),
subversion/bindings/svn_ra.i (1.2),
subversion/bindings/svn_string.i (1.4),
subversion/bindings/svn_types.i (1.3), subversion/bindings/svn_wc.i
(1.2),
subversion/bindings/java/jni/org/tigris/subversion/SubversionExcept
ion.java (1.2),
subversion/bindings/java/jni/org/tigris/subversion/lib/Client.java
(1.3),
subversion/bindings/java/jni/org/tigris/subversion/lib/Entry.java
(1.3),
subversion/bindings/java/jni/org/tigris/subversion/lib/Reporter.jav
a (1.3),
subversion/bindings/java/jni/org/tigris/subversion/lib/Revision.jav
a (1.3),
subversion/bindings/java/jni/org/tigris/subversion/lib/Status.java
(1.3),
subversion/bindings/java/jni/org/tigris/subversion/lib/TextdeltaHan
dler.java (1.3),
subversion/bindings/java/jni/org/tigris/subversion/lib/TextdeltaOp.
java (1.3),
subversion/bindings/java/jni/org/tigris/subversion/lib/TextdeltaWin
dow.java (1.3),
subversion/bindings/java/jni/org/tigris/subversion/lib/TreeDeltaEdi
tor.java (1.3),
subversion/bindings/java/jni/org/tigris/subversion/lib/WorkingCopy.
java (1.3), subversion/clients/cmdline/add-cmd.c (1.4),
subversion/clients/cmdline/checkout-cmd.c (1.8),
subversion/clients/cmdline/cl.h (1.18),
subversion/clients/cmdline/cleanup-cmd.c (1.5),
subversion/clients/cmdline/commit-cmd.c (1.10),
subversion/clients/cmdline/delete-cmd.c (1.4),
subversion/clients/cmdline/diff-cmd.c (1.4),
subversion/clients/cmdline/diff.c (1.6),
subversion/clients/cmdline/feedback.c (1.7),
subversion/clients/cmdline/help-cmd.c (1.6),
subversion/clients/cmdline/import-cmd.c (1.9),
subversion/clients/cmdline/main.c (1.17),
subversion/clients/cmdline/prompt.c (1.5),
subversion/clients/cmdline/propdel-cmd.c (1.3),
subversion/clients/cmdline/propget-cmd.c (1.4),
subversion/clients/cmdline/proplist-cmd.c (1.5),
subversion/clients/cmdline/props.c (1.7),
subversion/clients/cmdline/propset-cmd.c (1.6),
subversion/clients/cmdline/revert-cmd.c (1.2),
subversion/clients/cmdline/status-cmd.c (1.8),
subversion/clients/cmdline/status.c (1.9),
subversion/clients/cmdline/trace-commit.c (1.9),
subversion/clients/cmdline/trace-update.c (1.6),
subversion/clients/cmdline/update-cmd.c (1.8),
subversion/clients/cmdline/util.c (1.8),
subversion/clients/win32/svn_com/MarshalArray.h (1.5),
subversion/clients/win32/svn_com/SVN.cpp (1.10),
subversion/clients/win32/svn_com/SVN.h (1.4),
subversion/clients/win32/svn_com/SVNCOM.cpp (1.2),
subversion/clients/win32/svn_com/SVNCOM.idl (1.2),
subversion/clients/win32/svn_com/SVNStatus.cpp (1.3),
subversion/clients/win32/svn_com/SVNStatus.h (1.4),
subversion/clients/win32/svn_com/StdAfx.cpp (1.2),
subversion/clients/win32/svn_com/StdAfx.h (1.4),
subversion/clients/win32/svn_com/dlldatax.c (1.3),
subversion/clients/win32/svn_com/dlldatax.h (1.3),
subversion/clients/win32/svn_com/misc.cpp (1.2),
subversion/clients/win32/svn_com/misc.h (1.4),
subversion/clients/win32/svn_com/svn_comCP.h (1.4),
subversion/include/svn_base64.h (1.11),
subversion/include/svn_client.h (1.46),
subversion/include/svn_config.h (1.3),
subversion/include/svn_delta.h (1.157),
subversion/include/svn_error.h (1.111),
subversion/include/svn_error_codes.h (1.16),
subversion/include/svn_fs.h (1.106), subversion/include/svn_hash.h
(1.19), subversion/include/svn_io.h (1.43),
subversion/include/svn_path.h (1.41),
subversion/include/svn_pools.h (1.5),
subversion/include/svn_quoprint.h (1.4),
subversion/include/svn_ra.h (1.66), subversion/include/svn_repos.h
(1.29), subversion/include/svn_sorts.h (1.5),
subversion/include/svn_string.h (1.51),
subversion/include/svn_test.h (1.18), subversion/include/svn_time.h
(1.3), subversion/include/svn_types.h (1.67),
subversion/include/svn_wc.h (1.112), subversion/include/svn_xml.h
(1.34), subversion/libsvn_client/add.c (1.19),
subversion/libsvn_client/apply_edits.c (1.18),
subversion/libsvn_client/auth.c (1.8),
subversion/libsvn_client/checkout.c (1.24),
subversion/libsvn_client/cleanup.c (1.2),
subversion/libsvn_client/client.h (1.14),
subversion/libsvn_client/commit.c (1.60),
subversion/libsvn_client/delete.c (1.12),
subversion/libsvn_client/diff.c (1.4),
subversion/libsvn_client/revert.c (1.2),
subversion/libsvn_client/status.c (1.23),
subversion/libsvn_client/update.c (1.26),
subversion/libsvn_delta/compose_editors.c (1.19),
subversion/libsvn_delta/default_editor.c (1.11),
subversion/libsvn_delta/delta.h (1.56),
subversion/libsvn_delta/svndiff.c (1.32),
subversion/libsvn_delta/text_delta.c (1.37),
subversion/libsvn_delta/track_editor.c (1.7),
subversion/libsvn_delta/vdelta.c (1.11),
subversion/libsvn_delta/xml_output.c (1.41),
subversion/libsvn_delta/xml_parse.c (1.159),
subversion/libsvn_fs/dag.c (1.123), subversion/libsvn_fs/dag.h
(1.51), subversion/libsvn_fs/dbt.c (1.20),
subversion/libsvn_fs/dbt.h (1.19), subversion/libsvn_fs/err.c
(1.31), subversion/libsvn_fs/err.h (1.25),
subversion/libsvn_fs/fs.c (1.74), subversion/libsvn_fs/fs.h (1.33),
subversion/libsvn_fs/id.c (1.28), subversion/libsvn_fs/id.h (1.12),
subversion/libsvn_fs/key-gen.c (1.4),
subversion/libsvn_fs/key-gen.h (1.3),
subversion/libsvn_fs/node-rev.c (1.24),
subversion/libsvn_fs/node-rev.h (1.13),
subversion/libsvn_fs/nodes-table.c (1.25),
subversion/libsvn_fs/nodes-table.h (1.12),
subversion/libsvn_fs/proplist.c (1.13),
subversion/libsvn_fs/proplist.h (1.9),
subversion/libsvn_fs/reps-strings.c (1.30),
subversion/libsvn_fs/reps-strings.h (1.16),
subversion/libsvn_fs/reps-table.c (1.6),
subversion/libsvn_fs/reps-table.h (1.5),
subversion/libsvn_fs/rev-table.c (1.17),
subversion/libsvn_fs/rev-table.h (1.9), subversion/libsvn_fs/skel.c
(1.36), subversion/libsvn_fs/skel.h (1.25),
subversion/libsvn_fs/strings-table.c (1.13),
subversion/libsvn_fs/strings-table.h (1.11),
subversion/libsvn_fs/trail.c (1.12), subversion/libsvn_fs/trail.h
(1.9), subversion/libsvn_fs/tree.c (1.100),
subversion/libsvn_fs/tree.h (1.7), subversion/libsvn_fs/txn-table.c
(1.29), subversion/libsvn_fs/txn-table.h (1.15),
subversion/libsvn_fs/txn.c (1.47), subversion/libsvn_fs/txn.h
(1.12), subversion/libsvn_fs/validate.c (1.7),
subversion/libsvn_fs/validate.h (1.4),
subversion/libsvn_ra/ra_loader.c (1.12),
subversion/libsvn_ra_dav/commit.c (1.67),
subversion/libsvn_ra_dav/fetch.c (1.71),
subversion/libsvn_ra_dav/merge.c (1.15),
subversion/libsvn_ra_dav/options.c (1.10),
subversion/libsvn_ra_dav/props.c (1.13),
subversion/libsvn_ra_dav/ra_dav.h (1.38),
subversion/libsvn_ra_dav/session.c (1.37),
subversion/libsvn_ra_dav/util.c (1.8),
subversion/libsvn_ra_local/checkout.c (1.15),
subversion/libsvn_ra_local/ra_local.h (1.18),
subversion/libsvn_ra_local/ra_plugin.c (1.44),
subversion/libsvn_ra_local/split_url.c (1.13),
subversion/libsvn_repos/commit_editor.c (1.18),
subversion/libsvn_repos/delta.c (1.55),
subversion/libsvn_repos/hooks.c (1.18),
subversion/libsvn_repos/lock.c (1.4),
subversion/libsvn_repos/node_tree.c (1.6),
subversion/libsvn_repos/reporter.c (1.16),
subversion/libsvn_repos/rev_hunt.c (1.4),
subversion/libsvn_subr/config.c (1.3),
subversion/libsvn_subr/hashdump.c (1.27),
subversion/libsvn_subr/io.c (1.46), subversion/libsvn_subr/path.c
(1.41), subversion/libsvn_subr/quoprint.c (1.8),
subversion/libsvn_subr/sorts.c (1.5),
subversion/libsvn_subr/svn_base64.c (1.2),
subversion/libsvn_subr/svn_error.c (1.77),
subversion/libsvn_subr/svn_string.c (1.16),
subversion/libsvn_subr/target.c (1.13),
subversion/libsvn_subr/time.c (1.5), subversion/libsvn_subr/xml.c
(1.43), subversion/libsvn_wc/adm_crawler.c (1.129),
subversion/libsvn_wc/adm_files.c (1.86),
subversion/libsvn_wc/adm_ops.c (1.85),
subversion/libsvn_wc/entries.c (1.119),
subversion/libsvn_wc/get_editor.c (1.195),
subversion/libsvn_wc/lock.c (1.26), subversion/libsvn_wc/log.c
(1.110), subversion/libsvn_wc/props.c (1.38),
subversion/libsvn_wc/questions.c (1.60),
subversion/libsvn_wc/status.c (1.40), subversion/libsvn_wc/util.c
(1.20), subversion/libsvn_wc/wc.h (1.161),
subversion/mod_dav_svn/activity.c (1.12),
subversion/mod_dav_svn/dav_svn.h (1.37),
subversion/mod_dav_svn/deadprops.c (1.17),
subversion/mod_dav_svn/liveprops.c (1.24),
subversion/mod_dav_svn/merge.c (1.16),
subversion/mod_dav_svn/mod_dav_svn.c (1.21),
subversion/mod_dav_svn/repos.c (1.62),
subversion/mod_dav_svn/update.c (1.11),
subversion/mod_dav_svn/util.c (1.19),
subversion/mod_dav_svn/version.c (1.32), subversion/svnadmin/main.c
(1.26), subversion/svnlook/main.c (1.21),
subversion/tests/fs-helpers.c (1.10), subversion/tests/fs-helpers.h
(1.6), subversion/tests/svn_test_editor.c (1.28),
subversion/tests/svn_tests_main.c (1.24),
subversion/tests/libsvn_delta/deltaparse-test.c (1.73),
subversion/tests/libsvn_delta/random-test.c (1.26),
subversion/tests/libsvn_delta/svndiff-test.c (1.13),
subversion/tests/libsvn_delta/vdelta-test.c (1.9),
subversion/tests/libsvn_delta/xml-output-test.c (1.18),
subversion/tests/libsvn_fs/fs-test.c (1.104),
subversion/tests/libsvn_fs/key-test.c (1.3),
subversion/tests/libsvn_fs/skel-test.c (1.24),
subversion/tests/libsvn_fs/strings-reps-test.c (1.10),
subversion/tests/libsvn_ra_local/ra-local-test.c (1.13),
subversion/tests/libsvn_repos/dir-delta-editor.c (1.7),
subversion/tests/libsvn_repos/dir-delta-editor.h (1.4),
subversion/tests/libsvn_repos/md5args.c (1.4),
subversion/tests/libsvn_repos/repos-test.c (1.13),
subversion/tests/libsvn_subr/hashdump-test.c (1.24),
subversion/tests/libsvn_subr/path-test.c (1.7),
subversion/tests/libsvn_subr/stringtest.c (1.11),
subversion/tests/libsvn_subr/target-test.c (1.12),
subversion/tests/libsvn_wc/checkout-test.c (1.46),
subversion/tests/libsvn_wc/commit-test.c (1.35),
tools/check-license.py (1.5):
* tools/check-license.py: Change to reflect new license.
* everything with a license: Updated with text acknowledging
contributors and advising how to track contribution history.
Suggested by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
2001-08-29 16:31 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.c (1.73):
Patch from Sander Striker <striker@apache.org>:
(cleanup_fs_db): Ignore DB_INCOMPLETE error on db->close.
2001-08-29 12:27 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.128):
"Working copy locked" bug...be gone with no compiler warnings.
* adm_crawler.c
(do_lock): Don't try to declare a variable you won't use. That
sucks.
2001-08-29 12:18 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.127):
"Working copy locked" bug...be gone.
* adm_crawler.c
(do_lock): Don't try to lock a directory we've locked in the past.
2001-08-29 10:31 C. Michael Pilato <cmpilato@collab.net>
* tools/random-commits.py (1.2):
* random-commits.py
Echo the per-commit "banner".
2001-08-29 07:33 C. Michael Pilato <cmpilato@collab.net>
* subversion/mod_dav_svn/repos.c (1.61):
* repos.c
(dav_svn_open_stream): DAV expects to see the whole of the svndiff
data. Reflect this expectation in code (thanks, gstein).
2001-08-28 18:19 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_delta/svndiff.c (1.31):
* svndiff.c
(write_handler): Um...remove debugging printfs.
2001-08-28 18:15 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_delta/svndiff.c (1.30):
Karl and Mike, trying to nail the DAV svndiff-data-is-hosed bug:
* svndiff.c
(write_handler): Empower this function to create more than a single
window if has enough data to do so.
2001-08-28 17:08 Branko Cibej <brane@xbc.nu>
* subversion.dsw (1.18):
* subversion.dsw (__check__): Add dependency for
tests_libsvn_subr_target_test.
2001-08-28 17:06 Branko Cibej <brane@xbc.nu>
* subversion/libsvn_repos/libsvn_repos.dsp (1.7):
This fixes L4098 warnings in the Win32 Release build. Thanks to Bill
Tutt for finding the bug.
* libsvn_repos.dsp: Change project settings.
2001-08-28 11:07 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/schedule_tests.py (1.6):
* schedule_tests.py
Changed syntax from `func ()' to `func()'.
(nested_adds): Changed function description.
2001-08-28 11:01 C. Michael Pilato <cmpilato@collab.net>
* .cvsignore (1.11):
* .cvsignore
Ignore `builtin' db/ directory.
2001-08-28 09:44 Daniel Stenberg <daniel@haxx.se>
* ac-helpers/gnu-diff.sh (1.2):
The test command's stderr is now passed to /dev/null, the selection
loop now picks the FIRST diff command in the PATH that matches the
criteria (previously, it picked the last one) and it bails out of
the loop as soon as it has found a diff that seems to be working.
PR: Obtained from: Submitted by: Reviewed by:
2001-08-28 06:20 Greg Stein <gstein@lyra.org>
* configure.in (1.104), ac-helpers/berkeley-db.m4 (1.11):
We are now looking for DB 3.3.11
2001-08-28 04:15 Greg Stein <gstein@lyra.org>
* tools/: find-textfiles (1.1), random-commits.py (1.1):
Two scripts to generate a script containing a long series of
commits. The usage information is in comments in the header of each
script.
2001-08-27 18:49 Branko Cibej <brane@xbc.nu>
* .cvsignore (1.10), HACKING (1.39), svn_private_config.hw (1.4),
subversion/clients/cmdline/subversion_client.dsp (1.7),
subversion/libsvn_fs/libsvn_fs.dsp (1.16),
subversion/svnadmin/svnadmin.dsp (1.6),
subversion/svnlook/svnlook.dsp (1.4),
subversion/tests/libsvn_test_main.dsp (1.7),
subversion/tests/libsvn_delta/deltaparse_test.dsp (1.7),
subversion/tests/libsvn_delta/random_test.dsp (1.5),
subversion/tests/libsvn_delta/svndiff_test.dsp (1.5),
subversion/tests/libsvn_delta/vdelta_test.dsp (1.5),
subversion/tests/libsvn_delta/xml_output_test.dsp (1.5),
subversion/tests/libsvn_fs/fs_test.dsp (1.7),
subversion/tests/libsvn_fs/skel_test.dsp (1.7),
subversion/tests/libsvn_repos/repos_test.dsp (1.3),
subversion/tests/libsvn_subr/hashdump_test.dsp (1.6),
subversion/tests/libsvn_subr/string_test.dsp (1.6),
subversion/tests/libsvn_wc/checkout_test.dsp (1.5),
subversion/tests/libsvn_wc/commit_test.dsp (1.7):
Reworked the Win32 build again. No more environment variables, no
more special settings in MSVC. The Berkeley DB includes and libs
must now live under db3-win32 in the root of the Subversion source
tree.
Also fixed some test driver .dsps so that all tests can now be built
in Release mode.
* .cvsignore: Added db3-win32
* HACKING: New build instructions.
* svn_private_conftg.hw: Change SVN_FS_WANT_DB_* to require 3.3.11.
* *.dsp: Look for DB3 includes in .../db3-win32/include; look for
import libs in .../db3-win32/lib. Fix library paths in several test
driver projects.
2001-08-27 15:31 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/: commit_tests.py (1.16),
prop_tests.py (1.8), schedule_tests.py (1.5), svnadmin_tests.py
(1.5):
* commit_tests.py
* prop_tests.py
* schedule_tests.py
* svnadmin_tests.py
Uh...can't use traceback without importing the traceback module.
2001-08-27 15:29 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/: basic_tests.py (1.14),
commit_tests.py (1.15), prop_tests.py (1.7), schedule_tests.py
(1.4), svnadmin_tests.py (1.4):
* basic_tests.py
* commit_tests.py
* prop_tests.py
* schedule_tests.py
* svnadmin_tests.py
Add a warning about the need for Python 2.1 when a SyntaxError
occurs importing the svntest module.
2001-08-27 15:03 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.h (1.32):
* fs.h (SVN_FS__REPOS_CUSTOM_DIR): Remove. This was unused, and the
need for it is no longer clear. If we do end up desiring a
designated user space in the repository, it's easy enough to add
later. But we aren't using such an area in the initial M3
repository, so it's premature to support it now.
Note: if we eventually decide to implement this, I
(kfogel@collab.net) have a diff that already implements most of it.
2001-08-27 14:38 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.c (1.72):
(create_hooks): Use a realistic example for the post-commit
template.
2001-08-27 12:26 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_delta.h (1.156), libsvn_delta/svndiff.c
(1.29), libsvn_delta/xml_parse.c (1.158), libsvn_fs/reps-strings.c
(1.29), mod_dav_svn/repos.c (1.60),
tests/libsvn_delta/random-test.c (1.25):
Implement Karl's suggestion for svndiff streams, that upon closing
the stream, if all the svndiff data has not been handled, it is only
considered an error if the stream's creator so requests.
* subversion/libsvn_delta/svndiff.c
(struct decode_baton): Added ERROR_ON_EARLY_CLOSE member.
(close_handler): Return SVN_ERR_SVNDIFF_UNEXPECTED_END only if the
baton was created with ERROR_ON_EARLY_CLOSE set to TRUE.
(svn_txdelta_parse_svndiff): Added ERROR_ON_EARLY_CLOSE argument to
populate new member of decode_baton structure.
* subversion/include/svn_delta.h
(svn_txdelta_parse_svndiff): Added ERROR_ON_EARLY_CLOSE argument to
populate new member of decode_baton structure.
* subversion/libsvn_delta/xml_parse.c
(do_begin_textdelta): Request an error if we close the svndiff
stream too early.
* subversion/tests/libsvn_delta/random-test.c
(main): Request an error if we close the svndiff stream too early.
* subversion/libsvn_fs/reps-strings.c
(rep_read_range): Request that we do NOT get an error for closing
the svndiff stream early. This means we no longer need to trap an
error when closing the stream.
* subversion/mod_dav_svn/repos.c
(dav_svn_open_stream): Request that we do NOT get an error for
closing the svndiff stream early.
2001-08-27 11:33 Karl Fogel <kfogel@collab.net>
* subversion/clients/cmdline/status.c (1.8):
When printing only modified files, show conflicted and even merged
files too.
This resolves issue #448, but we still need regression tests, so
instead of closing the issue, I've reblorgified it to be about
tests.
2001-08-27 11:10 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/schedule_tests.py (1.3):
Just keeping myself busy here writing tests (read: Hey, if you're
wondering how *you* can contribute to Subversion, consider writing
tests)
* schedule_tests.py
(delete_files, delete_dirs): New test functions.
(test_list): Add references to new test functions.
2001-08-27 11:05 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/reps-strings.c (1.28):
(svn_fs__rep_deltify): Turn off deltification.
2001-08-27 11:03 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.14):
Revert accidental commit 1.13, now back to contents of rev 1.12.
2001-08-27 10:11 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/get_editor.c (1.194):
* get_editor.c
(svn_wc_get_actual_target): Fixes for Issue #444. It isn't enough
to simply check to see if the parent is under revision control.
We gotta make the parent is versioned *as our parent* !
2001-08-26 19:02 Branko Cibej <brane@xbc.nu>
* HACKING (1.38), subversion/clients/cmdline/subversion_client.dsp
(1.6), subversion/libsvn_fs/libsvn_fs.dsp (1.15),
subversion/libsvn_ra/libsvn_ra.dsp (1.2),
subversion/libsvn_ra_dav/libsvn_ra_dav.dsp (1.2),
subversion/libsvn_ra_local/libsvn_ra_local.dsp (1.2),
subversion/libsvn_repos/libsvn_repos.dsp (1.6),
subversion/svnadmin/svnadmin.dsp (1.5),
subversion/svnlook/svnlook.dsp (1.3),
subversion/tests/libsvn_test_main.dsp (1.6),
subversion/tests/libsvn_fs/fs_test.dsp (1.6),
subversion/tests/libsvn_fs/skel_test.dsp (1.6),
subversion/tests/libsvn_repos/repos_test.dsp (1.2):
Change from Roman Neuhauser <cynic@mail.cz>:
Update Win32 build to db-3.3.11, and remove the dependency on the
SVN_DB3_WIN32 environment variable.
* HACKING: New Win32 build instructions. * *.dsp: Remove references
to SVN_DB3_WIN32, ling win libdb33.
2001-08-24 17:47 Ben Collins-Sussman <sussman@collab.net>
* subversion/clients/cmdline/: cl.h (1.17), main.c (1.16),
status-cmd.c (1.7), status.c (1.7):
Stupid status tricks: 'svn st -M' is now equivalent to 'svn st |
grep "^M"'. Just a shortcut.
* cl.h (svn_cl__opt_state_t): add 'modified' flag.
* main.c (main): add '--modified'/ '-M' commandline switch.
* status.c (svn_cl__print_status_list): filter if modify-flag set.
* status-cmd.c (svn_cl__status): pass opt_state->modified to above.
2001-08-24 14:16 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.13):
(svn_fs__rep_deltify): Turn off deltification.
2001-08-24 13:21 Kevin Pilch-Bisson <kevin@pilch-bisson.net>
* subversion/libsvn_client/auth.c (1.7):
Fix echoing of passwords to screen.
auth.c(auth_simple_password): Change HIDE flag to 1(true)when
prompting for passwords.
This fixes Issue #464.
2001-08-24 12:05 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/: clients/cmdline/basic_tests.py (1.13),
libsvn_fs/fs-test.c (1.103):
* clients/cmdline/basic_tests.py
(test_list): Enable update_binary_file_2 test.
* libsvn_fs/fs-test.c
(get_file_digest): Readjust back to a big buffer (with a
docstring and bug report to boot).
(large_file_integrity): Make filesize bigger than
svn_txdelta__window_size for regression testing usefulness.
2001-08-24 11:07 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_error_codes.h (1.15),
libsvn_delta/svndiff.c (1.28), libsvn_fs/reps-strings.c (1.27):
Woohoo. I think this nails the svn_txdelta__window_size-ed files
bug.
* include/svn_error_codes.h
(SVN_ERR_SVNDIFF_INVALID_HEADER, SVN_ERR_SVNDIFF_CORRUPT_WINDOW,
SVN_ERR_SVNDIFF_BACKWARD_VIEW, SVN_ERR_SVNDIFF_INVALID_OPS,
SVN_ERR_SVNDIFF_UNEXPECTED_END): New error codes for svndiff data.
* libsvn_delta/svndiff.c
(write_handler, close_handler): Use new SVN_ERR_SVNDIFF_* error
codes.
* libsvn_fs/reps-strings.c
(rep_read_range): Fixed some early-loop-exit logic bugs. Also,
closing a delta stream early causes a specific error
(SVN_ERR_SVNDIFF_UNEXPECTED_END) now, so we can test for that
error and handle it appropriately.
2001-08-23 16:27 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.126):
* adm_crawler.c (svn_wc_crawl_local_mods): apply gstein's change;
if we have two return two errors, link them together and return
that.
2001-08-23 15:59 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_subr/svn_error.c (1.76):
Make pool debugging stuff print out more neatly.
* svn_error.c
(svn_pool_create_debug, svn_pool_clear_debug,
svn_pool_destroy_debug): Make output columnar.
2001-08-23 15:00 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.99):
Working with Ben on the fs memory usage problem:
* tree.c (merge): Take a target node instead of target_root, now;
use target_path only for conflict error reporting. Also, just check
for mutability instead of forcing it, since in normal operation
anything we call merge on must be mutable. This should result in
many fewer calls to svn_fs__get_node_revision.
(get_dag_mutable): Remove this now-unused function.
(txn_body_merge): Change call to merge to match above. Doc fix.
2001-08-23 14:53 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.102):
* fs-test.c
(large_file_integrity): Oops. Check in non-broken version.
2001-08-23 14:51 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.101):
* fs-test.c
(large_file_integrity): Reverse order of final MD5 testing. Test
the trivial (fulltext) revision first, then increase in complexity
as deltas are stored back to revision 1.
2001-08-23 14:16 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.100):
* fs-test.c
(get_file_digest): Drop buffer size down to 4096.
(random_data_to_buffer): Helper function for writing pseudo-random
data to a buffer.
(large_file_integrity): Make sure we are using a file bigger than
svn_txdelta__window_size since we've had bugs with files that big.
Also, use random_data_to_buffer() 'cause it makes debugging so
much easier (what, you won't want to step through a pseudo-random
number of for() loops?).
2001-08-23 14:15 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_delta/svndiff.c (1.27):
* svndiff.c
(window_handler): Docstring spelling fix.
2001-08-23 13:45 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.98):
(merge): We already have node IDs, so don't redundantly refetch
them.
2001-08-23 13:38 Karl Fogel <kfogel@collab.net>
* subversion/clients/cmdline/: prompt.c (1.4), trace-commit.c
(1.8):
Ben recommended fixing issue #450 a different way:
* trace-commit.c (replace_root): Revert change of 2001-08-20.
* prompt.c (svn_cl__prompt_user): Print a newline if user's newline
won't be shown.
2001-08-23 12:09 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.97):
(merge): Less inaccurate error code (this is subtly different from
being "more accurate", by the way).
2001-08-23 11:54 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.96):
(txn_body_merge): Add explanatory comments in the places where Ben
had questions.
2001-08-23 11:34 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/basic_tests.py (1.12):
* basic_tests.py
(update_binary_file_2): New test function.
(test_list): Add reference to new test function,
update_binary_file_2(). Currently, this is commented out (cuz it
don't pass).
2001-08-22 12:29 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.125):
* adm_crawler.c (svn_wc__crawl_local_mods): main logic moved in
here.
(svn_wc_crawl_local_mods): public API is now a wrapper that passes
lockhash to static func, and catches *all* crawl errors and
unlocks dirs.
2001-08-21 19:51 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.c (1.71):
(svn_fs_close_fs): Oops, leave instrumenting off by default.
2001-08-21 19:51 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.c (1.70):
(svn_fs_close_fs): Remove inaccurate comment -- turned out to be a
case of installed libs interfering with local compilation again.
2001-08-21 18:44 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.c (1.69):
(svn_fs_close_fs): Set up lock and txn instrumentation, #ifdef'd out
for normal operation.
2001-08-21 17:11 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.c (1.68):
* fs.c (cleanup_fs): Add comment about wait time, so future readers
will know.
2001-08-21 17:10 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.c (1.67):
* fs.c (cleanup_fs): Whoa, revert previous change to wait time.
apr_sleep() takes microseconds, not milliseconds. Thanks to Greg
Stein for pointing this out. From now on, Karl relies on docs, not
his eminently fallible memory.
2001-08-21 15:15 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.c (1.66):
* fs.c (cleanup_fs): Just wait one minute, not sixteen, before
re-attempting a checkpoint.
2001-08-21 15:01 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.c (1.65):
* fs.c (cleanup_fs): Fix cut-and-pastos in error strings passed to
cleanup_fs_db. Next, investigate the sleep() call in the
DB_INCOMPLETE case immediately following this fix, which Mike Pilato
just noticed over my shoulder...
2001-08-21 14:55 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_delta/svndiff.c (1.26):
* svndiff.c
(write_handler): Fixed formatting.
2001-08-21 14:16 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_wc/Makefile (1.7):
Remove again, so this file doesn't appear in 'export -D tomorrow'.
2001-08-21 14:02 Karl Fogel <kfogel@collab.net>
* dist.sh (1.6):
Ensure successful `cd's before going further. Ben accidentally had
"make distclean" run in the top level of his working copy (oops!)
when we failed to cd into the dist sandbox's apr/ subdir for
cleanup.
2001-08-21 11:12 Ben Collins-Sussman <sussman@collab.net>
* subversion/mod_dav_svn/util.c (1.18):
Patch from Michael Parker <parkerm@jump.net>, fixes compile:
* util.c (dav_svn_simple_parse_uri): apr-util symbol name change.
2001-08-21 11:10 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.124):
* adm_crawler.c (svn_wc_crawl_local_mods): replace all SVN_ERR calls
with blocks that cleanup lockfiles. This might resolve a
locked-working-copy bug seen in very large commit tests. Thanks
to Yoshiki Hayashi <yoshiki@xemacs.org> for noticing this problem.
2001-08-20 16:55 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: basic_tests.py (1.11),
commit_tests.py (1.14), prop_tests.py (1.6), schedule_tests.py
(1.2), svnadmin_tests.py (1.3), svntest/actions.py (1.13),
svntest/main.py (1.20), svntest/tree.py (1.10):
Tweak python tests: *always* print unexpected errors, *never* print
expected errors. This keeps our test output clean.
* main.py (run_svn): take 'error_expected' arg, so we can control
whether stderr is printed.
* actions.py, tree.py, basic_tests.py, commit_tests.py,
prop_tests.py, schedule_tests.py, svnadmin_tests.py: change all
callers.
2001-08-20 16:23 Ben Collins-Sussman <sussman@collab.net>
* subversion/clients/cmdline/trace-commit.c (1.7):
This should fix issue #450.
2001-08-20 15:32 C. Michael Pilato <cmpilato@collab.net>
* subversion/: clients/cmdline/feedback.c (1.6),
clients/cmdline/trace-commit.c (1.6),
tests/clients/cmdline/basic_tests.py (1.10),
tests/clients/cmdline/commit_tests.py (1.13),
tests/clients/cmdline/prop_tests.py (1.5),
tests/clients/cmdline/svnadmin_tests.py (1.2),
tests/clients/cmdline/svntest/tree.py (1.9):
* clients/cmdline/feedback.c
Added #defines and #includes for APR string function support.
* clients/cmdline/trace-commit.c
(close_directory): Changed (sent?) verb "Changing" to "Sending"
(issue #451).
(close_file): Add "(bin)" to printed statement for files determined
to be binary files. Also, use "Sending" instead of "Changing".
(struct file_baton): Added BINARY field.
(add_file): Initialize BINARY field to NULL.
(change_file_prop): Pay attention to special mime-type property
setting.
* tests/clients/cmdline/basic_tests.py
(basic_commit, commit_one_file, commit_multiple_targets,
commit_multiple_targets_2, basic_update, basic_merge,
basic_conflict, update_binary_file): Use "Sending" instead of
"Changing" for commit output.
* tests/clients/cmdline/svntest/tree.py
(build_tree_from_commit): Update regexp to support new
output from commit trace editor.
* tests/clients/cmdline/svnadmin_tests.py
(test_youngest, list_revs): Use "Sending" instead of "Changing" for
commit output.
* tests/clients/cmdline/commit_tests.py
(commit_one_file, commit_inclusive_dir, commit_top_dir): Use
"Sending" instead of "Changing" for commit output.
* tests/clients/cmdline/prop_tests.py
(commit_props, update_props, downdate_props): Use "Sending" instead
of "Changing" for commit output.
2001-08-20 15:32 Karl Fogel <kfogel@collab.net>
* Makefile.in (1.28):
Fix up doc building and cleaning; make sure it works when build dir
is different from src dir. Large portions of this change
contributed by
C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
* Makefile.in (DOC_DIRS): New var.
(mkdir-init): Make doc dirs too.
(doc-clean): New rule.
(local-clean): Depend on `doc-clean'.
(.texi.info): Do no cleanup, now that `doc-clean' works.
2001-08-20 15:12 Karl Fogel <kfogel@collab.net>
* subversion/mod_dav_svn/util.c (1.17):
Follow apr_uri_ rename. Submitted by C. Scott Ananian
<cananian@lesser-magoo.lcs.mit.edu>, who writes:
From: "C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu>
Subject: path: apache 2.0 apr_uti_components name change
To: dev@subversion.tigris.org
Date: Mon, 20 Aug 2001 14:18:13 -0400 (EDT)
In the most recent CVS version of apache 2.0, the type
'apr_uri_components' mentioned in subversion/mod_dav_syn/util.c
has been renamed to 'apr_uri_t'. The following patch against
current CVS is required to allow subversion + mod_dav_svn to
compile. --s
2001-08-20 12:31 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/main.c (1.20):
* svnlook/main.c
(INT_ERR, main): Explicitly clean up the FS before exiting.
2001-08-20 12:29 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_client/commit.c (1.59):
* libsvn_client/commit.c
(import_file): Detect the mime-type on import, and send it up as a
property of the file.
2001-08-17 11:53 Joe Orton <joe@light.plus.com>
* subversion/libsvn_ra_dav/fetch.c (1.70):
* fetch.c: Use apr_want.h rather than string.h, and fix comment.
2001-08-17 11:50 Joe Orton <joe@light.plus.com>
* subversion/libsvn_ra_dav/fetch.c (1.69):
* fetch.c (start_element): Fix uninitialized variable warning at
line 855.
2001-08-17 11:31 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/main.c (1.19),
tools/hook-scripts/commit-email.pl (1.4):
* subversion/svnlook/main.c
(svnlook_cmd_t): Added svnlook_cmd_info and svnlook_cmd_tree (new
subcommands).
(do_info): New function.
(do_default): Use do_info() function.
(do_usage): Renamed from usage(). Added TREE and INFO subcommands.
Changed default output to be INFO + TREE.
(main): Handle new subcommand cases.
* tools/hook-scripts/commit-email.pl
Use svnlook's info command to get the author, date, and log in one
foul swoop. Also, uses arrays for tracking the changed nodes
instead of a weird hash nonsense.
2001-08-17 11:31 C. Michael Pilato <cmpilato@collab.net>
* build.conf (1.31):
* build.conf
Added schedule_tests.py to the test framework.
2001-08-17 11:24 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/schedule_tests.py (1.1):
* subversion/tests/clients/cmdline/schedule_tests.py
New file. Tests for WC scheduling stuff (add, unadd, delete,
undelete).
2001-08-17 05:16 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/repos.c (1.59):
Install a warning function for the FS so we can log problems rather
than abort() on them.
2001-08-16 23:01 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.123):
* adm_crawler.c (svn_wc_crawl_local_mods): Invalidate dir_baton when
the next target is not in the directory we had been processing.
This may be related to issue #444.
2001-08-16 16:03 Karl Fogel <kfogel@collab.net>
* INSTALL (1.6):
Add note about building statically.
2001-08-16 14:45 C. Michael Pilato <cmpilato@collab.net>
* autogen.sh (1.47):
* autogen.sh
Added some code to chmod +x scripts and such needed by autogen.sh.
It sucks to check out the subversion tree and have to hack at it
to build it.
2001-08-16 14:45 Karl Fogel <kfogel@collab.net>
* HACKING (1.37):
(Building from a working copy): Mention the autogen.sh x-bit
workaround.
2001-08-16 14:34 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.12):
More notes.
2001-08-16 14:27 Karl Fogel <kfogel@collab.net>
* dist.sh (1.5):
Make sure autogen.sh is executable, since later, when this dist
script exports the tree using subversion, the permissions won't be
right. Until we get permission versioning done, at least. :-)
Also, format sections more clearly.
2001-08-16 13:43 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_repos/libsvn_repos.dsp (1.5),
svnlook/svnlook.dsp (1.2):
* subversion/libsvn_repos/libsvn_repos.dsp
(node_tree.c): Added to Source Files
* subversion/svnlook/svnlook.dsp
(editors.c, nodetree.c): Removed obsolete Source Files
(svnlook.h): Removed obsolete Header Files
2001-08-16 12:38 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_repos.h (1.28),
libsvn_ra_local/checkout.c (1.14), libsvn_repos/node_tree.c (1.5),
libsvn_wc/adm_ops.c (1.84), svnlook/main.c (1.18):
* subversion/libsvn_ra_local/checkout.c
(walk_tree): Try a per-iteration pool out for size.
* subversion/include/svn_repos.h
(svn_repos_node_t): Removed ID member.
(svn_repos_node_editor): Added NODE_POOL argument. Now memory used
to build linked-list tree is not necessarily the same memory used
to during the editor drive.
* subversion/svnlook/main.c
(print_tree): Remove SHOW_IDS and POOL argument. This function
won't handle ID printing anymore.
(print_ids_tree): New function for printing trees with their IDs.
(do_tree): Call print_ids_tree() if we're printing ids, else use
print_tree().
* subversion/libsvn_repos/node_tree.c
(struct edit_baton): Added NODE_POOL member.
(replace_root, replace_directory, add_directory, replace_file,
add_file): All calls to create_node(), create_child_node(), and
create_sibling_node() use the editor's new NODE_POOL now instead
of the editor's POOL. Removed all calls to svn_fs_node_id()
throughout (there's no longer an ID member in the svn_repos_node_t
structure).
(svn_repos_node_editor): Add NODE_POOL argument, used to initialize
the edit baton's new NODE_POOL member.
* subversion/libsvn_wc/adm_ops.c
(svn_wc_delete, svn_wc_unadd, svn_wc_undelete): Make sure ENTRY is
non-NULL before dereferencing its members.
2001-08-16 03:49 Greg Stein <gstein@lyra.org>
* subversion/libsvn_wc/props.c (1.37):
Fix a typo in an error message.
2001-08-16 03:23 Greg Stein <gstein@lyra.org>
* subversion/: libsvn_ra_dav/fetch.c (1.68), mod_dav_svn/update.c
(1.10):
Implement (fill in) the "missing WC files" functionality. The client
sends svn:missing elements to the server to record the missing WC
items.
Some bug fixes in the update report generation.
* libsvn_ra_dav/fetch.c (reporter_delete_path,
reporter_abort_report): implement these functions.
* mod_dav_svn/update.c (add_helper): the add-* element should not be
an empty element (leave it open).
(upd_apply_textdelta): if the file was noted as "added", then
there is no reason to tell the client to fetch it -- it will
automagically do so.
(dav_svn__update_report): detect and handle svn:missing elements by
calling svn_repos_delete_path.
2001-08-15 22:22 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_repos/node_tree.c (1.4):
Use APR_WANT_STRFUNC and apr_want.h, as Greg Stein pointed out.
2001-08-15 21:47 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.11):
Turned into a short-term task list, now.
2001-08-15 21:36 Karl Fogel <kfogel@collab.net>
* tools/hook-scripts/commit-email.pl (1.3):
Documentation fix.
2001-08-15 21:35 Karl Fogel <kfogel@collab.net>
* tools/hook-scripts/commit-email.pl (1.2):
Finish remaining work; seems to be working now.
2001-08-15 21:32 Greg Stein <gstein@lyra.org>
* subversion/: include/svn_repos.h (1.27), libsvn_repos/hooks.c
(1.17), mod_dav_svn/activity.c (1.11):
Add the author name for a commit, and run the precommit hook.
* libsvn_repos/hooks.c (svn_repos_fs_begin_txn_for_commit): allow a
NULL log_msg since mod_dav_svn doesn't have it at the time it
creates the txn. (it comes along later, and we apply it directly to
the txn props)
* include/svn_repos.h (svn_repos_fs_begin_txn_for_commit): update
docs to note the NULL log_msg
* mod_dav_svn/activity.c (dav_svn_create_activity): call
svn_repos_fs_begin_txn_for_commit to run the precommit hooks,
and to attach the author name (which comes from
repos->username). no log_msg at this point, so pass NULL.
2001-08-15 21:17 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_repos/node_tree.c (1.3):
#include <string.h>, for strcmp().
2001-08-15 21:13 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.10):
Bring up-to-date, getting closer...
2001-08-15 21:09 Karl Fogel <kfogel@collab.net>
* subversion/tests/clients/cmdline/prop_tests.py (1.4):
(downdate_props): New test, but don't run it. It doesn't actually
work yet.
2001-08-15 21:05 Karl Fogel <kfogel@collab.net>
* tools/hook-scripts/: README (1.1), commit-email.pl (1.1):
Committing work on commit-email script. Mike Pilato really wrote
this, I'm just checking it in.
2001-08-15 20:37 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/update.c (1.9):
Fix some bugs related to updating.
(update_ctx_t {}): add 'anchor' member to note the base path when
replace_root is called. all update paths will be built off this
path.
(upd_replace_root): use the new anchor member, rather than assuming
"/"
(dav_svn__update_report): set up the uc.anchor member.
HACK: if the node is a directory, then append "/." to it so that
begin_report will see the correct directory after it does a split
on the param. Will fix post-M3 when begin_report grows another
param.
2001-08-15 18:06 Bill Tutt <rassilon@lyra.org>
* subversion/libsvn_ra_dav/: commit.c (1.66), session.c (1.36):
* libsvn_ra_dav/commit.c: (commit_resource) Add cast to (void *) to
make MSVC happy.
* libsvn_ra_dav/session.c: Include apr_general.h to pick up
strcasecmp prototype.
2001-08-15 17:25 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_repos/node_tree.c (1.2):
* node_tree.c (create_node): Use apr_pcalloc() to zero out memory.
2001-08-15 16:23 C. Michael Pilato <cmpilato@collab.net>
* build.conf (1.30):
* build.conf
(svnlook): Removed the INSTALL line for this build target. Hoping
this means it will install the same way the `svn' binary does.
2001-08-15 15:50 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/main.c (1.17):
* main.c
(do_diff): Fix for build warning.
2001-08-15 15:16 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_ra_dav/session.c (1.35):
(dav_plugin): remove AUTH_USERNAME support for M3. We'll make the
client smarter later on; right now it would attempt to use this
method, even though the hosting httpd process wouldn't accept it.
2001-08-15 12:55 Karl Fogel <kfogel@collab.net>
* dist.sh (1.4):
Defang the APR subtree so that it's no longer a working copy, as
suggested by Greg Stein.
2001-08-15 12:51 Karl Fogel <kfogel@collab.net>
* dist.sh (1.3):
Fix typo in comment.
2001-08-15 11:48 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_repos.h (1.26), libsvn_repos/node_tree.c
(1.1), svnlook/editors.c (1.4), svnlook/main.c (1.16),
svnlook/nodetree.c (1.4), svnlook/svnlook.h (1.4):
Moving code that from svnlook into the libsvn_repos library (because
we plan to make svnadmin use it, too)
* subversion/include/svn_repos.h
(struct svn_repos_node_t): Moved from svnlook/svnlook.h (where it
was just repos_node_t.
(svn_repos_node_editor): Moved from svnlook/svnlook.h (where it was
called svnlook_tree_delta_editor).
(svn_repos_node_from_baton): Moved from svnlook/svnlook.h (where it
was called svnlook_edit_baton_tree).
* subversion/libsvn_repos/node_tree.c
New file (with contents + edits from subversion/svnlook/editors.c
and subversion/svnlook/nodetree.c)
* subversion/svnlook/editors.c
* subversion/svnlook/nodetree.c
* subversion/svnlook/svnlook.h
Removed obsolete files.
* subversion/svnlook/main.c
Lots of renamed things (see above).
(open_writable_binary_file, dump_contents): New helper functions.
(contents_to_tmp_file): Removed obsolete function.
(print_diff_tree): Updated to use new helper functions. Diff output
is prettier now.
(do_diff): Cleanup temporary dirs.
2001-08-15 10:42 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_wc/questions.c (1.59):
Fix issue #439; bug report and fix both submitted by Yoshiki Hayashi
<yoshiki@xemacs.org>:
* questions.c (timestamps_equal_p): Check for null entry.
2001-08-15 10:33 Karl Fogel <kfogel@collab.net>
* dist.sh (1.2):
Append $VERSION to $DISTNAME, as Greg Stein suggested, so the
tarball unpacks into subversion-<ver>/, not subversion/.
2001-08-15 10:12 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/README (1.10):
Update documentation.
2001-08-15 10:02 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svntest/main.py (1.19):
More tweaks to work over ra_dav.
2001-08-15 09:49 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_client/status.c (1.22):
* status.c
(svn_client_status): Bug fix. If you can't get the ancestry from a
file target, try looking in its parent.
2001-08-15 09:42 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svntest/: actions.py (1.12),
main.py (1.18):
Switch to the symlink method, for dav testing.
2001-08-15 09:39 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/entries.c (1.118):
* entries.c
(take_from_entry): Doc fix.
2001-08-15 09:14 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_subr/io.c (1.45):
* io.c
(svn_io_detect_mimetype): Bug fix for Issue #440
2001-08-14 19:28 Karl Fogel <kfogel@collab.net>
* INSTALL (1.5):
Tweak.
2001-08-14 19:23 Karl Fogel <kfogel@collab.net>
* INSTALL (1.4), Makefile.in (1.27), dist.sh (1.1):
* dist.sh: New file, builds tarball.
* Makefile.in (dist): Just invoke dist.sh
* INSTALL: Say only true things.
2001-08-14 17:31 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svntest/: actions.py (1.11),
main.py (1.17):
Rewrite argv parsing. take "--url" arg instead.
2001-08-14 14:18 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/get_editor.c (1.193):
* get_editor.c (close_file): bugfix -- duh. only execute the new
textual merge logic if the update involved a textual change.
2001-08-14 13:52 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_wc.h (1.111), libsvn_subr/io.c (1.44),
libsvn_wc/get_editor.c (1.192), libsvn_wc/props.c (1.36),
libsvn_wc/questions.c (1.58), tests/clients/cmdline/basic_tests.py
(1.9), tests/clients/cmdline/svntest/main.py (1.16),
tests/clients/cmdline/svntest/tree.py (1.8):
Finish issue #432: make updates of binary files work.
If a file is locally modified, then a working text file will have
changes 'merged' in via diff/patch, and a working binary file will
simply be backed up to a unique '.orig' (right next to the newly
received version of the file.)
If has file has no local mods, then the newly received version just
overwrites the working file, regardless of text/binary type.
* get_editor.c (close_file): rewrite logic as described above!
to handle updates of
binary files. Also, if there are no local mods, then just
overwrite the working file *regardless* of text/binary type.
* svn_wc.h, questions.c (svn_wc_has_binary_prop): new helper
routine.
* basic_tests.py (update_binary_file): new test for binary file
updates; checks for .orig file backup locally modified file.
(detect_extra_files): fancy singleton handler for verifying
contents of the extra '.orig' file.
* tree.py (get_props): split property on ' : ' instead of ':',
since prop names often have colons in them.
(SVNTreeNode): treenodes now contain 'path' field, a full path to
itself in the tree. how did we ever live without this?
* main.py (run_tests): bugfix. `try' clause was too big -- it was
catching ValueErrors from the actual test being run!
* io.c (apr_copy_file): unrelated bugfix. this routine wasn't
truncating before, sometimes leaving trailing data.
* props.c (svn_wc_prop_list): unrelated bugfix. remove bogus check,
as it defeats correct behavior of svn_wc__prop_path.
2001-08-14 13:46 Karl Fogel <kfogel@collab.net>
* Makefile.in (1.26):
(dist): Making this work...
2001-08-14 12:46 Karl Fogel <kfogel@collab.net>
* Makefile.in (1.25):
(dist): Note emphemeral, fleeting nature.
2001-08-14 11:57 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/entries.c (1.117):
* entries.c
(svn_wc__entries_write): Remove dangerous and poorly though-out
code. Smack the author two or three times.
2001-08-14 11:22 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/tree.c (1.95):
* tree.c
(merge): Oops. What, you mean I need to follow ANSI C coding
conventions?
2001-08-14 11:12 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/: strings-table.c (1.12), tree.c (1.94):
* strings-table.c
(svn_fs__string_size): Removed obsolete "todo" comment.
* tree.c
(txn_body_copy, svn_fs_apply_textdelta): Updated "todo" comment.
(merge): Logic reorganization and some "todo" cleanups.
2001-08-14 10:26 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/theta.png (1.1):
Temporarily adding binary file for testing.
2001-08-13 22:51 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/deadprops.c (1.16):
BIG HACK. Map the incoming names from mod_dav's current scheme
(NAMESPACE-ID ":" NAME) into a "normal" string for use in the FS.
Also take care of the property values that mod_dav expects: they
begin with a language value and contain embedded NUL characters.
This is a temporary solution. The final solution (in the next day,
hopefully) will be a reworking of the interface between mod_dav and
its backend modules (e.g. mod_dav_svn).
(dav_db{}): add a working buffer for the various remapping
(fix_name): new function to tweak a property name from the mod_dav
style to the FS style.
(dav_svn_db_open): prep the working buffer
(dav_svn_db_fetch): if the "METADATA" pseudo-property is requested,
then return a fake one. (we no longer store this property). remap
the name via fix_name(). format the result value properly.
(dav_svn_db_store): don't store the "METADATA" pseudo-property.
remap the name. handle the value reformat.
(dav_svn_db_remove, dav_svn_db_exists): remap the name.
(get_key): pass in db to do the hack-work. remap the name from the
FS style to the mod_dav style.
(dav_svn_db_firstkey, dav_svn_db_nextkey): pass new param to
get_key.
2001-08-13 22:44 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/commit.c (1.65):
When sending properties to the server, don't use the custom
namespace if the property name already begins with "svn:".
(do_setprop): test the name for "svn:" and use the right namespace
prefix
(do_proppatch): define the "C" prefix for the custom namespace and
use "S" for the normal "svn:" namespace. For deletes, use the
correct prefix based on the property name.
2001-08-13 22:41 Greg Stein <gstein@lyra.org>
* subversion/: mod_dav_svn/liveprops.c (1.23), mod_dav_svn/update.c
(1.8), include/svn_xml.h (1.33), libsvn_ra_dav/fetch.c (1.67),
libsvn_ra_dav/props.c (1.12), libsvn_ra_dav/ra_dav.h (1.37):
Rationalize some of the XML namespaces and property name/prefix
stuff.
WARNING: DAV-based working copies will be broken by this change
because of a local property name change.
* mod_dav_svn/update.c (dav_svn__update_report): update some error
text -- the svn:target-revision element name is lower-case.
* mod_dav_svn/liveprops.c (dav_svn_namespace_uris[]): use
SVN_PROP_PREFIX for the property prefix to ensure we get the
lower-cased prefix for the property names.
* libsvn_ra_dav/ra_dav.h (SVN_RA_DAV__LP_NAMESPACE): use
SVN_PROP_WC_PREFIX to ensure that we get the proper prefix; toss the
long URL in favor of a simpler prefix.
(SVN_RA_DAV__CUSTOM_NAMESPACE, SVN_RA_DAV__PROP_BASELINE_RELPATH):
use SVN_PROP_PREFIX to get the lower-cased version of the prefix.
* libsvn_ra_dav/props.c (neon_descriptions[]): use SVN_PROP_PREFIX
to get the right case for the property prefix.
* libsvn_ra_dav/fetch.c (starting_props[]): use SVN_PROP_PREFIX to
get the right case for the property prefix.
* include/svn_xml.h (SVN_XML_NAMESPACE): use the simpler "svn:"
prefix
2001-08-13 22:32 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/repos.c (1.58):
add missing svn_repos.h header
2001-08-13 19:54 Karl Fogel <kfogel@collab.net>
* INSTALL (1.3):
Document installation procedure.
2001-08-13 19:53 Karl Fogel <kfogel@collab.net>
* README (1.14):
Mention libsvn_repos.
2001-08-13 17:07 Karl Fogel <kfogel@collab.net>
* STACK (1.97):
No more M3 stuff here. A few administrative tasks remain; they're
listed in notes/m3-checklist.txt.
2001-08-13 16:59 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.9):
A few more M3 things.
2001-08-13 16:53 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.8):
Some more M3 stuff.
2001-08-13 15:18 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_repos/delta.c (1.54):
Fix issue #431:
(delta_proplists): Pass null value to delete a property. Also,
check for trivial case first, though this is only a performance
enhancement and doesn't affect behavior.
2001-08-13 14:54 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/get_editor.c (1.191):
* get_editor.c
(svn_wc_get_actual_target): Bug fix. APR won't tell us that "" is a
directory -- we need to supply ".".
2001-08-13 14:40 C. Michael Pilato <cmpilato@collab.net>
* subversion.dsw (1.17), subversion/svnadmin/svnadmin.dsp (1.4),
subversion/tests/libsvn_fs/fs-test.c (1.99),
subversion/tests/libsvn_repos/repos_test.dsp (1.1),
subversion/tests/libsvn_repos/tests_libsvn_repos_test.dsp (1.3):
* subversion.dsw
(__check__): Added repos test.
(tests_libsvn_repos_repos): Renamed from tests_libsvn_repos_test.
* subversion/svnadmin/svnadmin.dsp
Added include path to Berkeley.
* subversion/tests/libsvn_fs/fs-test.c
(check_old_revisions): Windows compiler greatly frowned upon newline
characters inside my string.
* subversion/tests/libsvn_repos/repos_test.dsp
New file (with the old contents of tests_libsvn_repos_test.dsp).
* subversion/tests/libsvn_repos/tests_libsvn_repos_test.dsp
Removed this file (see above).
2001-08-13 13:50 Bill Tutt <rassilon@lyra.org>
* subversion/libsvn_repos/libsvn_repos.dsp (1.4):
* subversion/libsvn_repos/libsvn_repos.dsp: Add lock.c as another
source file to bulid. This fixes the svn_repos_open symbol problem.
2001-08-13 10:34 C. Michael Pilato <cmpilato@collab.net>
* subversion/clients/cmdline/feedback.c (1.5):
* feedback.c
(report_added_item, report_unadded_item, report_deleted_item,
report_undeleted_item): Stop caring about file/directory-ness of
the reported item.
2001-08-13 10:15 C. Michael Pilato <cmpilato@collab.net>
* subversion/: clients/cmdline/feedback.c (1.4), include/svn_io.h
(1.42), include/svn_pools.h (1.4), include/svn_types.h (1.66),
libsvn_subr/io.c (1.43), libsvn_subr/svn_error.c (1.75),
libsvn_wc/adm_ops.c (1.83):
* svn_io.h
(svn_io_detect_mimetype): New function.
* io.c
(svn_io_detect_mimetype): New function.
* svn_pools.h
(svn_pool_feedback_t): Added new callback functions --
report_added_item(), report_unadded_item(), report_deleted_item(),
report_undeleted_item().
* feedback.c
(report_added_item, report_unadded_item, report_deleted_item,
report_undeleted_item): New functions.
(svn_cl__init_feedback_vtable): Initialize function pointers to new
functions.
* svn_types.h
(SVN_PROP_MIME_TYPE, SVN_PROP_CHARSET): New property #defines.
* adm_ops.c
(mark_tree): Call feedback functions for reporting schedule changes.
(svn_wc_add_file): Detect mimetype and store as a property on the
file, then call the report_added_item() feedback function.
(svn_wc_add_directory): Call report_added_item() feedback function.
(svn_wc_unadd): Call report_unadded_item() feedback function.
(svn_wc_undelete): Call report_undeleted_item() feedback function.
(svn_wc_delete): Call report_deleted_item() feedback fction.
* svn_error.c
(report_added_item, report_unadded_item, report_deleted_item,
report_undeleted_item): New dummy functions.
(svn_error_init_pool): Initialize new callback function pointers
with new dummies.
2001-08-13 06:02 Greg Stein <gstein@lyra.org>
* subversion/: mod_dav_svn/dav_svn.h (1.36),
mod_dav_svn/deadprops.c (1.15), mod_dav_svn/repos.c (1.57),
libsvn_ra_dav/commit.c (1.64), libsvn_ra_dav/fetch.c (1.66),
libsvn_ra_dav/ra_dav.h (1.36):
Send the log message to the server via a property on the working
baseline.
* mod_dav_svn/dav_svn.h (dav_svn_root): add the FS transaction
handle for later use.
* mod_dav_svn/deadprops.c (dav_svn_db_open): baselines now have
properties, so allow them in. add a check for a R/W against R/O
sources.
(dav_svn_db_fetch, dav_svn_db_exists, dav_svn_db_firstkey): fetch
properties from transaction and revision roots when applicable.
(dav_svn_db_store, dav_svn_db_remove): remove properties from
transactions when applicable.
* mod_dav_svn/repos.c (dav_svn_prep_working): set up working
baselines. remember the FS transaction handle.
* libsvn_ra_dav/commit.c (log_message_prop): new property name for
the log message (to be used in a PROPPATCH).
(do_proppatch): use DEBUG_CR rather than EOL. minor formatting
nits.
(get_baseline_url): no longer needed; folded into apply_log_message
(apply_log_message): new function to transfer the log message to
the server.
(svn_ra_dav__get_commit_editor): shift baseline fetching and
checkout to the new apply_log_message function.
* libsvn_ra_dav/fetch.c, ra_dav.h (DEBUG_CR): move from fetch.c to
ra_dav.h
2001-08-12 22:46 Karl Fogel <kfogel@collab.net>
* subversion/svnadmin/main.c (1.25):
* svnadmin/main.c: #include "db.h", for DB_RUNRECOVERY check.
(main.c): Ignore DB_RUNRECOVERY when opening fs. Also, open db
lockfile for writing/appending, so the resulting filehandle is
suitable for obtaining an exclusive lock. This resolves issue #429,
though I must admit I don't understand why the flags on the
filehandle should affect the type of lock you can get. Add new
comment regarding issue #430.
2001-08-12 22:13 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_fs.h (1.105), libsvn_fs/fs.c (1.64),
svnadmin/main.c (1.24):
Finish db recovery code, at least in theory. Thanks to Greg Stein
for answering many questions.
In practice, whenever I run `svnadmin recover' on a repository --
which should be a successful no-op when there's nothing to recover
from -- `svnadmin' fails in apr_file_lock(), which in turn fails
because fcntl() is returning -1, with errno set indicating "Bad file
descriptor". I don't know why; the lockfile is certainly there.
Any thoughts, folks?
* svnadmin/main.c (main, usage): New `recover' subcommand.
* svn_fs.h (svn_fs_db_env_path): Declare new func.
(svn_fs_repository): Doc fix.
* fs.c (create_locks): Fix explanatory text in lockfile.
2001-08-12 18:12 Karl Fogel <kfogel@collab.net>
* STACK (1.96), build.conf (1.29), subversion/include/svn_fs.h
(1.104), subversion/include/svn_repos.h (1.25),
subversion/libsvn_fs/fs.c (1.63),
subversion/libsvn_ra_local/ra_plugin.c (1.43),
subversion/libsvn_repos/hooks.c (1.16),
subversion/libsvn_repos/lock.c (1.3),
subversion/mod_dav_svn/repos.c (1.56), subversion/svnadmin/main.c
(1.23), subversion/svnlook/main.c (1.15):
More fs locking work:
* lock.c (clear_and_close): Replaces unlock_repository, finished.
* svn_repos.h (svn_repos_open): Doc fix.
* svn_fs.h (svn_fs_new, svn_fs_open_berkeley): Doc fixes.
* fs.c (svn_fs_open_berkeley): Set up hook and lock paths.
* svn_fs.h, fs.c (svn_fs_repository, svn_fs_conf_dir,
svn_fs_lock_dir, svn_fs_db_lockfile, svn_fs_hook_dir): Take pool
argument, allocate path in it; all callers changed. This will
lessen the impact of fixing issue #428, when we get around to that.
* ra_plugin.c (authenticate): Call svn_repos_open(), instead of
svn_fs_new() followed by svn_fs_open_berkeley().
* repos.c (dav_svn_get_resource): Same.
* svnlook/main.c (main): Same.
* svnadmin/main.c (main): Same.
* build.conf (svnadmin): Depend on libsvn_repos too.
2001-08-11 08:41 Kevin Pilch-Bisson <kevin@pilch-bisson.net>
* subversion/clients/win32/svn_com/: SVN.cpp (1.9), SVNStatus.cpp
(1.2):
Fix the win32 build. This fixes a Microsoft Bug, involving
duplicate definitions for InlineIsEqualGUID. For more information
see: http://support.microsoft.com/support/kb/articles/q243/2/98.asp
Submitted by: Cynic <cynic@mail.cz> Reviewed by: Kevin Pilch-Bisson
<kevin@pilch-bisson.net>
2001-08-11 07:56 Kevin Pilch-Bisson <kevin@pilch-bisson.net>
* subversion/: clients/win32/svn_com/SVN.cpp (1.8),
libsvn_subr/libsvn_subr.dsp (1.9):
Catch up the win32 build a little, still not quite there.
* libsvn_subr.dsp - change base64.c to svn_base64.c
* SVN.cpp - Add g_pool argument to apr_hash_first
2001-08-10 21:31 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error_codes.h (1.14), libsvn_fs/fs.c
(1.62), libsvn_repos/lock.c (1.2):
* fs.c (create_hooks): Improved initial contents of template files,
as promised Mike on phone.
* lock.c (svn_repos_open): Added some more code, still unfinished.
* svn_error_codes.h (SVN_ERR_REPOS_LOCKED): New error.
2001-08-10 21:02 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_subr/config.c (1.2):
#include <string.h> for strlen.
2001-08-10 20:40 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.c (1.61):
* fs.c (create_locks): Better initial contents for the lockfile.
2001-08-10 20:13 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.c (1.60):
Fix wronglets noticed by Greg Stein:
* fs.c (create_locks): Don't call apr_psprintf unnecessarily.
Unrelatedly, clarify scoping.
(svn_fs_db_lockfile, svn_fs_start_commit_hook,
svn_fs_pre_commit_hook, svn_fs_post_commit_hook,
svn_fs_read_sentinel_hook, svn_fs_write_sentinel_hook): Use
apr_pstrcat, not apr_psprintf.
2001-08-10 17:42 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_fs.h (1.103), include/svn_repos.h
(1.24), libsvn_fs/fs.c (1.59), libsvn_fs/fs.h (1.31),
libsvn_repos/README (1.3), libsvn_repos/lock.c (1.1),
tests/clients/cmdline/commit_tests.py (1.12),
tests/clients/cmdline/svntest/main.py (1.15):
Set up lock area in repository. And while we're at it, set up hook
area separate from conf area.
* fs.h (SVN_FS__REPOS_LOCK_DIR, SVN_FS__REPOS_HOOK_DIR,
SVN_FS__REPOS_DB_LOCKFILE): New #defines.
(svn_fs_t): New fields `hook_path' and `lock_path'.
* fs.c (create_hooks, create_locks): Replaces create_conf().
(svn_fs_create_berkeley): Use new func create_hooks() to create the
hooks directory, and just create the conf dir by hand. Also create
new lock directory by hand, and the single db file in it.
(svn_fs_hook_dir, svn_fs_lock_dir, svn_fs_db_lockfile): New funcs.
(svn_fs_start_commit_hook, svn_fs_pre_commit_hook,
svn_fs_post_commit_hook, svn_fs_read_sentinel_hook,
svn_fs_write_sentinel_hook): Fix to use new hook dir path.
* svn_fs.h (svn_fs_hook_dir, svn_fs_lock_dir): Declare new funcs.
* main.py (greek_tree): Fix paths to repository hooks.
* commit_tests.py (test_list): Comment out `hook_test'. It's
failing now, need to find out why, but want to get the rest of this
stuff committed first.
These changes are also part of the new locking and DB_RUN_RECOVERY
work, but they have no effect yet and nothing above depends on them:
* lock.c (unlock_repository, svn_repos_open): New file, new funcs.
* README: Mention above.
* svn_repos.h (svn_repos_open): Declare new func.
2001-08-10 17:40 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/activity.c (1.10):
The SVN_FS__ symbol wasn't publicly available. All of those will be
moved to libsvn_repos stuff post-M3. For now, just use a hard-coded
string.
(ACTIVITY_DB): use "dav/activities" for the path to the activity db
2001-08-10 16:54 Ben Collins-Sussman <sussman@collab.net>
* subversion/mod_dav_svn/activity.c (1.9):
Put activity.db in the dav/ subdirectory of the repository.
2001-08-10 16:18 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/commit.c (1.63):
(record_prop_change): escape the property value that gets sent to
the server. Since we embed the value in XML, we must escape it.
(get_baseline_url): new function to fetch the URL of the most recent
baseline.
(svn_ra_dav__get_commit_editor): check out the baseline.
near future: we will be attaching the log_msg to it via PROPPATCH
2001-08-10 16:09 Branko Cibej <brane@xbc.nu>
* subversion/include/svn_config.h (1.2):
Doc fixes.
2001-08-10 16:09 Branko Cibej <brane@xbc.nu>
* subversion/libsvn_subr/config.c (1.1):
Skeleton implementation of the configuration module. This code is
still untested; all I'm sure of is that it builds on Unix.
2001-08-10 16:06 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: fetch.c (1.65), props.c (1.11),
ra_dav.h (1.35):
Add svn_ra_dav__get_one_prop() function to simplify some prop
fetching.
* ra_dav.h (svn_ra_dav__get_one_prop): new declaration
(svn_ra_dav__vcc_prop, svn_ra_dav__checked_in_prop): new
declaration of some (constant) structures for fetching a property.
* props.c (svn_ra_dav__get_one_prop): new function
(svn_ra_dav__vcc_prop, svn_ra_dav__checked_in_prop): new constants
* fetch.c (vcc_props): removed; obsolete by intro of
svn_ra_dav__vcc_prop
(fetch_props): no longer needed since we fetch all props
(version_name_prop): added. used to fetch just the
DAV:version-name prop
(begin_checkout): use svn_ra_dav__get_one_prop to fetch the baseline
URL from the VCC.
(svn_ra_dav__get_latest_revnum): simplify by using
svn_ra_dav__get_one_prop
2001-08-10 16:00 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/session.c (1.34):
Add missing ne_auth.h header.
2001-08-10 15:40 Ben Collins-Sussman <sussman@collab.net>
* subversion/clients/cmdline/: cl.h (1.16), main.c (1.15),
status-cmd.c (1.6):
Implement nonrecursive commandline switch ('-n'). Make 'svn st' use
it. ### Todo: make 'up' and other subcommands notice it too
someday.
* cl.h (svn_cl__opt_state_t): add 'nonrecursive' commandline
switch.
* main.c (main): same.
* status-cmd.c (svn_cl__status): notice nonrecursive switch.
2001-08-10 14:54 C. Michael Pilato <cmpilato@collab.net>
* subversion/clients/cmdline/util.c (1.7):
* util.c
(svn_cl__args_to_target_array): Canonicalize all incoming paths.
2001-08-10 14:46 Karl Fogel <kfogel@collab.net>
* HACKING (1.36):
Fix Apache CVS location.
2001-08-10 14:44 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/fs-helpers.c (1.9):
* fs-helpers.c
(svn_test__stream_to_string): Added some comments.
2001-08-10 13:55 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_subr/path.c (1.40),
tests/libsvn_subr/path-test.c (1.6):
Bug fixes (and a test) for svn_path_split().
* path-test.c
(test_path_is_child): Trivial edit.
(test_path_split): New test function for svn_path_split().
(test_funcs): Added reference to new test test_path_split().
* path.c
(svn_path_split): Bug fixes.
2001-08-10 11:57 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/commit_tests.py (1.11):
* commit_tests.py
(hook_test): Write out /bin/sh scripts for doing the "echo"s now.
(test_list): Re-enable the hook_test().
2001-08-10 11:57 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_repos/hooks.c (1.15):
* hooks.c
(run_cmd_with_output): New helper function.
(run_start_commit_hook, run_pre_commit_hook, run_post_commit_hook):
Use new helper run_cmd_with_output().
2001-08-10 11:32 Karl Fogel <kfogel@collab.net>
* HACKING (1.35):
Note about unspoken conventions.
2001-08-10 11:27 Karl Fogel <kfogel@collab.net>
* HACKING (1.34):
Note about author lines, for the future.
2001-08-10 11:16 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/main.c (1.14):
* main.c
(print_diff_tree): Use svn_io_run_cmd() instead of system().
2001-08-10 11:01 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_repos/hooks.c (1.14):
* hooks.c
(run_start_commit_hook, run_pre_commit_hook, run_post_commit_hook):
Oops. Cut-n-paste-o(h, no!)
2001-08-10 10:58 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/fs.c (1.58):
* fs.c
(create_conf): Update the text that appears in the .tmpl files.
2001-08-10 10:34 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/svntest/main.py (1.14):
* main.py
(get_start_commit_hook_path, get_pre_commit_hook_path,
get_post_commit_hook_path): Oops! Defined these to return the
right thing.
2001-08-10 09:54 C. Michael Pilato <cmpilato@collab.net>
* subversion/: clients/cmdline/diff.c (1.5), include/svn_fs.h
(1.102), include/svn_io.h (1.41), include/svn_wc.h (1.110),
libsvn_fs/fs.c (1.57), libsvn_fs/fs.h (1.30), libsvn_repos/hooks.c
(1.13), libsvn_subr/io.c (1.42), libsvn_wc/log.c (1.109),
tests/clients/cmdline/commit_tests.py (1.10),
tests/clients/cmdline/svntest/main.py (1.13):
Hooks in Subversion are now called as programs with ordered
arguments. More to come on this soon.
* subversion/include/svn_fs.h
(svn_fs_start_commit_hook): Renamed from svn_fs_start_commit_conf().
(svn_fs_pre_commit_hook): Renamed from svn_fs_pre_commit_conf().
(svn_fs_post_commit_hook): Renamed from svn_fs_post_commit_conf().
(svn_fs_read_sentinel_hook): Renamed from
svn_fs_read_sentinel_conf().
(svn_fs_write_sentinel_hook): Renamed from
svn_fs_write_sentinel_conf().
* subversion/libsvn_fs/fs.h
(SVN_FS__REPOS_HOOK_START_COMMIT, SVN_FS__REPOS_HOOK_PRE_COMMIT,
SVN_FS__REPOS_HOOK_POST_COMMIT, SVN_FS__REPOS_HOOK_READ_SENTINEL,
SVN_FS__REPOS_HOOK_WRITE_SENTINEL): Renamed and redefined to have
no extension. These refer to actual scripts or programs now, not
just a plaintext config file. Users modified.
(SVN_FS__REPOS_HOOK_DESC_EXT): New #define.
* subversion/libsvn_fs/fs.c
(svn_fs_start_commit_hook): Renamed from svn_fs_start_commit_conf().
(svn_fs_pre_commit_hook): Renamed from svn_fs_pre_commit_conf().
(svn_fs_post_commit_hook): Renamed from svn_fs_post_commit_conf().
(svn_fs_read_sentinel_hook): Renamed from
svn_fs_read_sentinel_conf().
(svn_fs_write_sentinel_hook): Renamed from
svn_fs_write_sentinel_conf().
(create_conf): Write new .tmpl template files for hook scripts.
* subversion/include/svn_io.h
* subversion/include/svn_wc.h
* subversion/libsvn_wc/log.c
* subversion/libsvn_subr/io.c
* subversion/clients/cmdline/diff.c
(svn_io_run_cmd): Moved from libsvn_wc (where it was called
svn_wc_run_cmd_in_directory(). Also, PATH argument changed to a
const char * instead of svn_stringbuf_t *. Callers changed.
* subversion/libsvn_repos/hooks.c
(run_start_commit_hook, run_pre_commit_hook, run_post_commit_hook):
Renamed from *_hooks (), and changed to call the hook as a
program, not a parse-able list of programs. Callers changed.
(svn_repos_fs_commit_txn): Abort transaction if the pre-commit hook
fails.
(svn_repos_fs_begin_txn_for_commit): Call to run_post_commit_hook(s)
updated.
(read_char, eat_to_eol, expand, is_irrelevant_line, read_hook_line,
run_hook_file): I know Karl worked hard on these...but they are
now obsolete. Functions removed.
* commit_tests.py
(test_list): Commented out hook_test call -- this test is completely
bogus now.
* main.py
(get_post_commit_hook_path, get_pre_commit_hook_path,
get_start_commit_hook_path): Removed the ".txt" from the paths
these functions return.
2001-08-10 02:50 XelaRellum
* subversion/bindings/java/jni/org/tigris/subversion/lib/:
Client.java (1.2), Entry.java (1.2), Reporter.java (1.2),
Revision.java (1.2), Status.java (1.2), TextdeltaHandler.java
(1.2), TextdeltaOp.java (1.2), TextdeltaWindow.java (1.2),
TreeDeltaEditor.java (1.2), WorkingCopy.java (1.2):
Removed @author and @version tags
2001-08-09 20:38 Greg Stein <gstein@lyra.org>
* subversion/: include/svn_xml.h (1.32), libsvn_subr/xml.c (1.42):
Const-ify the input value to svn_xml_escape_string()
* svn_xml.h (svn_xml_escape_string): add const to STRING param
* xml.c (svn_xml_escape_string): add const to STRING param
2001-08-09 18:42 Branko Cibej <brane@xbc.nu>
* subversion/include/svn_config.h (1.1):
GOANNA DREAMING
This painting tells the dreamtime story of our ancestors hunting for
goanna in the sand hills mear Mt Lebig.
We certify that this original artwork belongs to the artist and
accordingle the copyright to this piece of art belongs to the artist
and may not be reproduced without the artist's permission
Paul Ah Chee -- Manager Pwerte Marnte Marnte Aboriginal Corporation
2001-08-09 17:47 Ben Collins-Sussman <sussman@collab.net>
* subversion/: clients/cmdline/status.c (1.6),
libsvn_client/status.c (1.21):
Close issue #383. 'svn status' no longer errors out if network is
missing.
* cmdline/status.c (svn_cl__print_status): print '?' instead of
'none' if revnum is invalid.
* libsvn_client/status.c (svn_client_status): if any network errors
occur, ignore them, and set repository revision to
SVN_INVALID_REVNUM.
2001-08-09 17:22 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.7):
Remove finished stuff, so the checklist only shows unfinished tasks.
2001-08-09 17:11 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: commit_tests.py (1.9),
svntest/actions.py (1.10):
* commit_tests.py (commit_inclusive_dir, commit_top_dir): finish
anchor/target commit tests. this closes issue #400.
2001-08-09 16:52 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.6):
(DB_RUN_RECOVERY): note exactly how in progress.
2001-08-09 16:45 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.5):
(DB_RUN_RECOVERY): in progress.
2001-08-09 15:56 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/reps-strings.c (1.26), svnlook/main.c
(1.13):
* subversion/svnlook/main.c
(print_diff_tree): Okay. Done testing. We can clean up those
temporary files now. *blush*
* subversion/libsvn_fs/reps-strings.c
(window_handler): Some little logic rearrangements (read: bug
fixes).
2001-08-09 14:33 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: README (1.9),
svntest/actions.py (1.9), svntest/main.py (1.12):
Adjust python test system to work over DAV. (issue #423) Of course,
this isn't *really* tested until we know that ra_dav is working
again. :-)
* main.py (run_tests): new global 'DAV_mode' variable.
* actions.py (guarantee_greek_repository): in DAV mode, use http://
url for doing initial import.
(make_repo_and_wc): in DAV mode, use http:// for checkout.
also append to .htaccess file.
* README: keep python-test documentation up-to-date.
2001-08-09 14:27 Brian Fitzpatrick <fitz@red-bean.com>
* www/subversion-diagram.png (1.3):
Updated the diagram at Ben's request to the latest and greatest
general high-level not-too-detailed design of Subversion. :)
2001-08-09 12:24 XelaRellum
* subversion/bindings/java/jni/org/tigris/subversion/: .cvsignore
(1.1), .dir_nonempty (1.2), SubversionException.java (1.1),
lib/.cvsignore (1.1), lib/Client.java (1.1), lib/Entry.java (1.1),
lib/Reporter.java (1.1), lib/Revision.java (1.1), lib/Status.java
(1.1), lib/TextdeltaHandler.java (1.1), lib/TextdeltaOp.java (1.1),
lib/TextdeltaWindow.java (1.1), lib/TreeDeltaEditor.java (1.1),
lib/WorkingCopy.java (1.1):
First checkin of the Java interface definitions and very basic
classes. Caution: right now these files are only interfaces and
they are not at the right place in the directory yet.
2001-08-09 12:19 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/reps-strings.c (1.25):
* reps-strings.c
(window_handler): Optimization. Don't handle any more ops if we
know their results won't fit into our output buffer.
2001-08-09 12:04 Karl Fogel <kfogel@collab.net>
* Makefile.in (1.24), build.conf (1.28), gen-make.py (1.21),
doc/user/manual/dirversioning.texi (1.2):
Get "make doc" to work:
* Makefile.in (.texi.info, .texi.dvi, .texi.txt, .texi.html): Fix
include paths.
(doc-info, doc-dvi, doc-txt, doc-html, doc-ps, doc-pdf): Build user
manual too.
* build.conf, gen-make.py: Revert my changes of yesterday, they were
unnecessary.
* dirversioning.texi (Directory Versioning): Fix menu format.
2001-08-09 12:00 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/main.c (1.12):
* subversion/svnlook/main.c
(contents_to_tmp_file): Create tmp files based on the basenames of
the originals, not the full paths.
(print_diff_tree): Print "Added", "Deleted", or "Modified" instead
of "Index" in the headers of file diffs for whom we know the
relevant action.
2001-08-09 12:00 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/reps-strings.c (1.24):
* reps-strings.c
(window_handler): Bug fix. This function was never discarding
data that was part of a necessary window and that appeared
*before* the requested range.
(svn_fs__rep_contents): Fixed spelling in error string.
2001-08-09 11:50 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.98):
* fs-test.c
(large_file_integrity): Oops. We were never testing the head
revision.
2001-08-09 10:41 Karl Fogel <kfogel@collab.net>
* subversion/bindings/java/jni/: README (1.1),
org/tigris/subversion/.dir_nonempty (1.1):
Sandbox for JNI bindings. Alexander Mueller
<Alexander.Mueller@littleblue.de> is working on these.
2001-08-09 06:03 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: ra_dav.h (1.34), session.c (1.33):
More tweaks for the user/pass stuff in ra_dav.
* ra_dav.h (svn_ra_session_t): add fields for the user and pass
* session.c (request_auth): new callback function for Neon to do
authentication.
(auth_authenticate): set up the Neon authentication callback
2001-08-09 06:00 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.35), repos.c (1.55),
update.c (1.7):
Add username field to dav_svn_repos so that we can have a user
throughout the FS operations.
* dav_svn.h (dav_svn_repos): add username field
* repos.c (dav_svn_get_resource): remember the username
* update.c (dav_svn__update_report): use the stored username for
running the report.
2001-08-09 05:58 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/merge.c (1.15):
Add missing parameter to svn_repos_dir_delta(). Currently a NULL (no
specific entry; diff the whole dir), but it probably should be
something else...
2001-08-09 05:57 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/version.c (1.31):
Add svn_repos.h to pick up a prototype.
2001-08-09 03:18 Greg Stein <gstein@lyra.org>
* subversion/clients/cmdline/cl.h (1.15):
tweak the path to svn-dev.el
2001-08-08 19:35 Greg Stein <gstein@lyra.org>
* subversion/: include/svn_ra.h (1.65), libsvn_client/auth.c (1.6),
libsvn_ra_dav/session.c (1.32), libsvn_ra_local/ra_plugin.c (1.42):
Revamp the authenticator stuff. Enable the use of constant
structures so that it is easier to return vtables. Splitting the
baton out helps with this.
* svn_ra.h (svn_ra_username_authenticator_t,
svn_ra_simple_password_authenticator_t): remove the pbaton
field. add "const" to the username/password fields.
(svn_ra_plugin_t): get_authenticator now returns a baton. the
authenticator is now "const"
* libsvn_ra_local/ra_plugin.c (get_authenticator, set_username):
update for above changes
* libsvn_ra_dav/session.c (svn_ra_get_authenticator,
auth_set_username, auth_set_password, auth_authenticate): implement
new functions.
* libsvn_client/auth.c (authorize_username,
authorize_simple_password): update for above changes -- take a baton
field and constify the authenticator.
(svn_client_authenticator): get an auth_baton from the
get_authenticator. constify the authenticator.
2001-08-08 17:53 Karl Fogel <kfogel@collab.net>
* STACK (1.95):
I'd rather be rich than stupid.
2001-08-08 17:52 Karl Fogel <kfogel@collab.net>
* STACK (1.94):
Clean up my stack, note remaining M3 items.
2001-08-08 17:45 Karl Fogel <kfogel@collab.net>
* build.conf (1.27), gen-make.py (1.20):
Try to get "make doc" working in the new build system, but not done
yet. Hints from Greg Stein most welcome, naturally.
* gen-make.py (main): Start handling .texi files where the objects
list is built. But not working yet.
(Target): Start handling `doc' type. But not working yet.
* build.conf (svn-design, user-manual, svnlook-manual): New
sections, for docs.
2001-08-08 17:25 Ben Collins-Sussman <sussman@collab.net>
* subversion/svnadmin/main.c (1.22):
Make svnadmin print log messages attached to revisions and
transactions.
2001-08-08 16:31 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_path.h (1.40), include/svn_wc.h (1.109),
libsvn_wc/adm_files.c (1.85), libsvn_wc/adm_ops.c (1.82),
libsvn_wc/wc.h (1.160):
Write authentication data into the SVN/ area atomically.
* wc.h, adm_files.c (svn_wc__open_auth_file,
svn_wc__close_auth_file): new interface, consistent with existing
'atomic' write interfaces.
* adm_ops.c (svn_wc_set_auth_file): use the new interface.
* svn_wc.h (svn_wc_get_auth_file, svn_wc_set_auth_file):
documentation clarification.
* svn_path.h (svn_path_add_component): same.
* adm_files.c (v_extend_with_adm_name): same.
2001-08-08 15:48 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/main.c (1.11):
* main.c
Include apr_thread_proc.h and svn_private_config.h.
(do_diff): Get base root to pass along.
(contents_to_tmp_file): New helper function.
(print_diff_tree): Began putting real guts in this function.
Calling discipline modified.
(do_diff): Call to print_diff_tree() obeys new calling discipline.
2001-08-08 15:17 Karl Fogel <kfogel@collab.net>
* Makefile.in (1.23), configure.in (1.103),
subversion/libsvn_subr/base64.c (1.21),
subversion/libsvn_subr/svn_base64.c (1.1),
ac-helpers/berkeley-db.m4 (1.10):
Patch from Mo DeJong <mdejong@cygnus.com> to build Berkeley DB in
the subversion source tree if it is present as top-level subdir
`db'. My memory is that there was consensus on this being a good
thing, but that no one got around to applying it. See Mo's original
mail to dev:
http://subversion.tigris.org/servlets/ReadMsg?msgId=28881&listName=dev
See also my mail with the subject line
Subject: applied Mo DeJong's built-in DB patch
for some discussion related to this commit.
* Makefile.in (EXTERNAL_PROJECT_DIRS): list optional @DB_SUBDIR@.
* configure.in: Configure DB_SUBDIR.
* ac-helpers/berkeley-db.m4: Look for db in the subversion source
tree.
Associated change, but not part of Mo's patch:
* subversion/libsvn_subr/svn_base64.c: New name for base64.c, to
avoid linker conflict with neon's base64.c.
2001-08-08 13:36 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svntest/actions.py (1.8):
Python tests: Check for errors from initial 'svn import'.
2001-08-08 13:34 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_client/: commit.c (1.58), import.c (1.5):
* import.c: delete this old crufty file.
* commit.c (send_to_repos): duh, don't call the auth storage
callback when finished with an import!
2001-08-08 13:26 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/: adm_files.c (1.84), lock.c (1.25), log.c
(1.108), wc.h (1.159):
When creating SVN/auth/ and SVN/tmp/auth/, set perms to 700.
* adm_files.c, wc.h (svn_wc__make_adm_thing): add PERMS argument.
(init_adm, init_adm_temp_area): change calls to above as
appropriate.
* lock.c (svn_wc__lock): change call.
* log.c (log_do_committed): change call.
2001-08-08 12:57 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/questions.c (1.57):
Fix bug #421.
* questions.c (svn_wc_props_modified_p): if property file exists
and prop-base doesn't, this does NOT mean that local mods have
happened. The property file might be empty... check for this.
2001-08-08 11:56 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_client/auth.c (1.5):
Little bugfix on authentication storage.
* auth.c (store_auth_info): don't call svn_wc_set_auth_file() on a
path unless it's a directory.
(authorize_username): tolerate any failure of
svn_wc_get_auth_file().
(authorize_simple_password): same.
2001-08-07 17:25 Karl Fogel <kfogel@collab.net>
* Makefile.in (1.22):
(dist): New rule, still in progress. Do not try to make a dist with
this; there's a whole release procedure doc still to be written.
2001-08-07 17:25 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.4):
Remove some obsolete verbiage.
2001-08-07 16:53 Ben Collins-Sussman <sussman@collab.net>
* build.conf (1.26),
subversion/tests/clients/cmdline/svnadmin_tests.py (1.1),
notes/dav_setup.txt (1.11), notes/m3-checklist.txt (1.3),
subversion/tests/clients/cmdline/svntest/main.py (1.11):
New python tests for 'svnadmin'.
* svnadmin_tests.py: four new tests.
* main.py (run_svnadmin): return stdout, stderr.
* build.conf: add svnadmin tests to 'make check' rule.
* m3-checklist.txt: tweaking.
2001-08-07 16:32 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_repos/repos-test.c (1.12):
(verify_hooks): Removed; hooks are tested in the python suite now.
(test_funcs): Adjust for above.
2001-08-07 15:35 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/main.c (1.10):
* main.c
(do_diff): Put some cheesy skeleton code in place. Woohoo.
2001-08-07 13:19 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/main.c (1.9):
* subversion/svnlook/main.c
(do_date): Stop using 'time' as a variable name. FreeBSD doesn't
really like that.
2001-08-07 10:56 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_repos.h (1.23),
libsvn_ra_local/ra_plugin.c (1.41), libsvn_repos/hooks.c (1.12),
libsvn_repos/reporter.c (1.15):
New repos wrapper for creating temporary 'update' transactions.
[ Note to gstein: this is the third wrapper that mod_dav_svn should
be using (see the bottom of svn_repos.h for all three.) However, if
mod_dav_svn is already using the 'reporter' within libsvn_repos,
then you don't need to do a thing here -- the reporter has been
upgraded. ]
* hooks.c (svn_repos_fs_begin_txn_for_update): new wrapper, stores
username property on transaction. This is a Good Thing, since
updates often take longer, and are more likely to be orphaned from
a dropped connection. A sysadmin 'svnadmin rmtxn' will want to
know the txn's creator when cleaning it up.
* reporter.c, svn_repos.h (svn_repos_begin_report): add username
arg.
(svn_repos_report_baton_t): add username field.
(svn_repos_set_path): call new wrapper when creating update txn.
* ra_plugin.c (do_update): pass session_baton->username into
reporter.
2001-08-07 10:43 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/main.c (1.8):
* subversion/svnlook/main.c
(print_changed_tree): Only print the node if it has text or property
modifications. Docstring edit.
(print_tree): Docstring edit.
2001-08-07 09:57 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/: adm_ops.c (1.81), entries.c (1.116):
* entries.c
(svn_wc__entries_write): If there is no "this dir" entry in our
entries hash, assume this directory is no longer under revision
control, and simply destroy the administrative area.
* adm_ops.c
(mark_tree): Pay attention to the order in which state changes need
to happen during recursion.
2001-08-07 09:55 Ben Collins-Sussman <sussman@collab.net>
* subversion/: clients/cmdline/checkout-cmd.c (1.7),
clients/cmdline/cl.h (1.14), clients/cmdline/commit-cmd.c (1.9),
clients/cmdline/import-cmd.c (1.8), clients/cmdline/main.c (1.14),
clients/cmdline/prompt.c (1.3), clients/cmdline/status-cmd.c (1.5),
clients/cmdline/update-cmd.c (1.7), include/svn_client.h (1.45),
libsvn_client/auth.c (1.4), libsvn_client/checkout.c (1.23),
libsvn_client/commit.c (1.57), libsvn_client/status.c (1.20),
libsvn_client/update.c (1.25), libsvn_wc/adm_ops.c (1.80):
Expand authentication design: allow top-level applications to
(optionally) provide authentication data to libsvn_client. (e.g.
via command-line arguments.)
* svn_client.h (svn_client_auth_t): new class^H^H^H^H^H struct to
hold authentication data and callback methods. :-)
(svn_client_authenticate): new prototype, greatly simplified by
using svn_client_auth_t.
* auth.c (authorize_username, authorize_simple_password): rewrite to
use new struct.
* checkout.c (svn_client_checkout): tweak to use new struct.
* update.c (svn_client_update): same.
* commit.c (send_to_repos): same.
* status.c (svn_client_status): same.
* cl.h (enum svn_cl__longopt_t, svn_cl_opt_state_t): create
username/password fields for commandline args.
* main.c (main): add auth args to options[], and to switch
statement.
* prompt.c, cl.h (svn_cl__make_auth_obj): new helper routine.
* checkout-cmd.c (svn_cl__checkout): call the helper.
* update-cmd.c (svn_cl__update): same.
* import-cmd.c (svn_cl__import): same.
* commit-cmd.c (svn_cl__commit): same.
* status-cmd.c (svn_cl__status): same.
* adm_ops.c (svn_wc_set_auth_file): bugfixes.
2001-08-07 09:20 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/README (1.62):
Document 'auth/' subdirectory.
2001-08-06 16:53 C. Michael Pilato <cmpilato@collab.net>
* build.conf (1.25), subversion/tests/clients/cmdline/prop_tests.py
(1.3):
* build.conf
(paths): Added prop_tests.py to the test framework.
* subversion/tests/clients/cmdline/prop_tests.py
(update_props): Bug fixes for this test (hey, who tests the tests?)
2001-08-06 16:13 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/: editors.c (1.3), main.c (1.7), svnlook.h
(1.3):
Yep, still more work on the svnlook program. She now works with
transactions.
* main.c
(INT_ERR): Actually return on error.
(generate_delta_tree): New function.
(do_tree, print_tree): Added SHOW_IDS boolean parameter (and use
it).
(do_default): Call do_tree() with id display disabled.
(print_changed_tree): Make output look like 'svn update'.
(do_dirs_changed, do_changed, do_tree): Now use
generate_delta_tree().
(svnlook_cmd_t): Add svnlook_cmd_ids for new "ids" subcommand.
(usage): Add "ids" to usage display.
(main): Parse and understand new "ids" subcommand. Call do_tree()
with id display enabled.
* svnlook.h
(repos_node_t): Added node id field ID.
(svnlook_txn_changes_editor): Removed.
(svnlook_tree_delta_editor): Renamed from
svnlook_rev_changes_editor().
* editors.c
(struct window_handler_baton): New structure.
(window_handler): Check for non-NULL windows before claiming text
mods.
(apply_textdelta): Actually use the window handler baton.
(svnlook_txn_changes_editor): Removed.
(svnlook_tree_delta_editor): Renamed from
svnlook_rev_changes_editor().
2001-08-06 15:55 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_fs.h (1.101), libsvn_fs/dag.c (1.122),
libsvn_fs/tree.c (1.93), libsvn_repos/delta.c (1.53):
Some changes to the props and contents diff-detection functions.
* include/svn_fs.h
(svn_fs_contents_changed, svn_fs_props_changed): Make these
functions take one path for each root.
* libsvn_fs/tree.c
(svn_fs_contents_changed, svn_fs_props_changed, ): Make these
functions take one path for each root.
(struct things_changed_args): Removed PATH, Added PATH1 and PATH2.
(txn_body_contents_changed, txn_body_props_changed): Use two
different paths under their respective roots for the comparison.
* libsvn_fs/dag.c
(svn_fs__things_different): Implemented this function.
* libsvn_repos/delta.c
(delta_proplists): Use svn_fs_props_changed() to optimize the search
for property differences.
(delta_files): Use svn_fs_contents_changed() to avoid sending text
delta windows when there are no textual diffs.
2001-08-06 15:43 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/skel.c (1.35):
(svn_fs__skels_are_equal): Check for the trivial case first.
2001-08-06 14:29 Ben Collins-Sussman <sussman@collab.net>
* subversion/svnadmin/main.c (1.21):
svnadmin: bikeshed touchup.
2001-08-06 13:25 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_fs.h (1.100):
Get rid of tmp comment.
2001-08-06 13:24 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_fs.h (1.99), libsvn_fs/dag.c (1.121),
libsvn_fs/dag.h (1.50), libsvn_fs/tree.c (1.92):
* svn_fs.h (svn_fs_props_changed, svn_fs_contents_changed): New
declarations.
* tree.c (svn_fs_props_changed, svn_fs_contents_changed,
props_changed_args, contents_changed_args, txn_body_props_changed,
txn_body_contents_changed): New funcs.
* dag.h, dag.c (svn_fs__things_different): New func, still skeletal.
2001-08-06 12:32 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_repos/md5args.c (1.3):
#include <string.h>.
2001-08-06 12:32 Ben Collins-Sussman <sussman@collab.net>
* subversion/svnadmin/main.c (1.20):
New svnadmin subcommands: 'rmtxn', 'createtxn'. Finally, this tool
is no longer read-only. :-)
2001-08-06 12:12 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha-checklist.txt (1.8):
Notes about svnadmin features
2001-08-03 16:57 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_client.h (1.44), include/svn_wc.h
(1.108), libsvn_client/auth.c (1.3), libsvn_client/checkout.c
(1.22), libsvn_client/commit.c (1.56), libsvn_client/status.c
(1.19), libsvn_client/update.c (1.24), libsvn_wc/adm_files.c
(1.83), libsvn_wc/adm_ops.c (1.79), libsvn_wc/wc.h (1.158):
New libsvn_client feature: ability to store authentication data in
working copy, after prompting for it the first time. This code path
has not yet been tested, but will be on Monday.
* svn_client.h (svn_client_authenticate): now (possibly) returns a
callback that allows authenticator-driver to store info in working
copy.
(svn_client_auth_storage_callback_t): new function type.
* auth.c (authorize_username): take same args as other authenticator
driver, for consisitency. Return NULL for storage callback.
(authorize_simple_password): complexification.
(store_auth_info): new helper and baton.
* svn_wc.h, adm_ops.c (svn_wc_get_auth_file, svn_wc_set_auth_file):
declare and implement new API.
* adm_files.c (init_adm, init_adm_tmp_area): create ADM_AUTH_DIR in
SVN/.
* checkout.c (svn_client_checkout): call storage_callback if
non-NULL.
* update.c (svn_client_update): same.
* commit.c (send_to_repos): same.
* status.c (svn_client_status): same.
2001-08-03 16:06 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/main.c (1.6):
More work toward getting svnlook working with transactions.
* subversion/svnlook/main.c
(svnlook_ctxt_t): Store the TXN_NAME now.
(do_dirs_changed, do_changed): Now works for transactions, too.
(do_tree): Little bug fix.
(main): Bug fixes.
2001-08-03 15:35 Karl Fogel <kfogel@collab.net>
* notes/m3-checklist.txt (1.2):
Don't be in outline mode.
2001-08-03 15:34 Karl Fogel <kfogel@collab.net>
* notes/: alpha-checklist.txt (1.7), m3-checklist.txt (1.1):
Moved M3 stuff to its own file for the home stretch, leave alpha
stuff in alpha-checklist.txt.
2001-08-03 01:27 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_fs.h (1.98), libsvn_fs/dag.c (1.120),
libsvn_fs/dag.h (1.49), libsvn_fs/txn.c (1.46),
tests/libsvn_fs/fs-test.c (1.97):
Reveal a way for folks to figure out what revision (if any) a
transaction was based upon. This is very useful for
svn_fs_dir_delta() as used in svnlook.
* subversion/include/svn_fs.h
(svn_fs_txn_base_revision): New function.
* subversion/libsvn_fs/txn.c
(struct svn_fs_txn_t): Added BASE_REV field.
(svn_fs_txn_base_revision): New function.
(make_txn): Added BASE_REV argument for populated svn_txn_t
structure.
* subversion/libsvn_fs/dag.h
* subversion/libsvn_fs/dag.c
(svn_fs__dag_get_revision): New function.
* subversion/libsvn_fs/fs-test.c
(check_root_revision): New test function.
(test_funcs): Reference new test function.
2001-08-02 09:35 C. Michael Pilato <cmpilato@collab.net>
* subversion/: clients/cmdline/props.c (1.6), include/svn_hash.h
(1.18), libsvn_client/status.c (1.18), libsvn_fs/tree.c (1.91),
libsvn_ra/ra_loader.c (1.11), libsvn_ra_dav/fetch.c (1.64),
libsvn_ra_dav/merge.c (1.14), libsvn_ra_local/checkout.c (1.13),
libsvn_repos/delta.c (1.52), libsvn_subr/hashdump.c (1.26),
libsvn_subr/sorts.c (1.4), libsvn_subr/svn_error.c (1.74),
libsvn_subr/xml.c (1.41), libsvn_wc/adm_crawler.c (1.122),
libsvn_wc/adm_ops.c (1.78), libsvn_wc/entries.c (1.115),
libsvn_wc/log.c (1.107), libsvn_wc/props.c (1.35),
libsvn_wc/status.c (1.39), mod_dav_svn/deadprops.c (1.14),
mod_dav_svn/repos.c (1.54), svnadmin/main.c (1.19),
tests/fs-helpers.c (1.8), tests/libsvn_subr/hashdump-test.c (1.23):
Catching up with APR API changes. apr_hash_first() now takes an
apr_pool_t * argument, and apr_pool_sub_make() is now populates a
pool pointer (instead of just returning it). The following files
where changed.
* subversion/clients/cmdline/props.c
* subversion/libsvn_client/status.c
* subversion/libsvn_fs/tree.c
* subversion/libsvn_ra/ra_loader.c
* subversion/libsvn_ra_dav/fetch.c
* subversion/libsvn_ra_dav/merge.c
* subversion/libsvn_ra_local/checkout.c
* subversion/libsvn_repos/delta.c
* subversion/libsvn_subr/hashdump.c
* subversion/libsvn_subr/sorts.c
* subversion/libsvn_subr/svn_error.c
* subversion/libsvn_subr/xml.c
* subversion/libsvn_wc/adm_crawler.c
* subversion/libsvn_wc/adm_ops.c
* subversion/libsvn_wc/entries.c
* subversion/libsvn_wc/log.c
* subversion/libsvn_wc/props.c
* subversion/libsvn_wc/status.c
* subversion/mod_dav_svn/deadprops.c
* subversion/mod_dav_svn/repos.c
* subversion/svnadmin/main.c
* subversion/tests/fs-helpers.c
* subversion/tests/libsvn_subr/hashdump-test.c
These contains calls to apr_hash_first() or apr_pool_sub_make().
* subversion/include/svn_hash.h
* subversion/libsvn_subr/hashdump.c
(svn_hash_write): Added POOL argument (to pass to apr_hash_first).
2001-08-01 16:54 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha-checklist.txt (1.6):
tweaking checklist some more.
2001-08-01 15:16 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha-checklist.txt (1.5):
tweaking checklist.
2001-08-01 15:02 C. Michael Pilato <cmpilato@collab.net>
* subversion.dsw (1.16),
subversion/clients/cmdline/subversion_client.dsp (1.5),
subversion/include/svn_error.h (1.110),
subversion/libsvn_client/libsvn_client.dsp (1.11),
subversion/libsvn_subr/svn_error.c (1.73):
Keeping this here Winderz build up-to-date.
* subversion.dsw
(__build__): Added 'svnlook' dependency.
* subversion/clients/cmdline/subversion_client.dsp
(prompt.c): Added to Source Files.
* subversion/include/svn_error.h
* subversion/libsvn_subr/svn_error.c
(svn_error_compose): Rename NEW args to NEW_ERR to prevent MSVC++
from fussing about the use of "new" as a symbol.
Index: subversion/libsvn_client/libsvn_client.dsp
(auth.c): Added to Source Files.
2001-08-01 14:35 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/: commit_tests.py (1.8),
svntest/actions.py (1.7), svntest/main.py (1.10):
* subversion/tests/clients/cmdline/commit_tests.py
(hook_test): New test.
(test_list): Reference new test.
* subversion/tests/clients/cmdline/svntest/actions.py
(guarantee_greek_repository): Bug fix.
* subversion/tests/clients/cmdline/svntest/main.py
(svnlook_binary): New global variable for location of svnlook
binary.
(get_start_commit_hook_path, get_pre_commit_hook_path,
get_post_commit_hook_path): New functions.
2001-08-01 14:34 C. Michael Pilato <cmpilato@collab.net>
* subversion/clients/cmdline/: checkout-cmd.c (1.6), cl.h (1.13),
commit-cmd.c (1.8), import-cmd.c (1.7), main.c (1.13),
propdel-cmd.c (1.2), propset-cmd.c (1.5), util.c (1.6):
Added a 'quiet' option to the command-line client. This may morph
into something with better granularity in the future.
* subversion/clients/cmdline/cl.h
Added "quiet" option.
* subversion/clients/cmdline/checkout-cmd.c
(svn_cl__checkout): Only use the trace editor when not asked to be
quiet.
* subversion/clients/cmdline/commit-cmd.c
(svn_cl__commit): Only use the trace editor when not asked to be
quiet.
* subversion/clients/cmdline/import-cmd.c
(svn_cl__import): Only use the trace editor when not asked to be
quiet.
* subversion/clients/cmdline/main.c
(main): Added "quiet" option to option list. Also, parse
command-line options for 'q' (which sets the quiet option)
* subversion/clients/cmdline/propdel-cmd.c
(svn_cl__propdel)
* subversion/clients/cmdline/propset-cmd.c
(svn_cl__propset)
* subversion/clients/cmdline/util.c
Trivial formatting changes.
2001-08-01 14:33 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_repos/md5args.c (1.2):
* subversion/tests/libsvn_repos/md5args.c
(main): Information errors...this applet is sure to die soon.
2001-08-01 14:33 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/main.c (1.5):
* subversion/svnlook/main.c
Added '### todo' docstring.
2001-08-01 13:55 Ben Collins-Sussman <sussman@collab.net>
* subversion/: clients/cmdline/cl.h (1.12),
clients/cmdline/prompt.c (1.2), include/svn_client.h (1.43),
libsvn_client/auth.c (1.2), libsvn_ra_dav/session.c (1.31),
libsvn_wc/wc.h (1.157):
Start working on username/password authentication module.
* wc.h (SVN_WC__ADM_AUTH_DIR): new subdirectory of SVN/.
(SVN_WC__ADM_AUTH_USERNAME): name of file to store username.
(SVN_WC__ADM_AUTH_PASSWORD): name of file to store password.
* prompt.c, cl.h (svn_cl__prompt_user): try using apr_password_get()
if HIDE flag is set. it might work. also use const char *prompt,
and make tweaks to ensure the HIDE flag works.
* svn_client.h (svn_client_auth_info_callback_t): use const char *.
* auth.c (authorize_simple_password): implement simple draft.
(authorize_username): take callback arg for consistency.
2001-08-01 11:43 Ben Collins-Sussman <sussman@collab.net>
* subversion/: clients/cmdline/checkout-cmd.c (1.5),
clients/cmdline/cl.h (1.11), clients/cmdline/commit-cmd.c (1.7),
clients/cmdline/import-cmd.c (1.6), clients/cmdline/prompt.c (1.1),
clients/cmdline/status-cmd.c (1.4), clients/cmdline/update-cmd.c
(1.6), include/svn_client.h (1.42), include/svn_error_codes.h
(1.13), include/svn_ra.h (1.64), libsvn_client/auth.c (1.1),
libsvn_client/checkout.c (1.21), libsvn_client/commit.c (1.55),
libsvn_client/status.c (1.17), libsvn_client/update.c (1.23),
libsvn_ra_dav/commit.c (1.62), libsvn_ra_dav/props.c (1.10),
libsvn_ra_dav/ra_dav.h (1.33), libsvn_ra_dav/session.c (1.30),
libsvn_ra_dav/util.c (1.7), libsvn_ra_local/ra_local.h (1.17),
libsvn_ra_local/ra_plugin.c (1.40), libsvn_subr/target.c (1.12),
svnadmin/main.c (1.18):
Big changes: new authentication architecture based on the PAM model.
RA_local now uses "username only" authentication, and now usernames
are passed all the way through to transactions and revisions.
RA_dav compiles, but is (temporarily) non-functional until we
upgrade it to use either "username only" and/or "username/password"
authentication.
The next step on the agenda is to allow storage of usernames &
passwords in the working copy.
* svn_ra.h
(svn_ra_simple_password_authenticator): "authenticator" vtable
object.
(svn_ra_username_authenticator): another "authenticator" object.
(svn_ra_plugin_t): remove open().
new replacement method: get_authenticator().
new 'auth_methods' flag.
* auth.c: new file and routines, the implementation of...
* svn_client.h (svn_client_authenticate): new master interface.
(svn_client_auth_info_callback_t): new function type, added as a
new argument to all svn_client.h interfaces that use repositories.
* svn_error_codes.h (SVN_ERR_RA_NOT_AUTHORIZED): renamed, added RA
part.
(SVN_ERR_RA_UNKNOWN_AUTH): new error val.
* libsvn_ra_dav/props.c (svn_ra_dav__get_props): rename to
SVN_ERR_RA_NOT_AUTHORIZED.
(process_results): comment out pc variable to remove warning.
* libsvn_ra_dav/util.c (svn_ra_dav__parsed_request): rename to
SVN_ERR_RA_NOT_AUTHORIZED.
* libsvn_ra_dav/session.c (svn_ra_get_authenticator): dummy func.
(svn_ra_open): now deprecated and unused. needs to be rewritten
as dummy func above.
* libsvn_ra_dav/commit.c, ra_dav.h (svn_ra_dav__get_commit_editor):
remove the bogus user argument. It should already be living in
'cc' after authentication finishes.
* libsvn_ra_local/ra_plugin.c (get_authenticator): implement.
(authenticate): essentially renamed & hacked from open().
(set_username): implement.
(close): don't free whole pool, since we're no longer subpooling.
(get_commit_editor): send session_baton->username to
libsvn_repos!
* libsvn_ra_local/ra_local.h (svn_ra_local__session_baton_t): add
username field.
* commit.c (send_to_repos): replace ra->open() call with
svn_client_authenticate() call.
* status.c (svn_client_status): same.
* update.c (svn_client_update): same.
* checkout.c (svn_client_checkout): same.
* prompt.c (svn_cl__prompt_user): new file and callback routine.
* cl.h (svn_cl__prompt_user): declare.
* checkout-cmd.c (svn_cl__checkout): send callback to
svn_client_*() call.
* commit-cmd.c (svn_cl__commit): same.
* import-cmd.c (svn_cl__import): same.
* update-cmd.c (svn_cl__update): same.
* status-cmd.c (svn_cl__status): same.
* target.c (svn_path_get_absolute): rename to
SVN_ERR_RA_NOT_AUTHORIZED.
* svnadmin/main.c (main): make svnadmin print authors.
2001-08-01 10:10 C. Michael Pilato <cmpilato@collab.net>
* notes/alpha-checklist.txt (1.4):
* alpha-checklist.txt
cvs2svn is now a 1.0 requirement, not M3.
2001-07-31 16:19 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_repos/hooks.c (1.11),
tests/libsvn_repos/repos-test.c (1.11):
Hook system now passes all hand-tests.
The automated test (see tests/libsvn_repos/repos-test.c) is
commented out because it still doesn't pass. I think it's something
to do with the test itself, or maybe with the fact that "$user"
isn't usefully expanded yet because the auth system is still being
worked on.
* hooks.c: include ctype.h, for character class tests.
(read_char, eat_to_eol, expand, is_irrelevant_line): New funcs.
(read_hook_line): Rewrite, using above new funcs.
2001-07-31 12:28 C. Michael Pilato <cmpilato@collab.net>
* build.conf (1.24), subversion/tests/libsvn_repos/.cvsignore
(1.3), subversion/tests/libsvn_repos/md5args.c (1.1),
subversion/tests/libsvn_repos/repos-test.c (1.10):
* build.conf
(md5args): New binary for repos hook testing.
* subversion/tests/libsvn_repos/md5argcs.c
New file (for new binary, md5args).
* subversion/tests/libsvn_repos/.cvsignore
Ignore new binary md5args.
* subversion/tests/libsvn_repos/repos-test.c
(verify_hooks): New function.
(test_funcs): References new test function, verify_hooks() --
currently #ifdef'd out because the test fails.
2001-07-31 11:39 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_fs.h (1.97):
(svn_fs_repository): Doc fix.
2001-07-31 09:12 Karl Fogel <kfogel@collab.net>
* autogen.sh (1.46):
Fix APR cvs checkout instructions. Thanks to Frank Finger for the
patch; this finally fixes issue #415.
2001-07-30 22:51 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/svnlook.dsp (1.1):
* svnlook.dsp
Did I forget to 'cvs add' this new file earlier?
2001-07-30 19:43 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_repos/hooks.c (1.10):
(read_hook_line): Note improvements to make tomorrow morning, when
have Mike's test suite to lean on.
2001-07-30 19:24 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error.h (1.109), libsvn_repos/hooks.c
(1.9), libsvn_subr/svn_error.c (1.72):
* svn_error.h, svn_error.c (svn_error_compose): New func.
* hooks.c (read_hook_line, run_hook_file): Make these work.
2001-07-30 16:43 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_fs.h (1.96), libsvn_fs/fs.c (1.56),
libsvn_fs/fs.h (1.29), libsvn_repos/hooks.c (1.8):
More hook driver coding:
* svn_fs.h (svn_fs_repository): Declare new func.
* fs.h (svn_fs_t): New `path' field.
* fs.c (svn_fs_create_berkeley): Initialize path.
(svn_fs_repository): New func.
(svn_fs_open_berkeley): Initialize all paths.
* hooks.c (read_hook_line): Filled in.
(run_hook_file): Filling in.
2001-07-30 15:20 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_fs.h (1.95), include/svn_repos.h (1.22),
libsvn_fs/fs.c (1.55), libsvn_fs/fs.h (1.28), libsvn_repos/hooks.c
(1.7):
Started writing hook driver code, with Mike Pilato:
* svn_fs.h (svn_fs_begin_txn): Doc fix.
(svn_fs_start_commit_conf): Declare.
* svn_repos.h (svn_repos_fs_begin_txn_for_commit): Doc fix.
* hooks.c (read_hook_line, run_hook_file): New funcs, skeletal.
(run_start_commit_hooks): New func.
(svn_repos_fs_begin_txn_for_commit): Use it.
(run_pre_commit_hooks, run_post_commit_hooks): Implement.
* fs.c (create_conf): Create a start-commit-hooks.txt file again,
now that we have the svn_repos_fs_begin_txn_for_commit() wrapper.
This is essentially a reversion of the 1.53 change, plus some more
code.
(svn_fs_start_commit_conf): New func.
* fs.h (SVN_FS__REPOS_CONF_PRE_COMMIT_HOOKS,
SVN_FS__REPOS_CONF_POST_COMMIT_HOOKS,
SVN_FS__REPOS_CONF_READ_SENTINELS,
SVN_FS__REPOS_CONF_WRITE_SENTINELS): Change extensions so these
don't claim to be ".conf" files.
(SVN_FS__REPOS_CONF_START_COMMIT_HOOKS): Restored; this is
essentially a reversion of the 1.92 change, plus see change to fs.c
above.
2001-07-30 11:46 C. Michael Pilato <cmpilato@collab.net>
* subversion/svnlook/: editors.c (1.2), main.c (1.4), svnlook.h
(1.2):
* editors.c
(edit_baton): Add BASE_ROOT field.
(delete_entry): Check for file/dir in the BASE_ROOT (since it
doesn't exist in ROOT).
(svnlook_rev_changes_editor): Add BASE_ROOT parameter for baton
stuffing.
* main.c
(INT_ERR): Geez...not every error is fatal, C-Mike.
(do_dirs_changed, do_changed, do_tree)
(print_tree): Only indent 1 space now.
* svnlook.h
(svnlook_rev_changes_editor): Add BASE_ROOT parameter for baton
stuffing.
2001-07-30 09:35 Karl Fogel <kfogel@collab.net>
* subversion/svnlook/nodetree.c (1.3):
#include <string.h>, for strcmp.
2001-07-30 09:35 Karl Fogel <kfogel@collab.net>
* subversion/svnlook/nodetree.c (1.2):
Fix svn-dev.el load path.
2001-07-30 09:34 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_repos/hooks.c (1.6):
#include <string.h>, for strlen.
2001-07-29 15:34 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_repos.h (1.21), libsvn_repos/delta.c
(1.51), libsvn_repos/reporter.c (1.14), svnlook/main.c (1.3),
tests/libsvn_repos/repos-test.c (1.9):
* include/svn_repos.h
(svn_repos_dir_delta): Finally got around to merging the old
svn_repos_dir_delta() and svn_repos_update() functions back into
one routine.
(svn_repos_update): ...is no more.
* libsvn_repos/delta.c
(add_file_or_dir, replace_file_or_dir): Swapped some argument
ordering for consistency with other functions in this suite. All
callers changed.
(not_a_dir_error): New little helper function.
(svn_repos_dir_delta): Revamped to merge functionality of old
svn_repos_dir_delta() and svn_repos_update() functions.
(svn_repos_update): ...lives only in the shadows of revision
control.
* libsvn_repos/reporter.c
* svnlook/main.c
* tests/libsvn_repos/repos-test.c
Callers of svn_repos_update() or svn_repos_dir_delta() changed.
2001-07-26 23:54 C. Michael Pilato <cmpilato@collab.net>
* subversion.dsw (1.15),
subversion/clients/cmdline/subversion_client.dsp (1.4),
subversion/libsvn_client/libsvn_client.dsp (1.10),
subversion/libsvn_repos/libsvn_repos.dsp (1.3),
subversion/svnadmin/svnadmin.dsp (1.3):
Trying to keep the Win32 build up-to-date...
* subversion.dsw
(subversion_client.dsp): Fixed incorrect location for this project.
(svnlook.dsp): New project for svnlook binary.
* subversion/clients/cmdline/subversion_client.dsp
(revert-cmd.c): Added to Source Files
* subversion/libsvn_client/libsvn_client.dsp
(revert.c): Added to Source Files
* subversion/libsvn_repos/libsvn_repos.dsp
(hooks.c): Added to Source Files
* subversion/svnadmin/svnadmin.dsp
Link with libsvn_fs, not libsvn_client.
2001-07-26 14:25 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_repos/hooks.c (1.5):
This insignificant change is shorter than the log message that
mentions it
2001-07-26 14:21 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_repos.h (1.20),
libsvn_repos/commit_editor.c (1.17), libsvn_repos/hooks.c (1.4):
Changes so that RADAV and RALocal can both share code for setting
the commit's author and log message. This code brought to you by
Sussilato.
* include/svn_repos.h
* libsvn_repos/hooks.c
(svn_repos_fs_begin_txn_for_commit): New wrapper function for
svn_fs_begin_txn() in the commit case. Using this, both RALocal
and RADAV can set authors and log messages.
* libsvn_repos/commit_editor.c
(replace_root): Call svn_repos_fs_begin_txn_for_commit() instead of
svn_fs_begin_txn().
(close_edit): Don't mess with author and log message properties
anymore -- they were already set by replace_root().
2001-07-26 12:16 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_ra_dav/: commit.c (1.61), fetch.c (1.63),
props.c (1.9), ra_dav.h (1.32):
Committing Joe Orton's R/W dav props patch; it's a good place to
start for making dav props work.
* ra_dav.h (SVN_RA_DAV__CUSTOM_NAMESPACE): new svn prop namespace
* commit.c (do_proppatch): use custom namespace for svn props
* fetch.c (add_props): new function.
(fetch_dirents): get all props, so SVN:custom ones can be found.
(fetch_file): add the properties.
* props.c (create_private): use different pool (?)
(add_to_hash): new func.
(process_results): call ne_propset_iterate().
(svn_ra_dav__get_props): possibly get specific props.
2001-07-26 12:03 Ben Collins-Sussman <sussman@collab.net>
* subversion/include/svn_error_codes.h (1.12):
Change over-specific error description.
2001-07-26 11:01 C. Michael Pilato <cmpilato@collab.net>
* build.conf (1.23), subversion/svnlook/editors.c (1.1),
subversion/svnlook/main.c (1.2), subversion/svnlook/nodetree.c
(1.1), subversion/svnlook/svnlook.h (1.1),
doc/user/svnlook/svnlook.texi (1.2):
Start to really fill out the svnlook program.
* build.conf
(svnlook): Link with libsvn_repos.
* doc/user/svnlook/svnlook.texi
Update DATE format to reflect GMT time usage.
* subversion/svnlook/main.c
(struct svnlook_ctxt_t): New context structure.
(get_property, get_root, do_log, do_date, do_author,
print_dirs_changed_tree, do_dirs_changed, print_changed_tree,
do_changed, do_diff, print_tree, do_tree, do_default): New
functions.
(usage): Update usage message.
(main): Lots of parsing changes, changed to use the context
structure, and tons of other goodies. This function now has guts.
* subversion/svnlook/editors.c
* subversion/svnlook/nodetree.c
* subversion/svnlook/svnlook.h
New files.
2001-07-25 13:19 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_repos/commit_editor.c (1.16):
* commit_editor.c
(close_edit): Minor variable rename.
2001-07-25 12:43 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_fs.h (1.94), libsvn_fs/fs.c (1.54):
* svn_fs.h, fs.c (svn_fs_conf_dir, svn_fs_pre_commit_conf,
svn_fs_post_commit_conf, svn_fs_conf_read_sentinel_conf,
svn_fs_conf_write_sentinel_conf): New functions.
* fs.c (create_conf): Use them.
2001-07-25 12:42 Karl Fogel <kfogel@collab.net>
* www/index.html (1.31):
Note about i18n and multi-lingual support.
2001-07-25 10:53 Karl Fogel <kfogel@collab.net>
* www/project_tasks.html (1.8):
Remove task "Send usage to stdout or stderr as appropriate", which
was issue #402.
The patch to fix it was submitted by Chris Conrad
<cconrad@valinux.com>, applied by Brian Fitzpatrick
<fitz@red-bean.com>, and reviewed with only minor tweaks by Karl
Fogel <kfogel@collab.net>. See related commits of today and
yesterday.
2001-07-25 10:48 Karl Fogel <kfogel@collab.net>
* subversion/clients/cmdline/help-cmd.c (1.5):
(svn_cl__help): Make `-v' and `--version' work again. Make `help'
print a full usage message to stdout, like `-h' and `--help'.
(print_version_info): Shorter version message, remove leading
newline.
2001-07-25 10:21 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error_codes.h (1.11), include/svn_fs.h
(1.93), include/svn_repos.h (1.19), libsvn_fs/hooks.c (1.2),
libsvn_fs/hooks.h (1.2), libsvn_fs/tree.c (1.90), libsvn_fs/txn.c
(1.45), libsvn_repos/commit_editor.c (1.15), libsvn_repos/hooks.c
(1.3), mod_dav_svn/version.c (1.30),
tests/libsvn_repos/repos-test.c (1.8):
Re-acquire grip on sanity (confessing a faint hope that Brane will
make some re-mark about how "re" is a prefix and needs no hyphen).
We will indeed do hooks and sentinels in libsvn_repos, adding a few
public accessor functions to the fs interface where necessary. This
is basically a partial reversion of my change of 2001-07-24 18:36,
plus some more coding.
* include/svn_fs.h (svn_fs_commit_txn): Doc fix.
(svn_fs_txn_pool): New func.
* svn_error_codes.h (svn_errno_t): New error
SVN_ERR_REPOS_HOOK_FAILURE.
* libsvn_fs/tree.c (svn_fs_commit_txn): Don't run pre- and
post-commit hooks here, we'll do it in libsvn_repos instead.
* libsvn_fs/txn.c (svn_fs_txn_pool): Define.
* libsvn_fs/hooks.c, libsvn_fs/hooks.h: Remove these files.
* libsvn_repos/hooks.c: Restore this file.
(run_pre_commit_hooks, run_post_commit_hooks): New funcs.
(svn_repos_fs_commit_txn): Define.
* include/svn_repos.h (svn_repos_fs_commit_txn): Re-declare.
* libsvn_repos/commit_editor.c (close_edit): Use
svn_repos_fs_commit_txn, instead of svn_fs_commit_txn.
* mod_dav_svn/version.c (dav_svn_merge): Same.
2001-07-24 23:56 Brian Fitzpatrick <fitz@red-bean.com>
* www/project_tasks.html (1.7):
'Whack.' Ball's in your court, Karl.
2001-07-24 23:49 Brian Fitzpatrick <fitz@red-bean.com>
* subversion/clients/cmdline/help-cmd.c (1.4):
This patch submitted by Christopher Conrad <cconrad@valinux.com>
Issue 402 has been worked out as follows:
svn --no-such-option -> stderr, non-zero exit code svn --help
->stdout, zero exit code svn help -> stdout, zero exit code (it
prints the same message as svn help help)
* clients/cmdline/help-cmd.c (print_command_info,
print_generic_help): Added FILE *stream to parameter lists to allow
callers to select the output stream to use. Switched all printf's
to fprintf's to take advantage of the new parameter.
* clients/cmdline/help-cmd.c (svn_cl__help): Added a case to handle
when svn is invoked with help or --help. Updated calls to
print_generic_help and print_command_info to use new parameter list.
* clients/cmdline/help-cmd.c (svn_cl__subcommand_help): Updated call
to print_command_info to use new parameter list.
2001-07-24 18:51 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: hooks.c (1.1), hooks.h (1.1), tree.c
(1.89):
* hooks.c, hooks.h: New files, with empty hook driver definitions.
* tree.c (svn_fs_commit_txn): Run hooks.
2001-07-24 18:36 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_fs.h (1.92), include/svn_repos.h (1.18),
libsvn_fs/fs.c (1.53), libsvn_fs/fs.h (1.27), libsvn_fs/tree.c
(1.88), libsvn_repos/commit_editor.c (1.14), libsvn_repos/hooks.c
(1.2), mod_dav_svn/version.c (1.29),
tests/libsvn_repos/repos-test.c (1.7):
Remove start-commit hooks. They are useless -- we don't know at
txn-creation time whether the txn is being created for reading or
writing purposes, so we can't put a write guard there. Instead, the
write sentinels will take care of that.
Remove the recent svn_repos_fs_commit_txn() function, change all
callers back to svn_fs_commit_txn(). We will run the hooks from
libsvn_fs, not libsvn_repos; put notes at those spots.
2001-07-24 18:20 Karl Fogel <kfogel@collab.net>
* subversion/: clients/cmdline/commit-cmd.c (1.6),
clients/cmdline/import-cmd.c (1.5), include/svn_client.h (1.41),
include/svn_fs.h (1.91), include/svn_ra.h (1.63),
include/svn_repos.h (1.17), include/svn_types.h (1.65),
libsvn_client/commit.c (1.54), libsvn_ra_dav/commit.c (1.60),
libsvn_ra_dav/ra_dav.h (1.31), libsvn_ra_local/ra_plugin.c (1.39),
libsvn_repos/commit_editor.c (1.13), libsvn_repos/hooks.c (1.1),
mod_dav_svn/version.c (1.28), tests/libsvn_repos/repos-test.c
(1.6):
Pass a username around, in anticipation of hooks that use it, and
wrap svn_fs_commit_txn() with svn_repos_fs_commit_txn(). The latter
honors hooks.
Note that the user arg added everywhere is `const char *'. This is
inconsistent with the many `svn_string_buf_t *' args around it, but
there's no point perpetuating the insanity, even though we haven't
gotten around to cleaning up the svn_string_t/svn_stringbuf_t stuff
yet.
* libsvn_ra_local/ra_plugin.c (get_commit_editor): Take new `user'
arg, pass it along.
* include/svn_ra.h (svn_ra_plugin_t): Adjust prototype and doc for
get_commit_editor.
* include/svn_repos.h (svn_repos_get_editor): New `user' arg.
(svn_repos_fs_commit_txn): New prototype.
* libsvn_client/commit.c (send_to_repos): Take new `user' arg.
* libsvn_ra_dav/commit.c (commit_ctx_t): New `user' field.
(svn_ra_dav__get_commit_editor): Take new `user' arg.
* libsvn_ra_dav/ra_dav.h (svn_ra_dav__get_commit_editor): Adjust
prototype for above.
* libsvn_client/commit.c (svn_client_import, svn_client_commit):
Take new `user' arg, pass it along.
* include/svn_client.c (svn_client_import, svn_client_commit): Doc
fixes.
* libsvn_repos/commit_editor.c (edit_baton): New `user' field.
(svn_repos_get_editor): Take new `user' arg, store in edit baton.
(close_edit): Set author prop on the txn, as well as date.
* libsvn_repos/hooks.c (svn_repos_fs_commit_txn): Define.
* clients/cmdline/commit-cmd.c (svn_cl__commit): Pass new `user'
arg.
* clients/cmdline/import-cmd.c (svn_cl__import): Pass new `user'
arg.
* include/svn_types.h (SVN_PROP_REVISION_AUTHOR): New #define.
* include/svn_fs.h (svn_fs_commit_txn): Warn callers that they
probably want to use svn_repos_fs_commit_txn. All callers changed
except for fs tests.
2001-07-24 17:21 Karl Fogel <kfogel@collab.net>
* www/project_tasks.html (1.6):
Note that Chris Conrad has taken issue 402.
2001-07-24 16:32 Ben Collins-Sussman <sussman@collab.net>
* subversion/: libsvn_fs/node-rev.c (1.23), libsvn_fs/tree.c
(1.87), tests/clients/cmdline/prop_tests.py (1.2):
Fix two genuine filesystem bugs. Ben drives, Karl finds.
(`prop_tests.py 2' now passes. prop_tests.py #3, however, still
fails due to ancient bug #352. This needs to be fixed.)
* node-rev.c (deltify): don't deltify identical reps.
* tree.c (svn_fs_commit_txn): return *all* errors from commit,
preventing false positives.
* prop_tests.py (commit_props, update_props): a number is not a
string.
2001-07-24 16:25 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_repos.h (1.16):
(svn_repos_commit_hook_t, svn_repos_get_editor): Doc fixes.
2001-07-24 15:30 C. Michael Pilato <cmpilato@collab.net>
* build.conf (1.22), subversion/svnlook/.cvsignore (1.1),
subversion/svnlook/main.c (1.1):
Beginning work on 'svnlook' repos inspection tool.
* build.conf
(svnlook): New section for building 'svnlook' repos inspection tool.
* subversion/svnlook/.cvsignore
* subversion/svnlook/main.c
New files.
2001-07-24 14:54 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: fs.c (1.52), fs.h (1.26):
* fs.h (SVN_FS__REPOS_CONF_START_COMMIT_HOOKS): New #define for a
conf file.
(SVN_FS__REPOS_CONF_PRE_COMMIT_HOOKS,
SVN_FS__REPOS_CONF_POST_COMMIT_HOOKS): Replace
SVN_FS__REPOS_CONF_PRECOMMIT_HOOKS and
SVN_FS__REPOS_CONF_POSTCOMMIT_HOOKS respectively; an underscore was
added to each.
* fs.c (create_conf): Create new conf file. Improve initial
contents of other conf files.
2001-07-24 14:48 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: basic_tests.py (1.8),
prop_tests.py (1.1), svntest/actions.py (1.6):
* prop_tests.py: new file with (for now) three new tests that verify
property behaviors. (The last two are known to fail right now,
but this bug will be fixed shortly.)
* actions.py (run_and_verify_update): add `check_props' arg that
can be passed through to build_tree_from_wc(). Change all callers.
2001-07-24 14:30 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/fs.h (1.25):
(svn_fs_t): Doc fix.
2001-07-24 14:29 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: fs.c (1.51), fs.h (1.24):
More repository organization, including a new conf area, in
preparation for hooks:
* fs.h (SVN_FS__REPOS_CUSTOM_DIR, SVN_FS__REPOS_CONF_DIR,
SVN_FS__REPOS_DAV_DIR): New #defines, for new standard subdirs in
the repository.
(SVN_FS__REPOS_CONF_PRECOMMIT_HOOKS,
SVN_FS__REPOS_CONF_POSTCOMMIT_HOOKS,
SVN_FS__REPOS_CONF_READ_SENTINELS,
SVN_FS__REPOS_CONF_WRITE_SENTINELS): New #defines, for standard conf
files.
(svn_fs_t): New `dav_path' and `conf_path' fields.
* fs.c (create_conf): New function, helper for below.
(svn_fs_create_berkeley): Create aforementioned new directories and
conf files.
2001-07-24 14:17 C. Michael Pilato <cmpilato@collab.net>
* doc/user/svnlook/svnlook.texi (1.1):
* svnlook.texi
A(n intentionally) misnamed file for tracking the design of the
'svnlook' binary.
2001-07-24 13:49 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_repos/hooks.txt (1.2):
Trivial change, in anticipation of larger upcoming commit.
2001-07-24 10:00 C. Michael Pilato <cmpilato@collab.net>
* subversion/: clients/cmdline/cl.h (1.10),
clients/cmdline/cleanup-cmd.c (1.4), clients/cmdline/main.c (1.12),
clients/cmdline/revert-cmd.c (1.1), include/svn_client.h (1.40),
include/svn_wc.h (1.107), libsvn_client/revert.c (1.1),
libsvn_wc/adm_ops.c (1.77), tests/clients/cmdline/basic_tests.py
(1.7):
Initial code for 'svn revert' subcommand.
* clients/cmdline/main.c
(svn_cl__cmd_table): Added 'revert' subcommand.
* clients/cmdline/cl.h
(svn_cl__revert): New function prototype.
* include/svn_client.h
(svn_client_revert): New function prototype.
* clients/cmdline/revert-cmd.c
* libsvn_client/revert.c
New file(s).
* libsvn_wc/adm_ops.c
(svn_wc_revert): New function.
* include/svn_wc.h
(svn_wc_revert): New function prototype.
* clients/cmdline/cleanup-cmd.c
Drop the unnecessary #includes.
* tests/clients/cmdline/basic-tests.py
(basic_revert): New test function.
(test_list): Add reference to new test basic_revert().
2001-07-23 15:53 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_repos/: README (1.2), hooks.txt (1.1):
* hooks.txt: New file, describe the hook system.
* README: Reword, point to new file hooks.txt.
2001-07-23 15:53 Karl Fogel <kfogel@collab.net>
* notes/alpha-checklist.txt (1.3):
Bring up-to-date.
2001-07-23 10:57 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_wc/log.c (1.106),
tests/clients/cmdline/basic_tests.py (1.6):
* libsvn_wc/log.c
(svn_wc_cleanup): Slap NULL onto end of va_args-y function call.
* tests/clients/cmdline/basic_tests.py
(basic_cleanup): Print stderr output if any exists after running
cleanup.
2001-07-23 10:17 Ben Collins-Sussman <sussman@collab.net>
* notes/dav_setup.txt (1.10):
Duh, change these addresses too.
2001-07-23 10:10 Ben Collins-Sussman <sussman@collab.net>
* notes/dav_setup.txt (1.9):
Update location of httpd-2.0 tree.
2001-07-23 10:02 C. Michael Pilato <cmpilato@collab.net>
* subversion/: clients/cmdline/cleanup-cmd.c (1.3),
libsvn_wc/adm_files.c (1.82), libsvn_wc/log.c (1.105),
libsvn_wc/wc.h (1.156):
Some little changes to make the `svn cleanup' subcommand clean out
the tmp area as part of its duties.
* clients/cmdline/cleanup-cmd.c
(svn_cl__cleanup): Push the implied '.' target when no other target
is supplied.
* libsvn_wc/wc.h
(svn_wc__adm_cleanup_tmp_area): New function prototype.
* libsvn_wc/adm_files.c
(init_adm_tmp_area): Helper func for a touch o' abstraction.
(init_adm): Use helper func init_adm_tmp_area(). SVN_ERR'd a bunch
of "if err return err" chunks.
(svn_wc__adm_cleanup_tmp_area): New function.
* libsvn_wc/log.c
(svn_wc_cleanup): Clean out "tmp" area, too.
2001-07-23 10:01 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/commit_tests.py (1.7):
* commit_tests.py
(get_standard_status_list, nested_dir_replacements): Add 'locked'
attribute to new node's status.
2001-07-20 17:06 Ben Collins-Sussman <sussman@collab.net>
* www/project_status.html (1.32):
Update weekly status page.
2001-07-20 16:57 Ben Collins-Sussman <sussman@collab.net>
* doc/user/manual/: dirversioning.texi (1.1), model.texi (1.3),
svn-manual.texi (1.5):
New user-manual documentation on the Greg Hudson Problems.
2001-07-20 16:07 C. Michael Pilato <cmpilato@collab.net>
* subversion/: clients/cmdline/status.c (1.5), include/svn_wc.h
(1.106), libsvn_wc/status.c (1.38),
tests/clients/cmdline/basic_tests.py (1.5),
tests/clients/cmdline/commit_tests.py (1.6),
tests/clients/cmdline/svntest/actions.py (1.5),
tests/clients/cmdline/svntest/main.py (1.9),
tests/clients/cmdline/svntest/tree.py (1.7):
Added new column to status reporting to show locked directories
(means, "go run cleanup")
* clients/cmdline/status.c
(generate_status_codes): Add (and use) LOCKED parameter. Callers
changed.
* include/svn_wc.h
(svn_wc_status_t): Add LOCKED field.
* libsvn_wc/status.c
(assemble_status): Determine if a directory is locked.
* tests/clients/cmdline/basic_tests.py
(basic_cleanup): New test for cleanup subcommand.
(test_list): Added reference to new cleanup test.
* tests/clients/cmdline/commit_tests.py
(hudson_part_1_variation_2): Bug fix. Expect the right revision.
* tests/clients/cmdline/svntest/actions.py
(get_virginal_status_list): Add 'locked' attribute
(lock_admin_dir): New function.
* tests/clients/cmdline/svntest/main.py
(get_admin_name): New function.
* tests/clients/cmdline/svntest/tree.py
(build_tree_from_status): Modified to notice 'locked' attribute in
status output.
2001-07-20 14:53 Karl Fogel <kfogel@collab.net>
* subversion/svnadmin/main.c (1.17):
(usage, main): Make it "lstxns" instead of "lstxn", because more
intuitive and consistent with "lsrevs".
2001-07-20 14:41 Karl Fogel <kfogel@collab.net>
* autogen.sh (1.45):
Use PREREQ_FAILED to report on multiple problems at once, instead of
only reporting the earliest-detected problem in each run.
2001-07-20 14:32 Karl Fogel <kfogel@collab.net>
* autogen.sh (1.44):
Resolve issue #415 by pointing to new apr site.
2001-07-20 14:28 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_fs/tree.c (1.86),
libsvn_repos/commit_editor.c (1.12),
tests/clients/cmdline/basic_tests.py (1.4):
Resolve issue #416:
* commit_editor.c (replace_file): Use svn_fs_link.
* tree.c (merge): Fix comments.
* basic_tests.py (basic_merge): Unbreak.
2001-07-20 14:03 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.96):
(link_test): New test.
(test_funcs): Run it.
2001-07-20 12:49 Karl Fogel <kfogel@collab.net>
* subversion/svnadmin/main.c (1.16):
(print_tree): Print node id.
2001-07-20 11:39 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_delta.h (1.155), include/svn_fs.h
(1.90), libsvn_fs/dag.c (1.119), libsvn_fs/dag.h (1.48),
libsvn_fs/tree.c (1.85), libsvn_repos/commit_editor.c (1.11),
libsvn_repos/reporter.c (1.13),
tests/libsvn_repos/dir-delta-editor.c (1.6):
Resolve issue #417, by implementing svn_fs_link() and calling it
instead of svn_fs_copy() where appropriate:
* svn_fs.h (svn_fs_link): New func.
(svn_fs_copy): Doc fix.
* tree.c (copy_args): New field `preserve_history'.
(txn_body_copy): Pass it along.
(svn_fs_copy, svn_fs_link): Use above new field.
* dag.h, dag.c (svn_fs__dag_copy): Take new `preserve_history'
parameter, use it to determine whether to copy or just link.
* dir-delta-editor.c (add_or_replace_dir, add_or_replace_file):
Removed.
(test_add_directory, test_replace_directory, test_add_file,
test_replace_file): Unfactored. Handle base_revision,
copyfrom_revision, and copyfrom_path correctly.
* svn_delta.h (svn_delta_edit_fns_t): Doc fixes for add_directory,
replace_directory, add_file, replace_file.
* commit_editor.c (replace_directory): Use svn_fs_link.
* reporter.c (svn_repos_set_path): Same.
* dir-delta-editor.c (add_or_replace_dir):
2001-07-20 11:12 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/entries.c (1.114):
* libsvn_wc/entries.c
(fold_state_changes): Recent changes to Subversion (namely, actually
using the existence field in WC entries) highlight some login
flaws that this patch attempts to repair.
2001-07-20 10:55 Karl Fogel <kfogel@collab.net>
* subversion/tests/clients/cmdline/xmltests/svn-test2.sh (1.4):
Redirect stderr to stdout, so it ends up in tests.log, as Brane
suggested.
2001-07-20 09:50 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svntest/main.py (1.8):
* main.py (run_tests): what an embarrassing bug. :-)
2001-07-20 09:34 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/README (1.8):
Update contents of README.
2001-07-20 09:31 Ben Collins-Sussman <sussman@collab.net>
* subversion/include/svn_error_codes.h (1.10):
* svn_error_codes.h (SVN_ERR_WC_BAD_ADM_LOG): improve description.
Logfiles are almost never "corrupted". Instead, this is the
top-level error returned whenever *anything* goes wrong while
running a log.
2001-07-19 17:02 Karl Fogel <kfogel@collab.net>
* subversion/tests/clients/cmdline/xmltests/svn-test2.sh (1.3):
Redirect stderr to Albemuth where necessary.
2001-07-19 16:44 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_wc/: adm_ops.c (1.76), wc.h (1.155):
Make xml test number 9 in svn-test.sh pass again, by making
svn_wc_remove_from_revision_control() more robust:
* adm_ops.c (remove_file_if_present): New helper func.
(svn_wc_remove_from_revision_control): Rewrite file case.
* wc.h (svn_wc__text_base_path): Indentation fix.
2001-07-19 15:48 Ben Collins-Sussman <sussman@collab.net>
* subversion/: libsvn_fs/skel.c (1.34), libsvn_fs/tree.c (1.84),
tests/clients/cmdline/commit_tests.py (1.5):
Fix part 2 of the Greg Hudson Directory Versioning Problem.
* tree.c (merge): new logic check --merge will fail if target dir's
and ancestor dir's prop-keys aren't the same, i.e. if a propchange
was committed on an out-of-date directory. (see issue #418 about
the inelegance of this.)
* commit_tests.py (hudson_part_2): new regression test for this
problem.
* skel.c (svn_fs__skels_are_equal): fix braino.
2001-07-19 15:15 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/tree.c (1.83), tests/libsvn_fs/fs-test.c
(1.95):
* subversion/libsvn_fs/tree.c
(merge): Allow as a non-conflicting case where:
Entry E exists in ANCESTOR but has been deleted from SOURCE.
Entry E exists in ANCESTOR and in TARGET, but is not the same
node.
* subversion/tests/libsvn_fs/fs-test.c
(merging_commit): Modify this test to verify the above new
allowance.
2001-07-19 13:22 Karl Fogel <kfogel@collab.net>
* subversion/tests/clients/cmdline/svntest/main.py (1.7):
(svn_binary, svnadmin_binary): Make paths absolute, so tests can
safely chdir.
2001-07-19 12:54 Karl Fogel <kfogel@collab.net>
* subversion/tests/clients/cmdline/svntest/main.py (1.6):
(svn_binary, svnadmin_binary): Fix paths.
2001-07-19 12:37 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_client/add.c (1.18), libsvn_client/commit.c
(1.53), libsvn_delta/default_editor.c (1.10),
libsvn_fs/nodes-table.c (1.24), libsvn_fs/txn-table.c (1.28),
libsvn_ra/ra_loader.c (1.10), libsvn_repos/rev_hunt.c (1.3),
libsvn_subr/io.c (1.41), libsvn_subr/time.c (1.4),
libsvn_wc/adm_crawler.c (1.121), libsvn_wc/adm_ops.c (1.75),
libsvn_wc/entries.c (1.113), libsvn_wc/log.c (1.104),
libsvn_wc/questions.c (1.56), libsvn_wc/status.c (1.37),
tests/svn_test_editor.c (1.27), tests/libsvn_subr/path-test.c
(1.5), tests/libsvn_wc/commit-test.c (1.34):
#include <string.h>, to eliminate warnings about mem* and str*
functions
2001-07-19 12:36 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_subr/getdate.cw (1.2):
* subversion/libsvn_subr/getdate.cw
Little docstring edit.
2001-07-19 12:26 C. Michael Pilato <cmpilato@collab.net>
* svn_config.dsp (1.5), subversion/libsvn_repos/libsvn_repos.dsp
(1.2), subversion/libsvn_subr/getdate.cw (1.1),
subversion/libsvn_subr/libsvn_subr.dsp (1.8):
NOW the Win32 build is up-to-date. Thanks for the (perhaps
inadvertant) push on this, Bill Tutt.
* subversion/libsvn_subr/getdate.cw
New file.
* svn_config.dsp
(getdate.cw): Added to Source Files. A custom build step copies
this to getdate.c (which is generated by yacc in Unix)
* subversion/libsvn_repos/libsvn_repos.dsp
(rev_hunt.c): Added to Source Files.
* subversion/libsvn_subr/libsvn_subr.dsp
(getdate.c, time.c): Added to Source Files.
2001-07-19 12:05 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/skel.h (1.24):
(svn_fs__skels_are_equal): Doc fix.
2001-07-19 12:03 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: skel.c (1.33), skel.h (1.23):
(svn_fs__skels_are_equal): New func, for Ben.
2001-07-18 19:17 C. Michael Pilato <cmpilato@collab.net>
* subversion/: clients/cmdline/subversion_client.dsp (1.3),
libsvn_client/libsvn_client.dsp (1.9), libsvn_wc/libsvn_wc.dsp
(1.5):
Trying to catch up the Win32 build again. NOTE: I was not entirely
successful, since the getdate.c (generated from getdate.y) has no
way of appearing under non-cygwin Win32 at this point in time.
* subversion/clients/cmdline/subversion_client.dsp
(cleanup-cmd.c, propdel-cmd.c): Added to Win32 Source Files
* subversion/libsvn_client/libsvn_client.dsp
(cleanup.c): Added to Win32 Source Files
* subversion/libsvn_wc/libsvn_wc.dsp
(local_changes.c): Removed from Win32 Source Files
2001-07-18 16:42 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/commit_tests.py (1.4):
* commit_tests.py (hudson_part_1, hudson_part_1_variation_1,
hudson_part_1_variation_2): new tests for the first part of the
"Greg Hudson" directory versioning problem.
NOTE: the last test is currently known to fail, due to a bug in
the logic of the fs's merge() routine. Karl/Mike will fix this
bug tomorrow.
2001-07-18 15:30 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_client.h (1.39), include/svn_wc.h
(1.105), libsvn_client/commit.c (1.52), libsvn_client/update.c
(1.22), libsvn_wc/adm_crawler.c (1.120), libsvn_wc/adm_ops.c
(1.74), libsvn_wc/entries.c (1.112), libsvn_wc/get_editor.c
(1.190), libsvn_wc/log.c (1.103), libsvn_wc/props.c (1.34),
libsvn_wc/status.c (1.36):
Solve the "Greg Hudson Paradox", part 1. Tests forthcoming.
* log.c (log_do_committed): new code for marking "existence=deleted"
whenever a committed, deleted object has a different version
number than its parent directory. If the revisions are the same,
however, then it's safe to remove the object's entry completely.
* adm_ops.c (svn_wc__ensure_uniform_revision): if an updated item
still has a `deleted' flag, remove the whole entry from revision
control.
* svn_wc.h (svn_wc_entry, svn_wc_entries_read):
Change ALL callers of these two routines, especially those that loop
over entries. Make sure that they are properly ignoring `deleted'
entries:
/* If the entry's existence is `deleted', skip it. */
if (entry->existence == svn_wc_existence_deleted)
continue; /* or maybe return an error instead */
List of changed callers (most callers changed, but not all):
* adm_ops.c (svn_wc__ensure_uniform_revision, mark_tree,
svn_wc_delete, svn_wc_add_directory, svn_wc_add_file)
* props.c (svn_wc__get_existing_prop_reject_file)
* status.c (svn_wc_statuses, svn_wc_status)
* adm_crawler.c (verify_tree_deletion, crawl_dir,
svn_wc_crawl_local_mods)
* commit.c (send_to_repos)
* status.c (svn_client_status)
* update.c (svn_client_update)
* entries.c (svn_wc__atts_to_entry): fix copy-and-paste-o from
Mike. :-)
* status.c (assemble_status): status `D' for existence==deleted,
not just schedule==delete.
(svn_wc_statuses, svn_wc_status): `deleted' entries are no longer
printed by recursive status commands; they can only be seen if
they are the direct target of `svn st'. However, if entry is
`deleted' and scheduled for `add' simultaneously, then it's ok to
show.
* svn_wc.h, status.c (svn_wc_statuses): if any children of PATH are
`deleted', do *not* return them in the hash.
* get_editor.c (add_or_replace_file): add comments. If the user
updates to a tree where a `deleted' file exists again, the
update-editor should simply re-create the entry.
* adm_crawler.c (report_single_mod): if a target is both `deleted'
and schedule for addition, then the crawler must delete() and
add() to ensure a correct transaction.
(report_revisions): if an entry is `deleted', report it as missing
to the transaction.
2001-07-18 15:21 C. Michael Pilato <cmpilato@collab.net>
* subversion/: clients/cmdline/cleanup-cmd.c (1.2),
include/svn_client.h (1.38), include/svn_error_codes.h (1.9),
include/svn_wc.h (1.104), libsvn_client/cleanup.c (1.1),
libsvn_wc/log.c (1.102), libsvn_wc/wc.h (1.154):
`svn cleanup' command. This is untested, but doesn't really affect
any current code branches.
* clients/cmdline/cleanup-cmd.c
(svn_cl__cleanup): Actually call the cleanup code.
* libsvn_client/cleanup.c
New file with cleanup interface code.
* include/svn_client.h
(svn_client_cleanup): New function.
* include/svn_error_codes.h
(SVN_ERR_WC_IS_NOT_DIRECTORY, SVN_ERR_WC_IS_NOT_FILE): New error
codes.
* include/svn_wc.h
* libsvn_wc/log.c
(svn_wc_cleanup): Was non-public function svn_wc__cleanup().
Cleaned up (heh!) and made production-ready.
* Index: libsvn_wc/wc.h
Some ittybitty formatting changes, corrected misspeelngs, and
removed svn_wc__cleanup()'s obsolete prototype.
2001-07-18 14:45 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_subr/.cvsignore (1.6):
* libsvn_subr/.cvsignore
Ignore getdate.c (which is generated from some Python script
somewhere...)
2001-07-18 10:40 C. Michael Pilato <cmpilato@collab.net>
* subversion/clients/cmdline/: cl.h (1.9), cleanup-cmd.c (1.1),
main.c (1.11):
Skeleton for the `svn cleanup' sub-command.
* clients/cmdline/main.c
(svn_cl__cmd_table): Added "cleanup" command.
* clients/cmdline/cl.h
(svn_cl__cleanup): New function declaration.
* clients/cmdline/cleanup-cmd.c
New file (containing svn_cl__cleanup).
2001-07-18 10:10 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.94):
* tests/libsvn/fs-test.c
(attempt_merge, merge_trees): Removed obsolete functions.
(unexpected_node_id): New helper function.
(merge_re_id): New test function.
(merging_commit): Kick up the filesize to 100,000 bytes, and drop
the number of commits from 100 to 10.
(test_funcs): Removed reference to merge_trees(), add reference to
merge_re_id().
2001-07-17 20:35 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error_codes.h (1.8),
libsvn_wc/adm_crawler.c (1.119), libsvn_wc/entries.c (1.111),
tests/clients/cmdline/basic_tests.py (1.3),
tests/clients/cmdline/commit_tests.py (1.3),
tests/clients/cmdline/svntest/actions.py (1.4),
tests/clients/cmdline/svntest/main.py (1.5),
tests/clients/cmdline/svntest/tree.py (1.6):
Fix segmentation fault reported by Jon Trowbridge. This bug didn't
last long enough to get an issue number, so here's the report info:
From: Jon Trowbridge <trow@ximian.com>
To: dev@subversion.tigris.org
Date: 17 Jul 2001 03:20:55 -0500
Subject: svn segfaults if you commit a file that hasn't been
added Message-Id: <995358055.16975.5.camel@morimoto>
This is the fix:
* svn_error_codes.h (svn_errno_t): New error
SVN_ERR_UNVERSIONED_RESOURCE.
* adm_crawler.c (svn_wc_crawl_local_mods): If target is an
unversioned resource, throw the appropriate error.
With Ben Collins-Sussman <sussman@collab.net>, write a regression
test for above. This entailed a genreal improvement to the
error-checking in the Python test framework:
* commit_tests.py (commit_unversioned_thing): New test.
* basic_tests.py (basic_merge): Expect a conflict error halfway
through, though this is not known to be correct. See issue #416.
* actions.py (run_and_verify_commit): Handle errors too.
* main.py (run_svn): Return stderr as well as stdout. All callers
changed.
Unrelated:
* entries.c (svn_wc_entry): Silly comment fix.
2001-07-17 19:23 Karl Fogel <kfogel@collab.net>
* subversion/clients/cmdline/main.c (1.10):
(main): Print error to stderr, not stdout.
2001-07-17 17:55 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_client/status.c (1.16):
(svn_client_status): Indentation fixes.
2001-07-17 17:55 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_client/status.c (1.15):
(svn_client_status): If no such entry, just return without
attempting to fill in more status information.
2001-07-17 17:04 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_fs.h (1.89), libsvn_fs/dag.c (1.118),
libsvn_fs/dag.h (1.47), libsvn_fs/node-rev.h (1.12),
libsvn_fs/nodes-table.c (1.23), libsvn_fs/structure (1.51),
libsvn_fs/tree.c (1.82), tests/libsvn_fs/fs-test.c (1.93):
Do history-preserving fs copies:
* svn_fs.h (svn_fs_node_copied_from): New func.
* dag.c (stabilize_node): Don't special-case copies.
(dag_node_kind_t): Remove `dag_node_kind_copy'.
(svn_fs__dag_get_node): Don't handle copy nodes anymore.
(node_rev_make_mutable): Remove copy history from the node rev.
* dag.c, dag.h (svn_fs__dag_is_copy, svn_fs__dag_make_copy,
svn_fs__dag_get_copy): Removed these obsolete functions.
(svn_fs__dag_copy, svn_fs__dag_copied_from): New funcs.
* tree.c (copied_from_args, txn_body_copied_from,
svn_fs_node_copied_from): New struct and functions.
(txn_body_copy): Use the new dag copying interface.
* node-rev.h: Doc fixes for all the accessor macros.
(SVN_FS__NR_HDR_COPY): New accessor macro.
* nodes-table.c (is_valid_option): Replaces is_valid_flag(), all
callers changed. Test for copy option now, instead of obsolete
mutability flag.
* fs-test.c (copy_test): Test copy history preservation.
* structure: Minor clarification.
2001-07-17 12:17 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/tree.c (1.81):
* libsvn_fs/tree.c
(merge, txn_body_merge): After merge() returns, we can re-ID the
target's node to reflect its new true ancestry information. I
have about 60% confidence in this change -- Karl or Jim, **please
review**.
2001-07-16 14:54 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/structure (1.50):
Settle on a plan for ancestry-recording fs copies.
2001-07-16 14:37 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c (1.117), dag.h (1.46), tree.c
(1.80):
* dag.c (svn_fs__dag_set_entry): Constify id parameter.
* tree.c (txn_body_copy): Remove now-unnecessary cast from id
parameter. Also, abort when source of copy is a txn root.
(merge): Add comment for Ben, who is about to add an extra safeguard
to the logic here.
2001-07-16 10:57 Ben Collins-Sussman <sussman@collab.net>
* subversion/include/svn_client.h (1.37):
Change API docstrings: before & after editors are *optional*.
2001-07-16 09:34 Ben Collins-Sussman <sussman@collab.net>
* HACKING (1.33):
Remove BSD comment.
2001-07-13 14:31 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/reps-strings.c (1.23),
tests/libsvn_fs/fs-test.c (1.92):
Well, some testing of large(r) files revealed some more little buggy
boogers in the deltification code. I *think* all that remains to be
addressed is some efficiency/memory usage stuff.
* libsvn_fs/reps-strings.c
(window_handler): More bug fixes. Window relevance check was a
touch off, and now the function is careful not to overrun the
output buffer.
* tests/libsvn_fs/fs-test.c
(get_file_digest): New helper function.
(large_file_integrity): New test function.
(test_funcs): Added reference to new test, large_file_integrity().
2001-07-13 11:37 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/reps-strings.c (1.22):
Pool optimizations:
(window_handler_baton_t): Redocument `pool' field.
(window_handler): Clear pool for reuse.
(rep_read_range): Initialize pool to a subpool of trail->pool.
2001-07-13 10:35 Karl Fogel <kfogel@collab.net>
* HACKING (1.32):
(Participating in the community): Update, mention commit access
procedure.
2001-07-13 09:52 C. Michael Pilato <cmpilato@collab.net>
* notes/guis/planning.txt (1.2):
* notes/guis/planning.txt
Use grammar common to educated Americans in the year 2001.
2001-07-13 09:49 C. Michael Pilato <cmpilato@collab.net>
* notes/guis/planning.txt (1.1):
* notes/guis/planning.txt
New file for tracking developers interested in assisting with
Subversion GUIs and related topics.
2001-07-12 19:23 Karl Fogel <kfogel@collab.net>
* www/project_status.html (1.31):
Update status.
2001-07-12 19:16 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/reps-strings.c (1.21):
(window_handler): Finish documenting, clarify comments.
(rep_read_range): Clarify comment.
(svn_fs__rep_deltify): Protect against cycles.
2001-07-12 16:05 Karl Fogel <kfogel@collab.net>
* www/variance-adjusted-patching.html (1.1),
notes/variance-adjusted-patching.html (1.3):
Moved this document from notes/ to www/.
2001-07-12 15:13 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/reps-strings.c (1.20), tests/fs-helpers.h
(1.5), tests/libsvn_fs/fs-test.c (1.91):
* libsvn_fs/reps-strings.c
(svn_fs__rep_deltify): Enable deltification for all the world to
use. Confidence or stupidity -- you be the judge.
* tests/libsvn_fs/fs-test.c
(validate_revisions): New helper function.
(check_all_revisions): New test function.
(test_funcs): Added reference to new test check_all_revisions().
* tests/fs-helpers.h
Minor docstring correction.
2001-07-12 14:06 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/: fs-helpers.c (1.7), fs-helpers.h (1.4),
libsvn_repos/repos-test.c (1.5):
Some little changes to assist in forthcoming test cases.
* fs-helpers.c
(svn_test__txn_script_exec): Use new command codes, support fs copy.
* fs-helpers.h
(svn_test__txn_script_command_t): Redefine command codes (adding
support for "copy"), rename CONTENTS to PARAM1.
* libsvn_repos/repos-test.c
Changed use of command codes in svn_test__txn_script_command_t
arrays throughout.
2001-07-12 10:59 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/reps-strings.c (1.19), tests/fs-helpers.c
(1.6), tests/libsvn_fs/fs-test.c (1.90):
Hey, hey -- does this mean that deltified storage is all good?!
Future commits of test cases will be the judge...
* libsvn_fs/reps-strings.c
(window_handler): Fix off-by-one error in window relevance check,
couple of other small (yet significant) bugs.
(svn_fs__rep_deltify): Keep the database clean when not deltifying.
* tests/fs-helpers.c
(validate_tree_entry): Changed argument list to take PATH and
CONTENTS instead of svn_test__tree_entry_t *ENTRY.
(svn_test__validate_tree): Make this function give much more details
about any problems it finds while validating repository trees.
* tests/libsvn_fs/fs-test.c
(check_old_revisions): Added another small test sub-case.
2001-07-11 15:38 Greg Hudson <ghudson@mit.edu>
* subversion/clients/cmdline/: cl.h (1.8), main.c (1.9):
Rename --setlocale to --locale. (Branko said I could paint the bike
shed this color.)
2001-07-11 10:44 Ben Collins-Sussman <sussman@collab.net>
* build.conf (1.21):
Add commit_tests.py to `make check`.
2001-07-11 09:38 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: commit_tests.py (1.2),
svntest/actions.py (1.3), svntest/tree.py (1.5):
* commit_test.py (nested_dir_replacements): new regression test for
bug #391
* actions.py (path_index): new utility func for hash-like lookup.
* tree.py (attribute_merge, SVNTreeNode.add_child): allow tree-node
attributes to "stack" and create new values. (i.e. "Deleting" +
"Adding" ==> "Replacing")
2001-07-10 21:45 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/reps-strings.c (1.18):
Grammar and wording fix.
2001-07-10 21:43 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/reps-strings.c (1.17):
More undeltification work, very close now:
Note: to debug this code, you have to toggle deltification on, see
the end of svn_fs__rep_deltify(). Toggling it on will cause some
fs-tests to fail, most notably fs-test 26, check_old_revisions().
Mike Pilato, Brane, and anyone else, feel free to rip into this
stuff. I will be effectively out of this code for a couple of days,
so I'll just see what you did when I go back to it on Friday.
* reps-strings.c: Fix long explanatory comment; #include assert.h.
(window_handler): Changed some field names, added new fields.
(window_handler_baton_t): Progress.
(rep_read_range): Set up new fields in baton. Prototype early in
the file.
2001-07-10 20:14 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/reps-strings.c (1.16):
* reps-strings.c (window_handler_baton_t, window_handler): New
struct and func, respectively. In progress.
(rep_read_range): Parse svndiff data, using above handler and
struct.
(write_string): Remove old debugging check.
(ACTUALLY_DO_DELTIFICATION): Remove this #define, see below.
(svn_fs__rep_deltify): Just mark out deltification with #if 0, see
above.
2001-07-10 19:55 Branko Cibej <brane@xbc.nu>
* subversion/clients/cmdline/: cl.h (1.7), main.c (1.8):
Added option --setlocale. For now, the initial locale at program
start-up remains "C", but using this option actually does change the
locale. Later on, when `svn' becomes localisable, we should set the
locale from the environment at start-up.
* clients/cmdline/cl.h (svn_cl__longopt_t): New enumerator
svn_cl__setlocale_opt.
* clients/cmdline/main.c (main): Handle option --setlocale.
2001-07-10 18:28 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_fs/reps-strings.c (1.15),
libsvn_fs/reps-strings.h (1.15), libsvn_fs/structure (1.49),
tests/libsvn_fs/fs-test.c (1.89):
Prepare for undeltification code, but keep the switch points
conditioned out with `ACTUALLY_DO_DELTIFICATION', a #define which
was introduced in the previous commit (rev 1.14 of reps-strings.c),
but which Mike and I forgot to mention in that log message.
Remaining undeltification work is now isolated to one case in
rep_read_range().
* structure: Describe new SIZE field in DELTA representations.
* reps-strings.c: (svn_fs__rep_deltify): Record the fulltext size.
Also, build the checksum the way `structure' says to; Mike and I
both missed this one when we were tandem coding earlier today.
(svn_fs__rep_contents_size): Get size from delta reps too.
(rep_write): Error if reach delta case, since that "can't happen".
(rep_read_range): Expand delta case in preparation for code.
(svn_fs__rep_contents): Rewrite to handle all cases.
(string_key): Return error, so can complain usefully if see
non-svndiff delta. All callers changed.
(make_mutable_fulltext_rep_skel): New helper func.
(svn_fs__get_mutable_rep): Handle the delta case; also, improve code
flow, and use above helper func.
(read_rep_args): Indentation fix.
* reps-strings.h (svn_fs__rep_contents): Doc fix.
(svn_fs__get_mutable_rep): Doc fix.
* fs-test.c (check_old_revisions): New test, can be expected to
break if undeltification is implemented wrong.
(test_funcs): Add new test.
(commit_date): Fix cut-and-paste-o.
2001-07-10 18:24 Joe Orton <joe@light.plus.com>
* Makefile.in (1.21):
Fix insanity. Run python tests in the appropriate subdirectory
again, and remove need for the eval mess.
2001-07-10 18:11 Joe Orton <joe@light.plus.com>
* subversion/clients/cmdline/propset-cmd.c (1.4):
Fix another svn-dev.el path.
2001-07-10 18:11 Joe Orton <joe@light.plus.com>
* Makefile.in (1.20):
Minor cleanups for ChangeLog rules. Include ac-helpers directory in
changes tracked.
2001-07-10 17:52 Joe Orton <joe@light.plus.com>
* Makefile.in (1.19):
* Makefile.in (check): Run any tests containing '.py' using
configure python binary.
2001-07-10 17:46 Joe Orton <joe@light.plus.com>
* configure.in (1.102):
* configure.in: Check for a "python2" binary then a "python" binary,
substitute as PYTHON into Makefile.
2001-07-10 16:51 Joe Orton <joe@light.plus.com>
* configure.in (1.101):
* configure.in: Expand comment on passing down arguments to neon's
configure script.
2001-07-10 15:31 C. Michael Pilato <cmpilato@collab.net>
* subversion/clients/cmdline/: cl.h (1.6), main.c (1.7),
propdel-cmd.c (1.1), propset-cmd.c (1.3):
Empower users of the command-line client with the ability to delete
properties with a new "propdel" subcommand. Code by Joe Orton.
* clients/cmdline/main.c
(svn_cl__cmd_table): Add subcommand info for "propdel".
* clients/cmdline/propset-cmd.c
(svn_cl__propset): Don't worry about property deletions any more.
* clients/cmdline/cl.h
(svn_cl__cmd_proc_t): Added svn_cl__propdel to list of command
procedures.
* clients/cmdline/propdel-cmd.c
New file for property deletion subcommand.
2001-07-10 15:12 C. Michael Pilato <cmpilato@collab.net>
* configure.in (1.100):
* configure.in
Changed use of $host_alias to $host. Patch submitted by Mo DeJong.
2001-07-10 13:06 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_delta.h (1.154),
include/svn_error_codes.h (1.7), libsvn_delta/text_delta.c (1.36),
libsvn_fs/node-rev.c (1.22), libsvn_fs/reps-strings.c (1.14):
Implement checksums in deltification and bring FS deltification code
closer to actually working.
* include/svn_delta.h
(svn_txdelta_md5_digest): New function prototype.
* include/svn_error_codes.h
(SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT): New error code.
* libsvn_delta/text_delta.c
(struct svn_txdelta_stream_t): Added MD5 stuffs.
(svn_txdelta): Initialize MD5 processing.
(svn_txdelta_md5_digest): New function.
(svn_txdelta_next_window): Calculate MD5 digest "on-the-fly".
* libsvn_fs/reps-strings.c
(svn_fs__rep_deltify): Prepare new representation skel. Also, abort
the deltification if the result will be a bigger chunk o' data
than what we started out with.
Unrelated bug fix:
* libsvn_fs/node-rev.c
(deltify): Only call deltification functions when we know that we
have a) something to deltify, and b) something to deltify against.
2001-07-09 15:03 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/log.c (1.101):
Fix bug #391. Test coming soon.
* log.c (log_do_committed): if a (R)eplaced directory contains any
immediate children scheduled for deletion, then remove them from
revision control.
2001-07-07 17:27 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: reps-strings.c (1.13), reps-strings.h
(1.14):
Hide those parts of the representations code which no longer need to
be exposed:
* reps-strings.h, reps-strings.c (string_key): Replaces
svn_fs__string_key_from_rep, now static. All callers changed.
(rep_read_range, rep_write): Just use string_key func.
(rep_is_mutable): Replaces svn_fs__rep_is_mutable, now static. All
callers changed.
(svn_fs__get_mutable_rep, svn_fs__make_rep_immutable
svn_fs__delete_rep_if_mutable, svn_fs__rep_contents_size
svn_fs__rep_contents, svn_fs__rep_contents_read_stream
svn_fs__rep_contents_write_stream, svn_fs__rep_contents_clear,
svn_fs__rep_deltify): Doc and parameter name fixes.
2001-07-07 17:02 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: node-rev.c (1.21), reps-strings.c (1.12),
reps-strings.h (1.13):
Move deltification code from node-rev.c to reps-strings.c. Now only
representation code knows how deltified storage is done.
* reps-strings.h, reps-strings.c (svn_fs__rep_deltify): New func.
* node-rev.c (deltify): Call svn_fs__rep_deltify to do the real
work.
2001-07-07 16:42 Karl Fogel <kfogel@collab.net>
* Makefile.in (1.18):
(check): Make output more compact.
2001-07-07 16:42 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c (1.116), node-rev.c (1.20),
reps-strings.c (1.11), reps-strings.h (1.12):
Give the rep contents storage and retrieval functions consistent
names, to distinguish them from the stuff in reps-table.h.
* reps-strings.h, reps-strings.c:
(svn_fs__rep_contents_size): Replaces svn_fs__rep_size.
(svn_fs__rep_contents_read_stream): Replaces
svn_fs__rep_read_stream.
(svn_fs__rep_contents_write_stream): Replaces
svn_fs__rep_write_stream.
(svn_fs__rep_contents_clear): Replaces svn_fs__rep_clear.
All callers changed.
2001-07-07 16:28 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c (1.115), reps-strings.c (1.10),
reps-strings.h (1.11):
Finish converting dag.c over to the rep contents interface. Now
nothing in dag.c touches a string directly -- all storage and
retrieval is done through the representations code.
* dag.c (svn_fs__dag_set_proplist, delete_entry,
svn_fs__dag_file_length, svn_fs__dag_set_contents): Use
representations interface instead of manipulating strings directly.
* reps-strings.h, reps-strings.c (svn_fs__rep_size): New func.
(svn_fs__rep_contents): Replaces svn_fs__string_from_rep(), now
takes a rep key instead of rep skel. All callers changed.
2001-07-07 16:01 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.88):
Removed exclamation points from test descriptions.
2001-07-07 15:26 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c (1.114), reps-strings.c (1.9),
reps-strings.h (1.10), structure (1.48):
* reps-strings.h, reps-strings.c (svn_fs__rep_clear): New func.
(svn_fs__string_key_from_rep): Handle delta case.
* dag.c (set_entry): Use only the rep-writing interface, don't touch
any strings directly.
2001-07-07 14:16 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_subr/getdate.y (1.3):
Get rid of "function declaration isn't a prototype" warnings:
(ToSeconds, Convert, DSTcorrect, RelativeDate, RelativeMonth,
LookupWord, difftm, svn_parse_date, main): Use ANSI prototypes.
2001-07-07 06:17 Joe Orton <joe@light.plus.com>
* subversion/clients/cmdline/: diff-cmd.c (1.3), diff.c (1.4),
import-cmd.c (1.4), propget-cmd.c (1.3), proplist-cmd.c (1.4),
props.c (1.5), status-cmd.c (1.3), status.c (1.4), update-cmd.c
(1.5), util.c (1.5):
Fix more svn-dev.el locations.
2001-07-07 06:15 Joe Orton <joe@light.plus.com>
* subversion/clients/cmdline/: add-cmd.c (1.3), checkout-cmd.c
(1.4), commit-cmd.c (1.5), delete-cmd.c (1.3), feedback.c (1.3),
help-cmd.c (1.3), trace-commit.c (1.5), trace-update.c (1.5):
Fix svn-dev.el locations.
2001-07-07 06:03 Joe Orton <joe@light.plus.com>
* subversion/libsvn_subr/getdate.y (1.2):
Fix the most of the warnings.
* getdate.y: Make prototypes proper ANSI prototypes, and constify
some strings.
2001-07-07 05:39 Joe Orton <joe@light.plus.com>
* subversion/clients/cmdline/props.c (1.4):
* props.c: Fix comment.
2001-07-07 05:35 Joe Orton <joe@light.plus.com>
* subversion/clients/cmdline/proplist-cmd.c (1.3):
* proplist-cmd.c: Fix comment.
2001-07-06 18:56 Karl Fogel <kfogel@collab.net>
* www/project_status.html (1.30):
Adjust bar widths.
2001-07-06 18:54 Karl Fogel <kfogel@collab.net>
* www/project_status.html (1.29):
Edit for recent status.
2001-07-06 18:37 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c (1.113), dag.h (1.45), node-rev.c
(1.19), reps-strings.c (1.8), reps-strings.h (1.9), tree.c (1.79):
Hide the hideable parts of the rep/string reading and writing
interfaces, expose only the streams. Again, in preparation for
making dag.c respect the representation boundary and stop
manipulating strings on its own:
* reps-strings.h, reps-strings.c (svn_fs__rep_read_stream,
svn_fs__rep_write_stream): New funcs.
Old public interface now strictly internal to reps-strings.c:
(rep_read_baton): replaces struct svn_fs__rep_read_baton_t
(rep_read_get_baton): replaces svn_fs__rep_read_get_baton
(rep_read_contents) replaces svn_fs__rep_read_contents
(rep_write_baton): replaces svn_fs__rep_write_baton_t
(rep_write_get_baton): replaces svn_fs__rep_write_get_baton
(rep_write_contents): replaces svn_fs__rep_write_contents
* node-rev.c (deltify): Use above new interface.
* dag.c (svn_fs__dag_get_contents): Same.
Unrelated: fix pool lifetime issue:
* dag.c, dag.h (svn_fs__dag_get_contents): Take a pool, allocate the
returned stream in it.
* tree.c (file_contents_baton_t): New `pool' field.
(svn_fs_file_contents): Store pool in baton.
(txn_body_get_file_contents): Pass pool along to
svn_fs__dag_get_contents().
(txn_body_get_mutable_source_stream): Same.
* svn_fs.h (svn_fs_file_contents): Remove note from doc string.
Also unrelated:
(svn_fs__rep_write_contents): Doc fix.
2001-07-06 18:12 Joe Orton <joe@light.plus.com>
* subversion/libsvn_ra_dav/commit.c (1.59):
Fix some code formatting, no functional change.
2001-07-06 17:58 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error_codes.h (1.6), libsvn_fs/dag.c
(1.112), libsvn_fs/node-rev.c (1.18), libsvn_fs/reps-strings.c
(1.7), libsvn_fs/reps-strings.h (1.8):
Make a generic rep/string writing interface, to match the one
offered by svn_fs__rep_read_contents() and friends. This is part of
isolating all deltification/undeltification knowledge into the
representations code, so it doesn't clutter up dag.c, node-rev.c,
etc:
* svn_error_codes.h (svn_errno_t): Add SVN_ERR_FS_REP_NOT_MUTABLE.
* reps-strings.h (svn_fs__rep_write_baton_t): New struct.
(svn_fs__rep_write_get_baton): New func, constructor for above.
(svn_fs__rep_write_contents): New func, svn_write_fn_t.
(rep_write, txn_body_write_rep): New funcs.
* dag.c (set_entry): Use above new interface to initialize the
entries list. This is the first step of a larger change to replace
all direct string writes here.
Unrelated:
* reps-strings.h (svn_fs__rep_read_contents): Doc fix.
* node-rev.c (write_string): Remove printf.
2001-07-06 17:44 Joe Orton <joe@light.plus.com>
* subversion/libsvn_ra_dav/commit.c (1.58):
Commit the right file this time.
* commit.c: (resource_baton_t): Use a table for name/value pairs of
properties to change, and an array for properties to delete.
(record_prop_change): Take resource baton, modify array and table
appropriately. (do_setprop): New function. (do_proppatch): Take a
resource baton, build up the PROPPATCH body appropriately and
dispatch the request. (all callers modified)
2001-07-06 17:34 Joe Orton <joe@light.plus.com>
* subversion/libsvn_ra_dav/props.c (1.8):
Revert back to rev1.6 of props.c.
2001-07-06 17:24 Joe Orton <joe@light.plus.com>
* subversion/libsvn_ra_dav/: props.c (1.7), ra_dav.h (1.30):
Add support for setting properties. The namespace SVN:custom is used
for property names. (Deleting properties is untested)
* ra_dav.h: Add a pool to the svn_ra_dav_resource_t.
* commit.c: (resource_baton_t): Use a table for name/value pairs of
properties to change, and an array for properties to delete.
(record_prop_change): Take resource baton, modify array and table
appropriately. (do_setprop): New function. (do_proppatch): Take a
resource baton, build up the PROPPATCH body appropriately and
dispatch the request. (all callers modified)
2001-07-06 16:43 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/dag.c (1.111):
(set_entry): Remove useless assert(), in preparation for new
rep-writing interface.
2001-07-06 16:40 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/reps-strings.h (1.7):
(svn_fs__get_mutable_rep): Doc fix.
2001-07-06 16:31 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/node-rev.c (1.17):
(deltify): Remove spurious comment.
2001-07-06 16:24 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c (1.110), node-rev.c (1.16),
reps-strings.c (1.6), reps-strings.h (1.6):
Write svndiffs into the strings table, but don't hook them up to
representations yet:
* node-rev.c (write_string_baton, write_string): New struct and
svn_write_fn_t func, respectively.
(deltify): Write deltified data to new target string.
* reps-strings.c (svn_fs__rep_read_get_baton): Return the baton.
* reps-strings.h (svn_fs__get_mutable_rep): Doc fix.
In the You've-Got-To-Be-Kidding-Me-Right? Department:
* dag.c (svn_fs__dag_set_contents): Fix confusion between rep keys
and string keys. You're not going to *believe* the bug that was
latent here:
The fs tests have been passing only because, by sheer coincidence,
they always created exactly the same number of reps and strings, and
did so in such a way that new rep keys were always the same as the
new strings to which the reps referred. Thus, even though this
function got a rep key ... mistook it for a string key and wrote
data to that string ... then innocently stored the rep key in the
node revision ... everything still worked, because the rep and
string happened to be a matching pair anyway!
It all fell apart when deltify() finally started writing svndiff
data into new strings. Even though the code was not "hooked up" and
those new strings were not yet referred to by any representations,
merely creating them was enough to throw the correspondence off, so
files contents started being randomly wrong. Whew.
2001-07-06 15:54 Joe Orton <joe@light.plus.com>
* STACK (1.93):
Stuff I'm working on.
2001-07-06 13:04 Ben Collins-Sussman <sussman@collab.net>
* configure.in (1.99):
Patch to fix builddir != srcdir, from Mo DeJong
<mdejong@cygnus.com>.
2001-07-06 12:54 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/node-rev.c (1.15):
(deltify): Code rearrangement, plus remember to initialize
variables.
This probably fixes issue #410; Ben will confirm before closing the
issue, however.
2001-07-06 12:46 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: reps-table.c (1.5), strings-table.c
(1.11):
Note code affected by issue #409.
2001-07-06 11:17 Ben Collins-Sussman <sussman@collab.net>
* notes/dav_setup.txt (1.8):
Updating & modernizing the Subversion Server HOWTO.
2001-07-06 10:21 Ben Collins-Sussman <sussman@collab.net>
* autogen.sh (1.43):
Add pointer to dav_setup.txt, to avoid developer confusion.
2001-07-05 16:41 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c (1.109), node-rev.c (1.14),
reps-strings.c (1.5), reps-strings.h (1.5):
* reps-strings.h, reps-string.c (svn_fs__rep_read_baton_t): Moved
structure definition into .c file, type in header is now just a
forwarding declaration.
(svn_fs__rep_read_get_baton): New func.
* dag.c (svn_fs__dag_get_contents): Use above new constructor func.
* node-rev.c (deltify): Get delta windows.
2001-07-05 16:13 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_fs.h (1.88):
(svn_fs_file_contents): Note concern in doc string.
2001-07-05 16:00 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: commit_tests.py (1.1),
svntest/actions.py (1.2), svntest/main.py (1.4):
* commit_tests.py: new suite of commit tests, testing
anchor/targets. not finished, but we're ready to write them now
when Mike P. gets back.
* svntest/main.py: stop specifying exact svn binary; use the one
in $PATH.
* actions.py (run_and_verify_status): don't pass `None' args to
compare trees.
2001-07-05 15:50 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/dag.c (1.108):
(svn_fs__dag_get_contents): Clarifying comment.
2001-07-05 13:16 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error_codes.h (1.5), libsvn_fs/dag.c
(1.107), libsvn_fs/libsvn_fs.dsp (1.14), libsvn_fs/node-rev.c
(1.13), libsvn_fs/node-rev.h (1.11), libsvn_fs/nodes-table.c
(1.22), libsvn_fs/nodes-table.h (1.11), libsvn_fs/reps-strings.c
(1.4), libsvn_fs/reps-strings.h (1.4):
Take the file reading code from dag.c, generalize it to do generic
representation reading, and put it in reps-strings.[ch]. Prepare to
use the newly generalized code in the now-resurrected files
node-rev.[ch], as part of deltification:
* svn_error_codes.h (svn_errno_t): New, more general error
SVN_ERR_FS_REP_CHANGED replaces SVN_ERR_FS_FILE_CONTENTS_CHANGED.
* dag.c (NR_HEADER, NR_PROP_KEY, NR_DATA_KEY, HDR_KIND, HDR_REV):
Moved to resurrected node-rev.h and renamed. All callers changed.
(file_content_baton_t, read_file_contents_args,
txn_body_read_file_contents, read_file_contents): Moved to
reps-strings.h and reps-strings.c, there to be renamed and tweaked.
All callers changed.
(svn_fs__dag_get_contents): Set the new `trail' field to null in the
svn_fs__rep_read_baton_t, which was formerly a file_content_baton_t.
* reps-strings.h, reps-strings.c:
(svn_fs__rep_read_baton_t): New name for `file_content_baton_t'.
(svn_fs__rep_read_contents): New name for `read_file_contents'. If
received a trail, use it, otherwise do svn_fs__retry_txn() as
before.
(rep_read_range): Replaces svn_fs__rep_read_range, now static.
* nodes-table.c, nodes-table.h (svn_fs__create_node,
svn_fs__create_successor, deltify, svn_fs__stable_node,
svn_fs__delete_node_revision): Moved to node-rev.c, node-rev.h, see
below.
* node-rev.c, node-rev.h: Resurrected these files:
* node-rev.h (SVN_FS__NR_HEADER, SVN_FS__NR_PROP_KEY,
SVN_FS__NR_DATA_KEY, SVN_FS__NR_HDR_KIND, SVN_FS__NR_HDR_REV):
Accessor macros moved here from dag.c.
* node-rev.c (deltify): Take new `fs' parameter; caller changed.
Finish, but leave deactivated while we finish undeltification.
* libsvn_fs.dsp: Notice node-rev.c and node-rev.h again.
2001-07-05 12:06 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/dag.c (1.106):
(svn_fs__dag_get_contents): Use the NR_DATA_KEY accessor macro.
2001-07-05 10:31 Ben Collins-Sussman <sussman@collab.net>
* www/project_status.html (1.28):
Fix broken link.
2001-07-04 15:20 Karl Fogel <kfogel@collab.net>
* www/project_tasks.html (1.5):
Fix bad html comment termination.
2001-07-04 15:18 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_fs.h (1.87), libsvn_fs/id.c (1.27),
libsvn_fs/nodes-table.c (1.21):
Deltification code path:
* svn_fs.h, id.c (svn_fs_predecessor_id): New func.
* nodes_table.c (deltify): New func, incomplete.
(svn_fs__stable_node): Call deltify() on the predecessor of the
stable node.
2001-07-04 15:11 Karl Fogel <kfogel@collab.net>
* subversion/clients/cmdline/main.c (1.6):
Cast parameter to svn_parse_date() to avoid warning; see issue #408.
2001-07-04 15:10 Karl Fogel <kfogel@collab.net>
* www/project_tasks.html (1.4):
Add new task.
2001-07-04 14:42 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/structure (1.47):
Slight clarification.
2001-07-04 14:32 Karl Fogel <kfogel@collab.net>
* www/project_tasks.html (1.3):
Add new task.
2001-07-04 14:13 Karl Fogel <kfogel@collab.net>
* www/project_tasks.html (1.2):
Don't include image.
2001-07-04 14:13 Karl Fogel <kfogel@collab.net>
* www/: index.html (1.30), project_nav.html (1.9),
project_tasks.html (1.1):
New task list page, plus links to it.
2001-07-04 13:04 Karl Fogel <kfogel@collab.net>
* www/project_status.html (1.27):
Update milestones based on new information about resource
scheduling.
2001-07-04 08:37 Ben Collins-Sussman <sussman@collab.net>
* subversion/: libsvn_fs/txn.c (1.44), svnadmin/main.c (1.15),
tests/libsvn_fs/fs-test.c (1.87):
* libsvn_fs/txn.c (svn_fs_begin_txn): automatically put a datestamp
property on newly created transactions. This will help admin
identify long-abandoned txns that may need to be hand-removed.
When a txn is promoted to a revision, this property will be
automatically overwritten with a revision datestamp.
* svnadmin/main.c (main): make `lsrevs' print revision datestamps.
make `lstxn' print transaction
datestamps.
* fs_test.c (transaction_props): make fs-test #13 pass, by telling
it to expect a datestamp among the properties.
2001-07-04 07:12 Ben Collins-Sussman <sussman@collab.net>
* autogen.sh (1.42), subversion/clients/cmdline/checkout-cmd.c
(1.3), subversion/clients/cmdline/cl.h (1.5),
subversion/clients/cmdline/main.c (1.5),
subversion/clients/cmdline/update-cmd.c (1.4),
subversion/include/svn_client.h (1.36),
subversion/include/svn_error_codes.h (1.4),
subversion/include/svn_ra.h (1.62), subversion/include/svn_repos.h
(1.15), subversion/include/svn_time.h (1.2),
subversion/libsvn_client/checkout.c (1.20),
subversion/libsvn_client/update.c (1.21),
subversion/libsvn_fs/dag.c (1.105),
subversion/libsvn_ra_dav/fetch.c (1.62),
subversion/libsvn_ra_dav/ra_dav.h (1.29),
subversion/libsvn_ra_dav/session.c (1.29),
subversion/libsvn_ra_local/ra_plugin.c (1.38),
subversion/libsvn_repos/rev_hunt.c (1.2),
subversion/libsvn_subr/getdate.y (1.1):
Add date-parsing to subversion, and the ability to checkout or
update using dates. (`svn co URL -D 17-03-2001' or `svn up -D last
tuesday')
* getdate.y: a parser of human-readable dates. stolen from CVS
(code is public domain, no copyright.) slightly tweaked.
* autogen.sh: invoke bison or yacc to produce getdate.c
* svn_time.h (svn_parse_date): declare API in getdate.y
* dag.c (txn_body_dag_init_fs): put a datestamp on revision 0, too!
* rev_hunt.c: (svn_repos_dated_revision): add boundary checks.
* svn_ra.h (get_dated_revision): new RA vtable routine.
* libsvn_ra_local/ra_plugin.c (get_dated_revision): implement as a
simple pass-through to svn_repos_dated_revision().
(ra_local_plugin): add get_dated_revision.
* libsvn_ra_dav/fetch.c (svn_ra_dav__get_dated_revision): dummy
func, to be marshalled over network later.
ra_dav.h (svn_ra_dav__get_dated_revision): declare.
session.c (dav_plugin): add svn_ra_dav__get_dated_revision.
* svn_repos.h (svn_repos_dated_revision): change `time' var to
`tm'.
* main.c (main): add -D flag. (wow! how often do we get to edit
main()?)
* cl.h (svn_cl__opt_state_t): add 'date' field.
* svn_error_codes.h (SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS): new
error.
* svn_client.h, checkout.c (svn_client_checkout): add time field!
* checkout-cmd.c (svn_cl__checkout): pass date to
svn_client_checkout()
* svn_client.h, update.c (svn_client_update): add time field!
* update-cmd.c (svn_cl__update): pass date to svn_client_update()
2001-07-04 02:32 Branko Cibej <brane@xbc.nu>
* subversion/: libsvn_subr/time.c (1.3), tests/libsvn_fs/fs-test.c
(1.86):
Fix even more timestamp breakage -- make sure we read what we wrote.
We were usiing %03d to print/scan the tm_usec field and, while
(apr_p)sprintf will expand the field to print all significant
digits, it seems sscanf was confused.
This should really, finally fix issue 404.
* libsvn_subr/time.c (timestamp_format): Use %06d for tm_usec.
* tests/libsvn_fs/fs-test.c (commit_date): Remove the #if 0 and
comment.
2001-07-03 15:38 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_repos.h (1.14), libsvn_repos/rev_hunt.c
(1.1):
* svn_repos.h (svn_repos_dated_revision): declare.
* rev_hunt.c (svn_repos_dated_revision): implement, with helper.
2001-07-03 15:19 Karl Fogel <kfogel@collab.net>
* www/project_status.html (1.26):
Make milestone dates fall on weekdays.
2001-07-03 14:59 Karl Fogel <kfogel@collab.net>
* www/project_status.html (1.25):
Update dates to be more conservative (and therefore more reliable).
2001-07-03 14:41 Karl Fogel <kfogel@collab.net>
* notes/alpha-checklist.txt (1.2):
Update based on recent progress.
2001-07-03 14:17 Karl Fogel <kfogel@collab.net>
* notes/: alpha-checklist.txt (1.1), alpha_short (1.9):
Renamed alpha_short to alpha-checklist, as we always planned to.
2001-07-02 16:59 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/structure (1.46):
Note about the one-to-one mapping of reps to strings.
2001-07-02 16:46 Karl Fogel <kfogel@collab.net>
* notes/fs-improvements.txt (1.12):
Remove obsolete stuff.
2001-07-02 16:17 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_subr/time.c (1.2):
Mention the APR dev discussions between Branko and David Reid in the
comment here, for context.
2001-07-02 15:47 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_time.h (1.1), include/svn_types.h
(1.64), libsvn_fs/dag.c (1.104), libsvn_fs/rev-table.c (1.16),
libsvn_fs/rev-table.h (1.8), libsvn_subr/time.c (1.1),
libsvn_wc/entries.c (1.110), libsvn_wc/local_changes.c (1.33),
libsvn_wc/questions.c (1.55), libsvn_wc/wc.h (1.153),
tests/libsvn_fs/fs-test.c (1.85):
Librarize the time/date helpers that used to live in libsvn_wc.
They are now part of libsvn_subr:
* wc.h, local_changes.c (svn_wc__time_to_string,
svn_wc__string_to_time): Moved to the new svn time library below.
* svn_time.h, time.c: New files.
(svn_time_from_string, svn_time_to_string): Replace
svn_wc__string_to_time and svn_wc__time_to_string respectively, all
callers changed.
Record the date of each commit, as requested by Ben:
* rev-table.h, rev-table.c (svn_fs__set_rev_prop): New func.
* rev-table.c (txn_body_change_rev_prop): Just call above new func.
* svn_types.h (SVN_PROP_REVISION_DATE): New #define.
* fs-test.c: #include apr_time.h and svn_time.h.
(commit_date): New test.
(test_funcs): Add it.
(revision_props, transaction_props): Allow the presence of other
revision properties.
2001-07-02 15:33 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/basic_tests.py (1.2):
* basic_tests.py: auto-generate more intelligible names for each
test's repository and working copy.
2001-07-02 14:36 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_path.h (1.39):
Use SVN_PATH_H, not SVN_PATHS_H.
2001-07-02 12:59 Ben Collins-Sussman <sussman@collab.net>
* build.conf (1.20):
* build.conf: tell `make check` the new name of our python tests.
2001-07-02 12:57 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: README (1.7), basic_tests.py
(1.1), local_tests.py (1.19), svntest/__init__.py (1.3),
svntest/actions.py (1.1), svntest/main.py (1.3), svntest/tree.py
(1.4):
Big reorganization of python test suite. Move most of the testing
API out of local_tests.py and into the `svntest' module. This will
make it easier to test ra_dav and xml access someday -- since all
but one function are inspecific to ra_local already.
* svntest/actions.py: the big API calls live here now.
* svntest/main.py: inherit some globals from local_tests.py
* svntest/__init__.py: add actions.py
* basic_tests.py: renamed from `local_tests.py'. Change all calls
into svntest module -- svntest.actions.*()
* README: keep our documentation up-to-date. :-)
2001-07-02 12:48 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error_codes.h (1.3), libsvn_fs/dag.c
(1.103), libsvn_fs/reps-strings.c (1.3), libsvn_fs/reps-strings.h
(1.3), libsvn_fs/structure (1.45):
Make the world safe for deltification. Now background deltification
will not interfere with file content reading, because we re-read the
representation each time we access the contents. If the file gets
deltified, the representation will simply be different on the next
fetch, which is fine -- that's why we have reps in the first place.
* reps-strings.h, reps-strings.c (svn_fs__rep_read_range): Take a
rep key instead of a rep skel.
* dag.c (file_content_baton_t): Store a rep key, instead of a rep
skel.
(txn_body_read_file_contents): Use a rep key instead of a rep skel.
Better error checking. Document.
(svn_fs__dag_get_contents): Store rep key into baton, not rep skel.
* svn_error_codes.h (svn_errno_t): New error
SVN_ERR_FILE_CONTENTS_CHANGED.
* structure: Update for above.
2001-07-02 12:41 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/proplist.h (1.8):
(svn_fs__get_prop): Doc fix.
2001-07-02 11:34 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_delta.h (1.153), include/svn_fs.h
(1.86), include/svn_wc.h (1.103), libsvn_fs/proplist.h (1.7):
* svn_fs.h (svn_fs_revision_prop): Note issue #406.
(svn_fs_revision_proplist): Same as above, plus doc fix.
* svn_delta.h (svn_prop_t, svn_delta_edit_fns_t): Note issue #406.
* svn_wc.h (svn_wc_get_prop, svn_wc_set_prop): Note issue #406.
(svn_wc_prop_list): Same as above, plus doc fix.
* proplist.h (svn_fs__get_prop): Note issue #406.
(svn_fs__make_prop_hash): Same as above, plus doc fix.
2001-07-02 11:34 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/dag.c (1.102):
* dag.c (NR_HEADER, NR_PROP_KEY, NR_DATA_KEY, HDR_KIND, HDR_REV):
Paranoid parenthesization.
2001-06-30 04:55 Branko Cibej <brane@xbc.nu>
* subversion/libsvn_wc/local_changes.c (1.32):
I hope this clears up issue 404.
* libsvn_wc/local_changes.c (svn_wc__string_to_time): Use
apr_implode_gmt instead of apr_implode_time.
2001-06-29 15:02 C. Michael Pilato <cmpilato@collab.net>
* subversion/clients/win32/svn_com/: SVN.cpp (1.7), StdAfx.h (1.3):
What the heck...may as well get SVN-COM building in Windows, too...
* subversion/clients/win32/svn_com/SVN.cpp
Some minor fixes throughout to get this to build.
* subversion/clients/win32/svn_com/StdAfx.h
Include svn_pools.h now.
2001-06-29 15:02 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: local_tests.py (1.18),
svntest/main.py (1.2), svntest/tree.py (1.3):
Fix a design flaw in our python trees.
* tree.py: (SVNTreeNode): extend class to contain *two* distinct
hashes. "props" are now actual subversion properties, while
"atts" holds the status information we've been using all along to
parse commandline output.
(compare_file_nodes): update accordingly.
(create_from_path): update accordingly.
(build_generic_tree): update accordingly.
(build_tree_from_checkout): update accordingly.
(build_tree_from_commit): update accordingly.
(build_tree_from_status): update accordingly.
* main.py (greek_tree): update accordingly.
* local_tests.py
(get_virginal_status_list): update accordingly.
(make_repo_and_wc): update accordingly.
(guarantee_greek_repository): update accordingly.
(basic_commit): update accordingly.
(commit_one_file): update accordingly.
(commit_multiple_targets): update accordingly.
(commit_mulitple_targets2): update accordingly.
(basic_update): update accordingly.
(basic_merge): update accordingly.
(basic_conflict): update accordingly.
2001-06-29 13:55 Ben Collins-Sussman <sussman@collab.net>
* Makefile.in (1.17), build.conf (1.19),
subversion/tests/clients/cmdline/xmltests/svn-test.sh (1.2),
subversion/tests/clients/cmdline/xmltests/svn-test2.sh (1.2):
Finish cleanup of `make check` rule, as per older email discussion.
* svn-test.sh, svn-test2.sh: stop requiring a $srcdir argument.
* Makefile.in (check): stop passing $srcdir to every single test.
* build.conf: update with new locations of xml test scripts.
(As I mentioned before, nobody freak over this please. We don't
have vpath builds working yet, and these xml-scripts will be
converted to python soon anyway.)
2001-06-29 13:46 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/: dag.c (1.101), structure (1.44):
Mike and Karl whipping up on revision numbers and flags in
NODE-REVISION skels.
* libsvn_fs/structure
Generally updated to reflect changes to the NODE-REVISION skels.
Namely, there is now a REV item in the header, and there are no
FLAGs.
* libsvn_fs/dag.c
(HDR_FLAGS): ...is no more.
(node_rev_is_mutable): Replaces (with some edits)
node_rev_has_mutable_flag. All callers changed.
(node_rev_make_mutable): Replaces (with some edits)
node_rev_set_mutable_flag. No longer takes a parent id or a pool.
(make_node_immutable): Now takes a REV argument, and uses that to
set the revision for the node (which indicates its freshly
acquired immutability).
(stabilize_node): Now takes a REV argument (to pass to
make_node_immutable).
(svn_fs__dag_commit_txn): Call stabilize_node *after* acquiring the
new revision number.
(make_entry): Build the NODE-REVISION skels properly (no flags).
2001-06-29 13:35 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: xml_tests.py (1.4),
xmltests/.cvsignore (1.1), xmltests/svn-test.sh (1.1),
xmltests/svn-test2.sh (1.1):
* clients/cmdline/tests/: nuke this directory and tests.
* tests/clients/cmdline/xmltests/: move them over here.
2001-06-29 13:25 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/local_tests.py (1.17):
Cleanup tmp_dir preemptively at startup. This problem was causing
occasional what-looked-like-bugs.
2001-06-29 12:58 Ben Collins-Sussman <sussman@collab.net>
* subversion/: libsvn_wc/get_editor.c (1.189),
tests/clients/cmdline/local_tests.py (1.16),
tests/clients/cmdline/svntest/tree.py (1.2):
Task: get local_test.py #9 to pass, by exercising control over
backup file names (from conflicts) and improving the way we detect
them.
* get_editor.c (close_file): when subversion invokes GNU `patch',
force backup files to be prefixed with ".#"
* tree.py (compare_trees): singleton_handler funcs now take batons.
(default_singleton_handler): take a baton.
* local_tests.py (basic_conflict): tweaky cleanup, formatting,
comments.
(detect_conflict_files): renamed (and completely rewritten) from
verify_rej_file().
(extra_files): no longer a global hash; now local list.
(basic_conflict): pass extra_files as a baton to
detect_conflict_files.
(run_and_verify_checkout): take singleton batons.
(run_and_verify_update): take singleton batons.
(run_and_verify_commit): take singleton batons.
2001-06-29 11:04 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/dag.c (1.100):
* libsvn_fs/dag.c
(txn_body_dag_init_fs): Initialize root node to revision `0' (not
`0.0' -- CVS what?)
(make_entry): Updated docstring.
(make_node_immutable): Oops -- missed opportunity for use of new
accessor macros!
2001-06-29 10:19 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/fs.c (1.50):
* subversion/libsvn_fs/fs.c
(cleanup_fs): Don't forget to clean up our new tables.
2001-06-29 09:48 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/libsvn_fs.dsp (1.13):
Catching up the Windows build after the recent libsvn_fs branch
merge.
* libsvn_fs.dsp
(node-rev.c, convert-size.h, node-rev.h, revision.h): Removed from
build.
(reps-strings.c, reps-strings.h): Added to build.
2001-06-28 19:12 Joe Orton <joe@light.plus.com>
* configure.in (1.98):
* configure.in: Fix ra_dav when --disable-shared isn't given (the
default). neon now defaults to not building shared libraries, so
force it to do whatever we do.
2001-06-28 18:21 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_fs/dag.c (1.99), libsvn_fs/dag.h (1.44),
libsvn_fs/err.c (1.30), libsvn_fs/fs.c (1.49), libsvn_fs/key-gen.c
(1.3), libsvn_fs/node-rev.c (1.12), libsvn_fs/node-rev.h (1.10),
libsvn_fs/nodes-table.c (1.20), libsvn_fs/nodes-table.h (1.10),
libsvn_fs/proplist.c (1.12), libsvn_fs/reps-strings.c (1.2),
libsvn_fs/reps-strings.h (1.2), libsvn_fs/reps-table.c (1.4),
libsvn_fs/reps-table.h (1.4), libsvn_fs/strings-table.c (1.10),
libsvn_fs/strings-table.h (1.10), libsvn_fs/structure (1.43),
libsvn_fs/this-branch.txt (1.2), libsvn_fs/tree.c (1.78),
libsvn_fs/txn.c (1.43), tests/libsvn_fs/strings-reps-test.c (1.9)
(utags: postmerge_strings-reps-dev):
Merged `strings-reps-dev' branch into trunk.
2001-06-28 18:11 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c, structure (strings-reps-dev.[18,2])
(utags: strings-reps-dev-done):
* dag.c (NR_HEADER, NR_PROP_KEY, NR_DATA_KEY, HDR_KIND, HDR_REV,
HDR_FLAGS): New macros. Use them everywhere, instead of unpacking
node revision skels by hand.
* structure: Notes on deltification.
2001-06-28 17:17 Joe Orton <joe@light.plus.com>
* configure.in (1.97):
* configure.in: Fix diffutils URL.
2001-06-28 16:44 Ben Collins-Sussman <sussman@collab.net>
* configure.in (1.96), ac-helpers/gnu-diff.sh (1.1):
* configure.in: require (and locate) non-hacked version of GNU diff
2001-06-28 16:17 C. Michael Pilato <cmpilato@collab.net>
* svn_config.dsp (1.4),
subversion/clients/cmdline/subversion_client.dsp (1.2),
subversion/libsvn_client/libsvn_client.dsp (1.8),
subversion/libsvn_fs/libsvn_fs.dsp (1.12,
postmerge_strings-reps-dev, premerge_strings-reps-dev):
Getting the Windows build up-to-date.
* svn_config.dsp
(svn_private_config.h): Exclude this file from the build.
* subversion/clients/cmdline/subversion_client.dsp
This got moved from another location.
* subversion/libsvn_client/libsvn_client.dsp
(feedback.c): Added to Source Files
* subversion/libsvn_fs/libsvn_fs.dsp
(convert-size.c): Remove.
(key-gen.c, rep-table.c): Added to Source Files
(key-gen.h, rep-table.h): Added to Header Files
2001-06-28 13:43 Joe Orton <joe@light.plus.com>
* configure.in (1.95):
* configure.in: Get any extra libraries that neon needs from the
'neon-config' script and use these if building statically.
2001-06-28 12:54 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/dag.c (strings-reps-dev.17):
(node_rev_has_mutable_flag): Got rid of last ### tweakit comment.
2001-06-28 12:53 Joe Orton <joe@light.plus.com>
* subversion/: include/svn_ra.h (1.61), libsvn_ra/ra_loader.c
(1.9), libsvn_ra_dav/session.c (1.28), libsvn_ra_local/ra_plugin.c
(1.37):
Change RA interface to allow plugins to handle >1 URL scheme.
* ra_loader.c (svn_ra_init_ra_libs): Pass through the scheme->plugin
hash table to the plugin's init function.
* svn_ra.h: Prototypes updated accordingly.
* ra_plugin.c (svn_ra_local_init): Updated accordingly.
* session.c (svn_ra_dav_init): Updated accordingly, and also support
https: URLs.
2001-06-28 10:37 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/fs.c (tags: strings-reps-dev-done)
(strings-reps-dev.1):
* libsvn_fs/fs.c
(svn_fs_open_berkeley): Hm. We should probably remember to open the
strings and representations tables as well.
2001-06-27 21:39 Branko Cibej <brane@xbc.nu>
* subversion/libsvn_wc/local_changes.c (1.31):
Comment fixes.
2001-06-27 21:03 Branko Cibej <brane@xbc.nu>
* subversion/libsvn_wc/local_changes.c (1.30):
Hopefully temporary fix for timestamp weirdness.
* libsvn_wc/local_changes.c (svn_wc__string_to_time): Adjust the
time to take account of the time zone's GMT offset.
2001-06-27 15:52 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/key-gen.c (tags: strings-reps-dev-done)
(strings-reps-dev.1), tests/libsvn_fs/fs-test.c (1.84),
tests/libsvn_fs/key-test.c (1.2):
Yahoo! All fs-test's now PASS!
* libsvn_fs/key-gen.c
(svn_fs__next_key): Grr...freakin' OBO error wasting my whole day...
* tests/libsvn_fs/key-test.c
(next_key): Added another test case to catch a stupid OBO error
case.
2001-06-27 14:46 Ben Collins-Sussman <sussman@collab.net>
* configure.in (1.94), ac-helpers/gnu-patch.sh (1.1):
* configure.in: require and locate a version of GNU patch.
2001-06-27 11:02 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/: dag.c, tree.c (tags:
strings-reps-dev-done) (strings-reps-dev.[16,3]):
Chugging along, making the fs-test's pass. Right now 17 and 24
FAIL, and 20 SEGFAULTs.
* libsvn_fs/dag.c
(svn_fs__dag_file_length): Doh! I can't *beLIEVE* I tried to check
the length of a list skel with skel->len...
(make_node_immutable): Add some segfault protection.
* libsvn_fs/tree.c
Itty bitty formatting fix
2001-06-26 20:40 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_fs/strings-reps-test.c (tags:
strings-reps-dev-done) (strings-reps-dev.3):
Avoid newlines in string literals, as per Joe Orton's change to the
trunk on 2001-06-26 20:08, but use \n's to make sure the resulting
string still contains actual newlines where Mike Pilato had them.
This will conflict with Joe's change when we merge, but it'll be
easy to resolve in favor of the branch.
2001-06-26 20:29 Joe Orton <joe@light.plus.com>
* PORTING (1.7):
Tru64 5.0 update.
2001-06-26 20:21 Joe Orton <joe@light.plus.com>
* subversion/clients/cmdline/cl.h (1.4):
* cl.h: Remove another trailing comma.
2001-06-26 20:08 Joe Orton <joe@light.plus.com>
* subversion/tests/libsvn_fs/strings-reps-test.c (1.8,
premerge_strings-reps-dev):
* strings-reps-test.c: Don't carry string literals over new-lines,
Tru64 cc can't parse it.
2001-06-26 20:05 Joe Orton <joe@light.plus.com>
* Makefile.in (1.16):
* Makefile.in (check): Carry on past test failures with non-GNU make
too. (I think this is useful behaviour since you get to see all the
test results in front of you, even if some early ones fail)
2001-06-26 19:55 Joe Orton <joe@light.plus.com>
* subversion/tests/libsvn_subr/target-test.sh (1.5):
* target-test.sh: Set $PWD explicitly, some shells don't update this
automatically. (e.g. Tru64 /bin/sh)
2001-06-26 19:28 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c, reps-strings.c (tags:
strings-reps-dev-done), reps-strings.h (tags:
strings-reps-dev-done) (strings-reps-dev.[15,4,4]):
* reps-strings.h, reps-string.c (svn_fs__delete_rep_if_mutable): New
func.
* dag.c (svn_fs__dag_delete_if_mutable): Delete any mutable
representations referred to by this node, too.
Mike Pilato, this is my last commit for today. If you want to code
at home, or on the train coming to work tomorrow, don't worry about
conflicts with my stuff. Tests 1-15 in fs-test.c pass now... and
test 16 seg faults. Good luck. :-)
2001-06-26 19:09 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/dag.c (strings-reps-dev.14):
This fixes fs-test 15 ("delete mutable nodes from directories"):
* reps-strings.h, reps-string.c (svn_fs__make_rep_immutable): New
func.
* dag.c (delete_entry): Test for target's emptiness correctly.
(make_node_immutable): Immutate representations too. Loop over
header correctly. Don't use a subpool, we don't need it anymore.
(svn_fs__dag_delete_if_mutable): Note necessary future work.
2001-06-26 19:05 Joe Orton <joe@light.plus.com>
* subversion/libsvn_fs/fs.c (1.48, premerge_strings-reps-dev):
* fs.c (cleanup_fs_db): Use pool-based allocation rather than
alloca(), which isn't portable unless you jump through hoops.
2001-06-26 18:49 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c, reps-strings.c, reps-strings.h
(strings-reps-dev.[13,3,3]):
More work on fs-test 15 ("delete mutable nodes from directories"),
still not there:
* reps-strings.h, reps-string.c (svn_fs__make_rep_immutable): New
func.
* dag.c (make_node_immutable): Immutate representations too. Loop
over header correctly now. Don't use a subpool, we don't need it
anymore.
2001-06-26 18:49 Joe Orton <joe@light.plus.com>
* subversion/include/svn_wc.h (1.102):
* svn_wc.h: Remove trailing commas from enumerator list (kill
warnings from Tru64 cc).
2001-06-26 18:45 Joe Orton <joe@light.plus.com>
* subversion/libsvn_ra_dav/fetch.c (1.61):
* fetch.c: Fix initializer syntax of report_head and report_tail.
(don't know why gcc didn't notice this but Tru64 cc did)
2001-06-26 18:26 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/dag.c (strings-reps-dev.12):
More debugging. This does not completely fix test 15 ("delete
mutable nodes from directories") in fs-test.c, but brings us closer:
* dag.c (find_dir_entry): Return previous entry too.
(dir_entry_from_node, set_entry): Call find_dir_entry correctly.
(delete_entry): Get a previous entry from find_dir_entry, use it.
Clear the old entries list, so we're overwriting, not appending.
Remember to use the SVN_ERR macro.
2001-06-26 17:27 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_fs/dag.c, libsvn_fs/proplist.c (tags:
strings-reps-dev-done) (strings-reps-dev.[11,1]),
tests/libsvn_ra_local/ra-local-test.c (1.12):
More debugging. Test 14 ("set and get some node properties") in
fs-test.c passes now:
* proplist.c (svn_fs__set_prop): Check value exists before adding a
new property.
* dag.c (svn_fs__dag_set_proplist): Remember to set the new rep key
in the node revision, if created a new rep key. Also, use
svn_fs__validate_proplist() instead of inline code, and return an
error if it's invalid, instead of calling abort().
(svn_fs__dag_get_proplist): Fetch the rep skel before using it.
Unrelated change:
* tests/libsvn_delta/ra-local-test.c: Make compilation warnings go
away. This whole test is listed as "skip" in build.conf anyway.
2001-06-26 16:39 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/dag.c (strings-reps-dev.10):
This fixes fs-test #8, reading and writing of files. Now
fs-test:1-13 are passing. Test 14 seg faults, though. :-)
* dag.c (svn_fs__dag_get_contents): Handle non-existent reps by
setting the baton's rep skel to null. This case covers files that
have never had contents.
(txn_body_read_file_contents): Handle null rep skel.
(file_content_baton_t): Document meaning of a null rep skel.
2001-06-26 16:22 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/this-branch.txt (tags:
strings-reps-dev-done) (strings-reps-dev.8):
List `svn_fs__dag_set_contents' as done. Now to debug everyone...
2001-06-26 16:18 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_fs/reps-strings.c, libsvn_fs/reps-strings.h,
tests/libsvn_fs/strings-reps-test.c (strings-reps-dev.[2,2,2]):
* reps-strings.h, reps-strings.c (svn_fs__get_mutable_rep): Handle
non-keys gracefully.
* tests/libsvn_fs/strings-reps-test.c (write_null_string): New test.
(test_funcs): Run new test.
2001-06-26 15:24 Joe Orton <joe@light.plus.com>
* subversion/libsvn_ra_dav/session.c (1.27):
* session.c (svn_ra_open): TLS upgrades are not yet useful.
2001-06-26 15:17 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/: dag.c, this-branch.txt
(strings-reps-dev.[9,7]):
* libsvn_fs/dag.c
(svn_fs__dag_get_proplist): Safety first! Added code for trivial
case.
(svn_fs__dag_set_proplist): Converted this to use new reps/strings
stuff.
* this-branch.txt
(svn_fs__dag_set_proplist): Completed.
2001-06-26 15:08 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c, this-branch.txt
(strings-reps-dev.[8,6]):
* dag.c (svn_fs__dag_set_contents): Use reps/strings code.
* this-branch.txt: note that these are done now:
svn_fs__dag_get_contents
read_file_contents (The latter was actually done in a previous
commit).
2001-06-26 15:08 Joe Orton <joe@light.plus.com>
* subversion/libsvn_ra_dav/util.c (1.6):
* util.c (svn_ra_dav__parsed_request): ne_request_create cannot
fail, no need to cope with NULL return value.
2001-06-26 15:00 Joe Orton <joe@light.plus.com>
* autogen.sh (1.41):
* autogen.sh: Require neon 0.15.3.
2001-06-26 14:59 Joe Orton <joe@light.plus.com>
* subversion/libsvn_ra_dav/: commit.c (1.57), fetch.c (1.60),
merge.c (1.13), options.c (1.9), props.c (1.6), ra_dav.h (1.28),
session.c (1.26), util.c (1.5):
Updated to neon 0.15. s/(dav_|hip_|http_)/ne_/g
* props.c: Removed replacement propfind() implementation.
(svn_ra_dav__get_props): Use new PROPFIND API.
* util.c (svn_ra_dav__parsed_request): Take an integer fd rather
than a FILE *: all callers changed. Pass the request body length to
ne_set_request_body_buffer.
Unrelated cleanup:
* session.c, util.c: Use apr_want.h.
2001-06-26 14:15 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/reps-strings.c (1.1):
file reps-strings.c was initially added on branch strings-reps-dev.
2001-06-26 14:15 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/reps-strings.h (1.1):
file reps-strings.h was initially added on branch strings-reps-dev.
2001-06-26 14:15 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_fs/dag.c, libsvn_fs/dag.h (tags:
strings-reps-dev-done), libsvn_fs/reps-strings.c,
libsvn_fs/reps-strings.h, libsvn_fs/reps-table.c (tags:
strings-reps-dev-done), libsvn_fs/reps-table.h (tags:
strings-reps-dev-done), libsvn_fs/strings-table.c (tags:
strings-reps-dev-done), libsvn_fs/strings-table.h (tags:
strings-reps-dev-done), libsvn_fs/this-branch.txt,
libsvn_fs/tree.c, tests/libsvn_fs/strings-reps-test.c
(strings-reps-dev.[7,2,1,1,6,5,2,2,5,2,1]), include/svn_fs.h
(1.85):
Mike Pilato and I are not just on the same page, we are on the same
medulla oblongata:
* include/svn_fs.h (svn_fs_file_contents): Doc fix.
* libsvn_fs/tree.c (txn_body_get_mutable_source_stream): Doc fix.
(svn_fs_apply_textdelta): Add a note for the future.
* libsvn_fs/reps-strings.h, libsvn_fs/reps-strings.c: New files.
svn_fs__string_key_from_rep, svn_fs__string_from_rep,
svn_fs__get_mutable_rep, svn_fs__rep_is_mutable,
rep_set_mutable_flag, rep_is_fulltext): Moved here from reps-table.h
and reps-table.c.
(svn_fs__rep_read_range): New func.
* libsvn_fs/dag.h (svn_fs__dag_get_contents): Doc fix.
* libsvn_fs/dag.c: Read file contents streamily, using the new
strings/reps code.
(file_content_baton_t): Store a rep skel and fs, instead of a
node_revision skel.
(svn_fs__dag_get_contents): Set up baton appropriately.
(read_file_contents_args, txn_body_read_file_contents): New struct
and func, respectively.
(read_file_contents): Rewritten to use above.
* strings-table.h, strings-table.c (svn_fs__string_read): Change
placement of buf argument. All callers changed.
* libsvn_fs/this-branch.txt: Note that the following are now done:
svn_fs__dag_delete
svn_fs__dag_delete_tree
svn_fs__dag_delete_if_mutable
delete_entry
* tests/libsvn_fs/strings-reps-test.c: Put this file on the
`strings-reps-dev' branch too.
(txn_body_string_copy, copy_string): Re-enable.
(test_funcs): Run `copy_string' test.
(rep_args): Constify key.
2001-06-26 13:47 Ben Collins-Sussman <sussman@collab.net>
* configure.in (1.93):
* configure.in: get SVN_VERSION defined again, so we can see it in
'svn -v'.
2001-06-26 13:10 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/libsvn_fs/strings-reps-test.c (1.7):
Disable code in mainline branch, as it only compiles in
"strings-reps-dev" branch (which Mike & Karl are working on.)
2001-06-26 12:38 Joe Orton <joe@light.plus.com>
* ac-helpers/berkeley-db.m4 (1.9):
* berkeley-db.m4 (SVN_LIB_BERKELEY_DB): Add locations used by Red
Hat Linux db3 packages to standard places to look. [Raw Hide has
db3-3.2.9 RPMs now]
2001-06-26 09:54 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/: dag.c, reps-table.c, reps-table.h
(strings-reps-dev.[6,5,4]):
* libsvn_fs/dag.c
(get_dir_entries): Added some error-checking.
(set_entry): Make sure to clear the old string before writing a new
one.
(make_entry): Cut-n-paste-o repair.
(delete_entry): Update to use reps and skels.
* reps-table.c
* reps-table.h
(svn_fs_string_key_from_rep): Take POOL argument so we can assure a
null-terminated string return. All callers changed.
2001-06-25 14:48 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: dag.c, reps-table.c, reps-table.h,
this-branch.txt (strings-reps-dev.[5,4,3,4]):
More tandem coding with Mike Pilato:
* dag.c (make_entry): Finished.
(set_entry): Replaces add_new_entry, new calling discipline. All
callers changed.
(replace_dir_entry): Removed, just use set_entry now.
(add_new_entry_skel): Removed, code folded into set_entry, see
below.
(svn_fs__dag_file_length): Get the string key from the right skel.
(svn_fs__dag_make_copy): Abort immediately, so no one is tempted to
use this perpetually in-progress function.
* reps-table.h, reps-table.c (svn_fs__string_key_from_rep): Simplify
calling discipline. All callers changed.
* this-branch.txt: Note that the following are done:
svn_fs__dag_set_entry
svn_fs__dag_clone_child
svn_fs__dag_make_file
svn_fs__dag_make_dir
svn_fs__dag_link
2001-06-25 11:26 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/reps-table.c (strings-reps-dev.3):
Tandem coding with Mike Pilato:
* reps-table.c (svn_fs__string_key_from_rep,
svn_fs__string_from_rep, svn_fs__rep_is_mutable): Removed redundant
doc strings.
2001-06-25 11:20 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: reps-table.c, reps-table.h
(strings-reps-dev.[2,2]):
Tandem coding with Mike Pilato:
* reps-table.h, reps-table.c (svn_fs__get_mutable_rep): Finish.
(svn_fs__write_new_rep): Add `const' to arg.
2001-06-25 10:48 Karl Fogel <kfogel@collab.net>
* Makefile.in (1.15):
(changelog): show branches and tags.
2001-06-25 10:45 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/dag.c, libsvn_fs/reps-table.c,
libsvn_fs/reps-table.h, libsvn_fs/strings-table.c,
libsvn_fs/strings-table.h (strings-reps-dev.[4,1,1,1,1]),
tests/libsvn_fs/strings-reps-test.c (1.6):
* subversion/libsvn_fs/dag.c
(rep_has_mutable_flag, rep_set_mutable_flag, string_from_rep,
string_key_from_rep): Moved to reps-table.c.
(txn_body_dag_init_fs): Write a valid skel for the root node,
thanks.
(make_entry): Build a valid skel for the new node.
(svn_fs__dag_file_length): svn_fs__string_key_from_rep only needs a
const char *, so why use an svn_string_t?
* subversion/libsvn_fs/reps-table.c
(rep_is_fulltext): New helper function.
(svn_fs__string_key_from_rep): Was dag.c:string_key_from_rep().
(svn_fs__string_from_rep): Was dag.c:string_from_rep().
(svn_fs__rep_is_mutable): Was dag.c:rep_is_mutable().
(rep_set_mutable_flag): Moved from dag.c
(svn_fs__get_mutable_rep): New function.
* subversion/libsvn_fs/reps-table.h
(svn_fs__string_key_from_rep): Was dag.c:string_key_from_rep().
(svn_fs__string_from_rep): Was dag.c:string_from_rep().
(svn_fs__rep_is_mutable): Was dag.c:rep_is_mutable().
(svn_fs__get_mutable_rep): New function.
* subversion/libsvn_fs/strings-table.c
(svn_fs__string_copy): New function
* subversion/libsvn_fs/strings-table.h
(svn_fs__string_copy): New function
* subversion/tests/libsvn_fs/strings-reps-test.c
(txn_body_string_copy, copy_string): New funcs.
(test_funcs): Include new copy_string() test.
2001-06-22 15:20 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/: dag.c, dag.h, structure, this-branch.txt,
tree.c (strings-reps-dev.[3,1,1,3,1]):
Mike and Karl, still pluggin' away at FS changes.
* libsvn_fs/dag.h
(svn_fs__dag_file_length): Length argument is now an apr_size_t.
* libsvn_fs/dag.c
(string_key_from_rep): New helper function.
(string_from_rep): Use string_key_from_rep.
(svn_fs__dag_file_length): Use new strings/reps stuff. Also, length
argument is now an apr_size_t.
(svn_fs__dag_commit_txn): Remove to-done "todo".
* libsvn_fs/tree.c
(file_length_args): Changed type for 'length'.
* libsvn_fs/structure
"Correct brain-o" --kfogel
2001-06-22 14:11 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/dag.c, libsvn_fs/err.c (tags:
strings-reps-dev-done), libsvn_fs/node-rev.c, libsvn_fs/node-rev.h,
libsvn_fs/nodes-table.c (tags: strings-reps-dev-done),
libsvn_fs/nodes-table.h (tags: strings-reps-dev-done),
libsvn_fs/this-branch.txt, libsvn_fs/txn.c (tags:
strings-reps-dev-done) (strings-reps-dev.[2,1,1,1,1,1,2,1]),
tests/libsvn_fs/fs-test.c (1.83):
* libsvn_fs/nodes-rev.h
* libsvn_fs/nodes-rev.c
Removed (contents now in nodes-table.h and .c).
* libsvn_fs/nodes-table.h
(svn_fs__get_rep, svn_fs__put_rep): Removed obsolete functions.
(svn_fs__get_node_revision, svn_fs__put_node_revision,
svn_fs__create_node, svn_fs__create_successor,
svn_fs__stable_node, svn_fs__delete_node_revision): Moved from
node-rev.h.
* libsvn_fs/err.c
* libsvn_fs/err.h
(svn_fs__err_corrupt_representation): Removed function.
* libsvn_fs/nodes-table.c
Dump a bunch of junk formerly found in node-rev.c
(is_valid_header, is_valid_node_revision): Updated to handle New and
Improved (tm) node revision skels.
(is_valid_representation): Removed function.
(svn_fs__get_node_revision): New home for former contents of
now-absent function svn_fs__get_rep().
(svn_fs__put_node_revision): Now write the node-revision skel to the
database (reps live elsewhere). Replaces svn_fs__put_rep().
(svn_fs__create_node, svn_fs__create_successor, svn_fs__stable_node,
svn_fs__delete_node_revision): Moved from node-rev.c but NOT
edited.
* libsvn_fs/dag.c
No longer #include node-rev.h (cuz it's GONE!).
Some formatting fixes throughout (Gnu-style, if you will).
(get_node_revision, set_node_revision, svn_fs__dag_get_node,
svn_fs__dag_dir_entries_hash): Remove ### tweakit comment.
(dir_entry_from_node): Now use svn_fs__dag_dir_entries_skel.
(svn_fs__dag_get_proplist): Implement using reps/strings.
(get_dir_entries): Moved some sanity checking into here from
svn_fs__dag_dir_entries_skel.
(svn_fs__dag_dir_entries_skel, dir_entry_from_node): Compactified.
* tests/libsvn_fs/fs-test.c
(txn_body_check_id): Use svn_fs__get_node_revision instead of
now-defunct svn_fs__get_rep.
* libsvn_fs/txn.c
No longer #include node-rev.h (cuz it's GONE!).
* libsvn_fs/this-branch.txt
Status updated.
2001-06-22 12:42 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/this-branch.txt (strings-reps-dev.1):
Scratch pad Mike and I can use to help us keep track of what remains
to be done for this change.
2001-06-22 12:42 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/this-branch.txt (1.1):
file this-branch.txt was initially added on branch strings-reps-dev.
2001-06-22 10:31 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_fs/strings-reps-test.c (1.5):
* tests/libsvn_fs/strings-reps-test.c
(abort_string): New test for Mike's peace of mind. Abort a trail
after writing a new string to the strings table, and make sure the
write did NOT take.
(test_funcs): Add abort_string().
2001-06-21 15:07 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/dag.c (strings-reps-dev.1):
Start on code to use the `strings' and `reps' tables, with Mike
Pilato. This is happening on branch "strings-reps-dev" until it's
ready to be merged into the main line.
* dag.c: #include reps-table.h, strings-table.h.
(node_rev_has_mutable_flag, node_rev_set_mutable_flag): New names
for `has_mutable_flag' and `set_mutable_flag' respectively, since
these only handle node revisions.
(rep_has_mutable_flag, rep_set_mutable_flag): New funcs.
(string_from_rep, get_dir_entries, find_dir_entry): New func.
(dir_entry_from_node): Replace `find_dir_entry_skel', wrapping above
new funcs. All callers changed.
(svn_fs__dag_open): Removed redundant doc string in source file, fix
indentation.
(make_entry): Use svn_error_create instead of svn_error_createf.
2001-06-21 12:28 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/structure (1.42, premerge_strings-reps-dev):
Explain mutability flags for representations; plus a few
corrections.
2001-06-20 10:38 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/strings-table.c (1.9,
premerge_strings-reps-dev), libsvn_fs/strings-table.h (1.9,
premerge_strings-reps-dev), tests/libsvn_fs/strings-reps-test.c
(1.4):
* subversion/libsvn_fs/strings-table.h
(svn_fs__string_delete): Renamed from svn_fs__delete_string for
consistency.
* subversion/libsvn_fs/strings-table.c
(svn_fs__string_read): Provide ugly workaround for a bug in Berkeley
3.2.9 (and yes, a patch is being submitted to Sleepycat).
(svn_fs__string_size): Expect ENOMEM from request for string size as
documented in Berkeley C API.
(svn_fs__string_append): Only check size of strings presumed to
exist.
(svn_fs__string_delete): Renamed from svn_fs__delete_string for
consistency.
* subversion/tests/libsvn_fs/strings-reps-test.c
(txn_body_write_new_rep, txn_body_write_rep, txn_body_read_rep,
txn_body_delete_rep): Dinky little pointless edit, really.
(struct string_args, verify_expected_record, txn_body_verify_string,
txn_body_string_append, txn_body_string_clear,
txn_body_string_delete, txn_body_string_size): New helper
structure and functions for string tests.
(bigstring1, bigstring2, bigstring3): Data for strings tests.
(test_strings): New Strings Table test.
(test_funcs): Added test_strings() test.
2001-06-20 10:28 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/svntest/__init__.py (1.2):
Not including "entry.py" in this package yet.
2001-06-19 11:58 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: example_tests1.py (1.4),
local_tests.py (1.15):
* example_tests1.py: obsolete, nuke.
* local_tests.py: trying a suggeston from comp.python.lang, which
might make python 1.X compilers not choke hideously on our
scripts.
2001-06-19 11:50 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/README (1.6):
Keep README up-to-date with new package reorganization.
2001-06-19 11:42 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svntest/.cvsignore (1.1):
Ignore .pyc files in the package
2001-06-19 11:40 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: local_tests.py (1.14),
svn_entry.py (1.5), svn_test_main.py (1.12), svn_tree.py (1.5),
svntest/__init__.py (1.1), svntest/entry.py (1.1), svntest/main.py
(1.1), svntest/tree.py (1.1):
Organize our python framework into a single package 'svntest',
contained in its own subdirectory. Mmmm, convenience, yessssss...
Renamed some routines as well, and changed all callers.
* svntest/__init__py: define 'svntest' package.
* svntest/main.py: renamed from svn_test_main.py
(run_one_test): renamed from run_test()
(run_tests): renamed from client_tests()
* svntest/tree.py: renamed from svn_tree.py
(get_props): invoke main.run_svn(), using new module name.
* svntest/entry.py: renamed from svn_entry.py (unused module right
now)
* local_tests.py: import the 'svntest' package, change all calls
into this new namespace.
2001-06-18 18:13 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/dag.c (1.98, premerge_strings-reps-dev):
Start noting what will need to change to switch us to the new node
contents representation scheme; search for "### tweakit".
Reviewed to line 855, the beginning of the "Proplists" section.
More to come.
Development context: Mike Pilato is finishing up the implementations
and tests for the strings table; when that's done, we're ready to
start the switchover.
2001-06-18 16:00 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/strings-table.c (1.8):
(svn_fs__string_append): Fix comments, compactify error handling.
2001-06-18 15:52 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/: reps-table.c (1.3,
premerge_strings-reps-dev), strings-table.c (1.7), strings-table.h
(1.8):
* subversion/libsvn_fs/reps-table.c
Removed printf's. Karl's debugger works now! :-)
* subversion/libsvn_fs/strings-table.c
(svn_fs__open_strings_table): Make sure to initialize the 'next-key'
table entry.
(svn_fs__string_read, svn_fs__string_append, svn_fs__string_clear):
Re-implement based on new interface.
* subversion/libsvn_fs/strings-table.h
(svn_fs__string_append): Updated docstring to explain that new keys
are allocated in trail.
2001-06-18 14:24 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: strings-table.c (1.6), strings-table.h
(1.7):
Reorganize strings interface to give caller control over trail
scope, and simplify while we're at it:
(svn_fs__read_string_stream, svn_fs__write_string_stream,
svn_fs__new_string_stream, svn_fs__append_string_stream): Removed.
(svn_fs__string_clear, svn_fs__string_append, svn_fs__string_size,
svn_fs__string_read): New functions. No implementations yet, just
an interface that compiles and does nothing.
(svn_fs__delete_string): Doc fix.
2001-06-18 10:36 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/structure (1.41):
Make text fit context better.
2001-06-18 10:35 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/structure (1.40):
Solution to the problem of storing in each node revision the
revision number when it was created. Comments welcome.
2001-06-17 22:25 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/local_tests.py (1.13):
* local_tests.py: rename some tests for clarity and consistency.
(basic_commit): used to be "commit_from_wc_top"
(basic_update): used to be "update_from_wc_top"
(basic_merge): used to be "merge_from_wc_top"
(basic_conflict): used to be "conflict_from_wc_top"
2001-06-17 22:05 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/local_tests.py (1.12):
Make sure this script returns an errorvalue to the operating system,
so that `make check` works properly.
2001-06-17 19:51 Ben Collins-Sussman <sussman@collab.net>
* build.conf (1.18):
Reexamine all our old tests. It seems like a whole bunch ought to
be removed, or fixed, or rewritten.
* build.conf
([test-scripts]): better document all scripts being run by `make
check`. Also, no need to run redundant checkout-test if we're
running all the other XML tests.
(Build Targets): better documentation
(Test Targets): better documentation, categorize for later cleanup.
2001-06-17 15:34 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svn_test_main.py (1.11):
* svn_test_main.py: remove sanity check, it doesn't work. is there
any way for a python module to "require" a certain version of
python and error out gracefully?
(client_test): add resilience to bogus arguments. script arg is
either an integer or "list"; anything else (or no args) just runs
all the tests.
2001-06-16 15:12 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/structure (1.39):
Food for thought.
2001-06-16 14:47 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_fs.h (1.84), libsvn_fs/fs.c (1.47),
libsvn_fs/fs.h (1.23, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done):
Wrap an outer directory around the Berkeley DB portion of a
repository, so we have an area inside the repository, yet outside
the Berkeley namespace, to use for our own purposes.
* fs.c (dir_empty): New helper func.
(svn_fs_create_berkeley): Create tiered repository.
(svn_fs_open_berkeley, svn_fs_berkeley_recover): Handle tiered
repository.
(svn_fs_delete_berkeley): Handle tiered repository, and use Ben's
apr_dir_remove_recursively() to remove the directory; no point
having two implementations of directory removal.
(check_apr): Removed, as it is now unused.
* fs.h (SVN_FS__REPOS_README, SVN_FS__REPOS_DB_DIR): New #defines.
(svn_fs_t): Update documentation of `env_path' member.
* svn_fs.h (svn_fs_create_berkeley): Document new error convention,
and change parameter name to `path' instead of `env'. Interestingly
enough, it was already called `path' in the function definition.
(svn_fs_open_berkeley): Change parameter name to `path' instead of
`env', adjust doc string accordingly. Suspiciously enough, it was
already called `path' in the function definition.
(svn_fs_berkeley_recover): Adjust doc string to refer to `path'
instead of `env'. Provocatively enough, it was already called
`path' in both the prototype and the definition.
2001-06-15 12:07 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/README (1.5):
Little tweaks.
2001-06-15 12:00 Karl Fogel <kfogel@collab.net>
* INSTALL (1.2):
Point to developer installation instructions.
2001-06-15 11:59 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/README (1.7):
Heavily update this file. It had fallen way behind in documenting
the current state of our testing systems.
2001-06-15 11:23 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error.h (1.108),
include/svn_error_codes.h (1.2), libsvn_subr/svn_error.c (1.71):
Finish conversion to Greg Stein's new error system:
* svn_error.h: Get rid of old system, add comments for new one.
(svn_strerror): Document new behavior.
* svn_error.c: Got rid of top-level conditionals.
(svn_handle_error): Use the new system.
(svn_strerror): Removed old implementation of this function.
(set_error_hash, initialize_svn_error_descriptions): Removed.
* svn_error_codes.h: Added explanatory comment. Reformatted error
list and removed redundant comments.
2001-06-15 00:07 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_fs/strings-reps-test.c (1.3):
So that the record may forever be kept in version control history,
the following tests (and the fact that they all passed as soon as
they were written) are a testament to the fact that Karl Fogel wrote
the entirety of the reps-table code seemingly without err. Way to
go, Karl!
* tests/libsvn_fs/strings-reps-test.c
(rep_args): Renamed from write_new_rep_args.
(txn_body_write_rep, txn_body_read_rep, txn_body_delete_rep): New
helper-ish functions for representation table tests.
(write_rep, read_rep, delete_rep): New representation table tests.
(test_funcs): Now include write_rep, read_rep, and delete_rep.
2001-06-14 18:16 Karl Fogel <kfogel@collab.net>
* subversion/svnadmin/main.c (1.14):
Revert previous accidental commit of in-progress work.
2001-06-14 17:34 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_ops.c (1.73):
(svn_wc_remove_from_revision_control): if this routine runs with
the `destroy' flag, it not only preserves local mods, but now
unversioned objects too.
No, no tests yet; they'll be coming soon. But Karl and I *did*
find an APR bug in apr_read_dir(). Will commit that fix tomorrow
morning. .
2001-06-14 15:24 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/strings-table.h (1.6):
Fix obsolete comment.
2001-06-14 12:41 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_fs/: .cvsignore (1.8),
strings-reps-test.c (1.2):
* tests/libsvn_fs/strings-reps-test.c
(write_new_rep): Don't use illegal characters in your skels, please.
Double-quotes are disallowed per the table in skel.c.
* tests/libsvn_fs/.cvsignore
(strings-reps-test): Ignore me.
2001-06-14 12:20 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_fs/strings-reps-test.c (1.1):
Mike Pilato here, using Karl's computer.
* tests/libsvn_fs/strings-reps-test.c
New test file.
2001-06-14 12:07 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.118):
* libsvn_wc/adm_crawler.c
(crawl_dir): Oops! Forgot to set the adds_only variable when I
supposed to do so.
2001-06-14 11:28 Karl Fogel <kfogel@collab.net>
* subversion/svnadmin/main.c (1.13):
[no log message]
2001-06-14 11:28 Karl Fogel <kfogel@collab.net>
* build.conf (1.17), subversion/libsvn_fs/key-gen.c (1.2,
premerge_strings-reps-dev), subversion/libsvn_fs/key-gen.h (1.2,
postmerge_strings-reps-dev, premerge_strings-reps-dev,
strings-reps-dev-done), subversion/libsvn_fs/reps-table.c (1.2),
subversion/libsvn_fs/reps-table.h (1.3, premerge_strings-reps-dev),
subversion/libsvn_fs/strings-table.h (1.5),
subversion/tests/libsvn_fs/run-fs-tests.sh (1.7):
* subversion/libsvn_fs/reps-table.h (svn_fs__write_rep,
svn_fs__write_new_rep): Prototype fixes.
* subversion/libsvn_fs/reps-table.c (svn_fs__write_new_rep):
Implement.
(svn_fs__open_reps_table): Initialize the "next-key" entry.
* subversion/libsvn_fs/strings-table.h (svn_fs__new_string_stream):
New func.
* subversion/libsvn_fs/strings-table.c (svn_fs__new_string_stream):
Implement.
* subversion/libsvn_fs/key-gen.h (svn_fs__next_key_key): Replaces
`next_key_key', doc fix. All references changed.
New tests for strings and representations interfaces:
* subversion/tests/libsvn_fs/strings-reps-test.c: New file.
* build.conf (strings-reps-test): New target.
2001-06-14 11:01 C. Michael Pilato <cmpilato@collab.net>
* subversion/: clients/cmdline/commit-cmd.c (1.4),
clients/cmdline/update-cmd.c (1.3), include/svn_wc.h (1.101),
libsvn_client/commit.c (1.51), libsvn_wc/adm_crawler.c (1.117),
libsvn_wc/get_editor.c (1.188):
Fixes for the commit process, allowing commits of a single directory
to actually commit that directory (not just the things in it).
* include/svn_wc.h
(svn_wc_get_actual_target): renamed from
svn_wc_get_actual_update_target.
* libsvn_wc/adm_crawler.c
(struct target_baton): No longer need prop_modified_p.
(struct stack_object): Added a pool to this structure (so we
don't have to pass this through all the recursion layers).
(push_stack, pop_stack): Use new pool.
(do_dir_replaces): No longer need temporarily pool.
(do_dir_closures, do_apply_textdelta, do_prop_deltas): Code
formatting/cleanup.
(report_single_mod): New function, code broken out from old
report_local_mods.
(crawl_dir): Was report_local_mods.
(svn_wc_crawl_local_mods): Modified to allow for commits of single
directories.
* libsvn_client/commit.c
(svn_client_commit): Use svn_wc_get_actual_target to get a valid
base_dir and target when committing a single target.
* clients/cmdline/commit-cmd.c
(svn_cl__commit): Use svn_wc_get_actual_target to calculate the
base_dir the same way that svn_client_commit does.
* clients/cmdline/update-cmd.c
(svn_cl__update): svn_wc_get_actual_target renamed from
svn_wc_get_actual_update_target.
* libsvn_wc/get_editor.c
(svn_wc_get_actual_target): renamed from
svn_wc_get_actual_update_target.
(make_editor): svn_wc_get_actual_target renamed from
svn_wc_get_actual_update_target.
2001-06-14 10:51 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/local_tests.py (1.11):
* tests/clients/cmdline/local_tests.py
(run_and_verify_commit): Don't try to pop from an empty array!
2001-06-14 04:48 Greg Stein <gstein@lyra.org>
* subversion/: include/svn_error.h (1.107),
include/svn_error_codes.h (1.1), libsvn_subr/svn_error.c (1.70):
Check in a new error string system, per discussion on list.
NOTE: this is /not/ enabled yet (no obvious conclusions on the list
yet). tweak svn_error.h to define TEST_ALTERNATE_ERROR_SYSTEM to
try it out
* include/svn_error.h: include svn_error_codes.h to pick up the
enumerated constants. use a different signature for svn_strerror()
* include/svn_error_codes.h: new file. this file defines all of the
custom error codes (when normally included). svn_error.c includes it
with a magic incantation to construct a lookup table instead.
* libsvn_subr/svn_error.c: redefine svn_strerror() with the new
signature, and using the error_table[] array built by
svn_error_codes.h. if the error isn't found, fall back to
apr_strerror() (which will fill in a default if it doesn't know the
error).
2001-06-13 08:04 C. Michael Pilato <cmpilato@collab.net>
* subversion/clients/cmdline/feedback.c (1.2):
* clients/cmdline/feedback.c
Squashed some compiler warnings.
2001-06-13 04:10 Greg Stein <gstein@lyra.org>
* subversion/: clients/cmdline/commit-cmd.c (1.3),
clients/cmdline/diff.c (1.3), clients/cmdline/import-cmd.c (1.3),
clients/cmdline/main.c (1.4), clients/cmdline/props.c (1.3),
clients/cmdline/status.c (1.3), clients/cmdline/trace-commit.c
(1.4), clients/cmdline/trace-update.c (1.4), clients/cmdline/util.c
(1.4), include/svn_string.h (1.50), libsvn_client/add.c (1.17),
libsvn_client/apply_edits.c (1.17), libsvn_client/commit.c (1.50),
libsvn_client/status.c (1.14), libsvn_client/update.c (1.20),
libsvn_delta/svndiff.c (1.25), libsvn_delta/text_delta.c (1.35),
libsvn_delta/track_editor.c (1.6), libsvn_delta/xml_output.c
(1.40), libsvn_delta/xml_parse.c (1.157), libsvn_fs/dag.c (1.97),
libsvn_fs/id.c (1.26, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done),
libsvn_fs/proplist.c (1.11, premerge_strings-reps-dev),
libsvn_fs/skel.c (1.32, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done), libsvn_fs/tree.c
(1.77, premerge_strings-reps-dev), libsvn_ra/ra_loader.c (1.8),
libsvn_ra_dav/commit.c (1.56), libsvn_ra_dav/fetch.c (1.59),
libsvn_ra_dav/merge.c (1.12), libsvn_ra_dav/options.c (1.8),
libsvn_ra_dav/ra_dav.h (1.27), libsvn_ra_dav/util.c (1.4),
libsvn_ra_local/checkout.c (1.12), libsvn_ra_local/split_url.c
(1.12), libsvn_repos/commit_editor.c (1.10), libsvn_repos/delta.c
(1.50), libsvn_repos/reporter.c (1.12), libsvn_subr/base64.c
(1.20), libsvn_subr/io.c (1.40), libsvn_subr/path.c (1.39),
libsvn_subr/quoprint.c (1.7), libsvn_subr/svn_string.c (1.15),
libsvn_subr/target.c (1.11), libsvn_subr/xml.c (1.40),
libsvn_wc/adm_crawler.c (1.116), libsvn_wc/adm_files.c (1.81),
libsvn_wc/adm_ops.c (1.72), libsvn_wc/entries.c (1.109),
libsvn_wc/get_editor.c (1.187), libsvn_wc/local_changes.c (1.29),
libsvn_wc/log.c (1.100), libsvn_wc/props.c (1.33),
libsvn_wc/questions.c (1.54), libsvn_wc/status.c (1.35),
libsvn_wc/util.c (1.19), mod_dav_svn/activity.c (1.8),
mod_dav_svn/liveprops.c (1.22), mod_dav_svn/merge.c (1.14),
mod_dav_svn/repos.c (1.53), mod_dav_svn/update.c (1.6),
tests/fs-helpers.c (1.5), tests/svn_test_editor.c (1.26),
tests/libsvn_delta/deltaparse-test.c (1.72),
tests/libsvn_delta/xml-output-test.c (1.17),
tests/libsvn_fs/fs-test.c (1.82), tests/libsvn_fs/skel-test.c
(1.23), tests/libsvn_ra_local/ra-local-test.c (1.11),
tests/libsvn_repos/dir-delta-editor.c (1.5),
tests/libsvn_repos/repos-test.c (1.4),
tests/libsvn_subr/hashdump-test.c (1.22),
tests/libsvn_subr/path-test.c (1.4), tests/libsvn_subr/stringtest.c
(1.10), tests/libsvn_subr/target-test.c (1.11),
tests/libsvn_wc/checkout-test.c (1.45),
tests/libsvn_wc/commit-test.c (1.33):
And the mother is back...
Change svn_string_FUNC to svn_stringbuf_FUNC.
2001-06-12 22:26 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_subr/svn_error.c (1.69):
* libsvn_subr/svn_error.c
(initialize_svn_error_descriptions): Squash some compile warnings.
2001-06-12 16:43 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_subr/svn_error.c (1.68):
* svn_error.c (initialize_svn_error_descriptions): duh, we have to
*copy* the key before setting it in the hash.
(set_error_hash): new helper routine for this purpose.
2001-06-12 15:48 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_error.h (1.106), libsvn_subr/svn_error.c
(1.67):
* svn_error.c (initialize_svn_error_descriptions): new func - build
a hash table that maps svn errorcodes to english descriptions.
(svn_strerror): take a pool instead of stringbuf. pass
this pool to initialize_svn_error_descriptions() the first time
this routine is called, and then cache the hash in a static
variable thereafter. use the hash for lookups.
(svn_error_strings[]): removed, now part of hash initialization.
* svn_error.h (svn_strerror): update declaration.
2001-06-12 12:41 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_delta.h (1.152), include/svn_ra.h
(1.60), include/svn_repos.h (1.13), libsvn_client/commit.c (1.49),
libsvn_delta/compose_editors.c (1.18),
libsvn_delta/default_editor.c (1.9), libsvn_ra_dav/commit.c (1.55),
libsvn_ra_dav/session.c (1.25), libsvn_ra_local/ra_plugin.c (1.36),
libsvn_repos/commit_editor.c (1.9):
Really, truly fixing bug #388, the Right Way:
* svn_delta.h, default_editor.c (abort_edit): new editor function!
Allows the editor-driver to inform the editor of a bailout, so
that the editor can do cleanup if it needs to. All editors now
have a 'dummy' version of this routine which does nothing.
* libsvn_client/commit.c (send_to_repos): if import() or
svn_wc_crawl_local_mods() returns an error, call
editor->abort_edit().
* compose_editors.c (abort_edit): write a composed version of this
new routine.
(svn_delta_compose_editors): add pointer to composed abort_edit.
* svn_repos.h (svn_repos_get_commit_txn): removed. this was a Bad
Idea.
* commit_editor.c (svn_repos_get_commit_txn): removed.
(abort_edit): this is the only non-dummy version of this editor
routine. It actually calls svn_fs_abort_txn().
(svn_repos_get_editor): add abort_edit to editor.
* svn_ra.h (abort_commit): remove this RA interface, no longer
needed.
* libsvn_ra_local/ra_plugin.c (abort_commit): removed.
(ra_local_plugin): remove abort_commit.
* libsvn_ra_dav/session.c (dav_plugin): remove
svn_ra_dav__abort_commit
* libsvn_ra_dav/commit.c (svn_ra_dav__abort_commit): removed.
2001-06-12 12:35 Karl Fogel <kfogel@collab.net>
* doc/user/manual/: adds.texi (1.5), removals.texi (1.7):
Reviewing at Ben's request:
(Committing additions): More precise behavior description.
(Additions from updates): Clarification.
(Removing items): More precise behavior descriptions, some wording
tweaks.
(Committing removals): Typos (fixed, not added, that is).
(Removals in updates): More precise behavior description.
2001-06-12 10:55 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_string.h (1.49):
Fix typo.
2001-06-11 20:43 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_ra.h (1.59), include/svn_repos.h (1.12),
libsvn_client/commit.c (1.48), libsvn_ra_dav/commit.c (1.54),
libsvn_ra_dav/ra_dav.h (1.26), libsvn_ra_dav/session.c (1.24),
libsvn_ra_local/ra_plugin.c (1.35), libsvn_repos/commit_editor.c
(1.8):
Bugfix for #388: If the client wants to bail during a commit, tell
the RA layer about it (...so it can call svn_fs_abort_txn().)
* svn_ra.h (svn_ra_plugin_t->abort_commit): new RA vtable func.
* svn_repos.h, commit_editor.c (svn_repos_get_commit_txn): new func
to return the the fs_txn within the edit_baton. libsvn_ra_local
needs this to abort the txn.
(svn_repos_get_editor): set eb->txn to NULL for paranoia's sake.
* libsvn_ra_local/ra_plugin.c (abort_commit): implement new RA
func.
(ra_local_plugin): add abort_commit to static vtable.
* libsvn_ra_dav/commit.c ra_dav.h (svn_ra_dav__abort_commit): dummy
version of new RA func.
* libsvn_ra_dav/session.c (dav_plugin): add
svn_ra_dav___abort_commit to static vtable.
* libsvn_client/commit.c (send_to_repos): call ra->abort_commit if
the editor-driver chokes during either a commit or an import.
That's the whole point of all this.
2001-06-11 19:24 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_error.h (1.105), libsvn_subr/svn_error.c
(1.66):
Fix bug #392: print human-readable descriptions of svn error-codes.
(Finally!)
* svn_error.h (svn_strerror): declare.
* svn_error.c (svn_error_strings): monstrous table of strings that
describe svn-specific errorcodes.
(svn_strerror): new func to lookup SVN error descriptions.
(svn_handle_error): call *both* svn_strerror() and apr_strerror().
2001-06-11 15:53 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/get_editor.c (1.186):
(add_or_replace_file): rewrite the sanity checks. It's okay to add
a file already in `entries', but it's *not* okay to add a file if an
dirent of the same name already exists on disk.
2001-06-11 12:35 Ben Collins-Sussman <sussman@collab.net>
* subversion/: clients/cmdline/cl.h (1.3),
clients/cmdline/feedback.c (1.1), clients/cmdline/main.c (1.3),
include/svn_pools.h (1.3), libsvn_subr/svn_error.c (1.65),
libsvn_wc/adm_crawler.c (1.115):
Make the update-reporter use the feedback vtable to report
unversioned items. (i.e. no more printf() inside libsvn_wc. :) )
Again, the joint work of Mssrs. Pilato and Collins-Sussman.
* svn_pools.h (svn_pool_feedback_t): add apr_status_t to
report_warning().
* svn_error.c (report_warning): adjust dummy func.
* cl.h, feedback.c (svn_cl__init_feedback_vtable): new func called
by main().
* main.c (main): call svn_cl__init_feedback_vtable.
* adm_crawler.c (svn_wc_crawl_revisions): get feedback table, pass
it down.
(report_revisions): now accepts feedback table as arg, uses it to
report unversioned items.
2001-06-11 11:10 C. Michael Pilato <cmpilato@collab.net>
* build.conf (1.16), subversion/include/svn_pools.h (1.2),
subversion/libsvn_subr/svn_error.c (1.64),
subversion/tests/libsvn_subr/stream-test.c (1.2):
Un-do the feedback stream stuff, Do-do the feedback vtable stuff. A
"Collab"-orative effort by Ben Collins-Sussman and C-Mike Pilato.
* subversion/include/svn_pools.h
(svn_pool_feedback_t): New vtable for returning feedback to client.
(svn_pool_get_feedback_vtable): New function prototype.
(svn_pool_get_feedback_stream): Removed obsolete function prototype.
* subversion/libsvn_subr/svn_error.c
(SVN_ERROR_FEEDBACK_VTABLE): New hash key for global feedback
vtable.
(SVN_ERROR_STREAM): Removed unused hash key.
(svn_pool_get_feedback_vtable): New function.
(svn_pool_get_feedback_stream): Removed obsolete function.
(svn_error_init_pool, svn_pool_create, svn_pool_clear): No longer
care about feedback streams. We're doing vtable stuff now!
(report_unversioned_item, report_warning, report_progress): Dummy
functions for default svn_pool_feedback_t allocations.
* subversion/tests/libsvn_subr/stream-test.c
Obsolete file removed.
* build.conf
(stream_test): ...is no more.
2001-06-11 11:10 Daniel Stenberg <daniel@haxx.se>
* TASKS (1.20):
Testing CVS commit access for Daniel Steinberg. -dlr@collab.net
2001-06-11 10:41 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha_short (1.8):
Another filesytem requirement for M3.
2001-06-11 09:48 Ben Collins-Sussman <sussman@collab.net>
* www/project_status.html (1.24):
Tweak fuzzy status bars.
2001-06-11 09:45 Ben Collins-Sussman <sussman@collab.net>
* www/project_status.html (1.23):
Updating status page.
2001-06-11 09:02 Ben Collins-Sussman <sussman@collab.net>
* PORTING (1.6):
Add freebsd 4.3.
2001-06-11 05:49 Greg Stein <gstein@lyra.org>
* subversion/libsvn_fs/: node-rev.c (1.11), proplist.c (1.10),
skel.c (1.31), skel.h (1.22, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done):
Change the "data" member in the skel_t to a "const char *". Change
parameter type of svn_fs__mem_atom to include a const.
* node-rev.c (svn_fs__put_node_revision): remove an unneeded cast
* proplist.c (svn_fs__set_prop): remove unneeded casts
* skel.c (parse, list, implicit_atom, explicit_atom): add a "const"
to the data parameter. add const to some local variables.
(explicit_atom, svn_fs__str_atom): remove unneeded casts
(svn_fs__mem_atom): add "const" to the "addr" parameter
* skel.h (struct skel_t): add "const" to the "data" member
(svn_fs__mem_atom): add "const" to the "addr" parameter
2001-06-10 22:37 Greg Stein <gstein@lyra.org>
* subversion/libsvn_fs/proplist.c (1.9):
(svn_fs__make_prop_hash): The data member in a skel_t refers
directly to the content in a skel string from the DB. The values are
not null-terminated. We put the values into an apr_hash_t with the
correct length (thus, they are hashed properly). However, we
specified these as char* (with the commensurate expectation of them
being null-terminated); an apr_hash_this() to extract the string
could give you something that isn't null-terminated.
Null-terminate the key by copying it.
(conceivably, an alternative is to clarify the spec that the
proplist hash has non-terminated byte sequences, and avoid the
copy)
2001-06-10 22:30 Greg Stein <gstein@lyra.org>
* subversion/tests/libsvn_fs/fs-test.c (1.81):
(node_props): the property values were placed into the wrong string
structure (and broke test 14).
2001-06-10 21:50 Greg Stein <gstein@lyra.org>
* subversion/: include/svn_fs.h (1.83), libsvn_fs/proplist.c (1.8),
libsvn_fs/proplist.h (1.6, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done),
libsvn_fs/rev-table.c (1.15, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done), libsvn_fs/skel.c
(1.30), libsvn_fs/skel.h (1.21), libsvn_fs/tree.c (1.76),
libsvn_fs/txn-table.c (1.27, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done),
libsvn_repos/commit_editor.c (1.7), mod_dav_svn/deadprops.c (1.13),
tests/libsvn_fs/fs-test.c (1.80),
tests/libsvn_repos/dir-delta-editor.c (1.4):
Change some FS interfaces over to use the new svn_string_t rather
than svn_stringbuf_t.
* include/svn_fs.h (svn_fs_txn_prop, svn_fs_change_txn_prop,
svn_fs_node_prop, svn_fs_change_node_prop, svn_fs_revision_prop,
svn_fs_change_rev_prop): change property name and value (input)
parameters to use "const svn_string_t *".
(note: the outputs are still svn_stringbuf_t)
* libsvn_fs/proplist.[ch] (svn_fs__get_prop, svn_fs__set_prop):
change name value value (input) parameters to use "const
svn_string_t *".
* libsvn_fs/rev-table.c (struct revision_prop_args): change propname
type
(svn_fs_revision_prop): change propname parameter type
(struct change_rev_prop_args): change name, value types
(svn_fs_change_rev_prop): change name, value types
* libsvn_fs/skel.[ch] (svn_fs__atom_matches_string): change str
param type
* libsvn_fs/tree.c (struct node_prop_args): change propname type
(svn_fs_node_prop): change propname param type
(struct change_node_prop_args): change name, value types
(svn_fs_change_node_prop): change name, value types
* libsvn_fs/txn-table.c (struct txn_prop_args): change propname type
(svn_fs_txn_prop): change propname param type
(struct change_txn_prop_args): change name, value types
(svn_fs_change_txn_prop): change name, value types
* libsvn_repos/commit-editor.c (struct edit_baton): change log_msg
member from svn_stringbuf_t* to svn_string_t.
(change_file_prop, change_dir_prop): construct svn_string_t
structures from NAME and VALUE and pass the structures to
svn_fs_change_node_prop.
(close_edit): construct PROPNAME variable as an svn_string_t and
pass it to svn_fs_change_txn_prop(). tweak passing of log_msg.
(svn_repos_get_editor): construct eb->log_msg a bit differently
* mod_dav_svn/deadprops.c (dav_svn_db_fetch, dav_svn_db_store,
dav_svn_db_remove, dav_svn_db_exists): construct and pass
svn_string_t instead of an svn_stringbuf_t structure.
* tests/libsvn_fs/fs-test.c (call_functions_with_unopened_fs,
revision_props, transactions_props, node_props): construct and
pass svn_string_t structures instead of svn_stringbuf_t.
* tests/libsvn_repos/dir-delta-editor.c (test_change_file_prop,
test_change_dir_prop): construct and pass svn_string_t
structures instead of svn_stringbuf_t.
2001-06-10 21:22 Greg Stein <gstein@lyra.org>
* subversion/: clients/cmdline/trace-commit.c (1.3),
mod_dav_svn/merge.c (1.13), mod_dav_svn/mod_dav_svn.c (1.20),
mod_dav_svn/repos.c (1.52), mod_dav_svn/update.c (1.5),
tests/libsvn_subr/target-test.c (1.10),
tests/libsvn_wc/checkout-test.c (1.44):
Add #include "svn_pools.h" to get these files to compile cleanly.
2001-06-10 19:39 Greg Stein <gstein@lyra.org>
* subversion/include/svn_string.h (1.48):
Add new svn_string_t datatype and a bunch of commentary of the two
types.
Some simple white space changes (reindenting).
2001-06-10 18:47 Greg Stein <gstein@lyra.org>
* ac-helpers/svn-apache.m4 (1.13):
Fix cut/paste typo. INSTALL_APACHE_RULE should be
install-mods-shared for the shared case.
2001-06-10 16:17 Branko Cibej <brane@xbc.nu>
* configure.in (1.92):
Always subst SVN_DB_INCLUDES and SVN_DB_LIBS.
2001-06-09 07:36 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_ra.h (1.58), include/svn_repos.h (1.11),
libsvn_ra_dav/fetch.c (1.58), libsvn_ra_local/ra_plugin.c (1.34),
libsvn_repos/reporter.c (1.11), libsvn_wc/adm_crawler.c (1.114):
If update reporter chokes, it should no longer leave an orphaned fs
transaction.
* svn_ra.h (abort_report): new reporter func, allows report-driver
to tell the RA layer to destroy the fs transaction.
* svn_repos.h, reporter.c (svn_repos_abort_report): simple func
calls svn_fs_abort_txn().
* libsvn_ra_local/ra_plugin.c (ra_local_reporter): add pointer to
svn_repos_abort_report().
* libsvn_ra_dav/fetch.c (reporter_abort_report): add dummy func.
gstein, see its comment.
(ra_dav_reporter): add pointer to reporter_abort_report.
* adm_crawler.c (svn_wc_crawl_revisions): if report_revisions()
returns error, call abort_report(). That's the whole point of all
this.
2001-06-08 22:39 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.113):
(report_revisions): make the `?'-printing algorithm less stupid.
:)
2001-06-08 22:04 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_io.h (1.40), libsvn_subr/io.c (1.39),
libsvn_wc/adm_crawler.c (1.112), libsvn_wc/get_editor.c (1.185):
Finish fix for bug #337: Updates now notice missing items and re-add
them, and print '?' next to unversioned items.
Note: the 'auto-replacement' trick only works with ra_local right
now, not yet ra_dav.
* svn_io.h (svn_io_get_dirents): new helper function.
* io.c (svn_io_get_dirents): implement.
* adm_crawler.c (report_revisions): big rewrite -- compare SVN
entries against actual dirents.
* get_editor.c (add_or_replace_file): remove the sanity check in
this function, as it was preventing files from being re-added. see
the comments in the code.
2001-06-08 16:35 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_fs/.cvsignore (1.7):
* tests/libsvn_fs/.cvsignore
Ignore key-test binary.
2001-06-08 16:33 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/entries.c (1.108):
* libsvn_wc/entries.c
(check_entries): New svn_stringbuf_t is what I *really* wanted here!
2001-06-08 16:31 C. Michael Pilato <cmpilato@collab.net>
* build.conf (1.15), subversion/clients/cmdline/main.c (1.2),
subversion/clients/cmdline/trace-update.c (1.3),
subversion/include/svn_error.h (1.104), subversion/include/svn_io.h
(1.39), subversion/include/svn_pools.h (1.1),
subversion/libsvn_client/add.c (1.16),
subversion/libsvn_client/commit.c (1.47),
subversion/libsvn_delta/svndiff.c (1.24),
subversion/libsvn_delta/text_delta.c (1.34),
subversion/libsvn_delta/xml_output.c (1.39),
subversion/libsvn_delta/xml_parse.c (1.156),
subversion/libsvn_fs/dag.c (1.96), subversion/libsvn_fs/fs.c
(1.46), subversion/libsvn_fs/trail.c (1.11,
postmerge_strings-reps-dev, premerge_strings-reps-dev,
strings-reps-dev-done), subversion/libsvn_fs/tree.c (1.75),
subversion/libsvn_fs/txn.c (1.42, premerge_strings-reps-dev),
subversion/libsvn_ra_dav/commit.c (1.53),
subversion/libsvn_ra_local/checkout.c (1.11),
subversion/libsvn_ra_local/ra_plugin.c (1.33),
subversion/libsvn_ra_local/split_url.c (1.11),
subversion/libsvn_repos/commit_editor.c (1.6),
subversion/libsvn_repos/delta.c (1.49),
subversion/libsvn_subr/base64.c (1.19), subversion/libsvn_subr/io.c
(1.38), subversion/libsvn_subr/quoprint.c (1.6),
subversion/libsvn_subr/svn_error.c (1.63),
subversion/libsvn_subr/target.c (1.10),
subversion/libsvn_subr/xml.c (1.39),
subversion/libsvn_wc/adm_crawler.c (1.111),
subversion/libsvn_wc/adm_ops.c (1.71),
subversion/libsvn_wc/get_editor.c (1.184),
subversion/svnadmin/main.c (1.12), subversion/tests/fs-helpers.c
(1.4), subversion/tests/svn_tests_main.c (1.23),
subversion/tests/libsvn_delta/deltaparse-test.c (1.71),
subversion/tests/libsvn_delta/random-test.c (1.24),
subversion/tests/libsvn_delta/xml-output-test.c (1.16),
subversion/tests/libsvn_fs/fs-test.c (1.79),
subversion/tests/libsvn_fs/skel-test.c (1.22),
subversion/tests/libsvn_repos/repos-test.c (1.3),
subversion/tests/libsvn_subr/.cvsignore (1.10),
subversion/tests/libsvn_subr/stream-test.c (1.1),
subversion/tests/libsvn_wc/commit-test.c (1.32):
Big Ol' Change: Moved pool-related function prototypes into new
include file, svn_pools.h. This was done to solve some circular
dependency issues related another change -- the addition of an
svn_stream_t to the userdata of SVN pools. Dubbed the "feedback
stream", this stream provides a way for any function with access to
a Subversion pool to send bytes out to whoever may want them, and is
scheduled to be used for non-fatal warnings and such.
In the future, this mechanism may be replaced by a function v-table
to optimize data transmission (why package up in a string protocol
data that is just going to be unpackaged by in-process methods?)
* subversion/include/svn_pools.h
New header file for pool-related function prototypes.
* subversion/tests/libsvn_subr/stream-test.c
New file for stream-related tests. Current contains just the one
test for the feedback stream, but your contributions and patches
are welcome....
* subversion/tests/libsvn_subr/.cvsignore
Please ignore the generated stream-test binary.
* build.conf
(stream-test): New section for stream-test test.
* subversion/include/svn_error.h
Big change: Moved pool-related prototypes and related epic
storytelling to new file, svn_pools.h.
(SVN_ERR_WC_CORRUPT): New error type for corrupted working copies.
* subversion/libsvn_subr/svn_error.c
(SVN_ERROR_STREAM): New key into pool's userdata for the feedback
stream.
(svn_pool_get_feedback_stream): New function for retrieving the
feedback stream from a pool.
(svn_error_init_pool, svn_pool_create, svn_pool_clear): Keep the new
feedback stream in mind when creating and destroying pools.
* subversion/include/svn_io.h
* subversion/libsvn_subr/io.c
(svn_stream_dup): New function for duplicating streams.
(svn_stream_set_baton): New accessor function for setting the baton
associated with a stream (just in case you didn't have one handy
at stream creation time).
* subversion/clients/cmdline/main.c
* subversion/clients/cmdline/trace-update.c
* subversion/libsvn_client/add.c
* subversion/libsvn_client/commit.c
* subversion/libsvn_delta/svndiff.c
* subversion/libsvn_delta/text_delta.c
* subversion/libsvn_delta/xml_output.c
* subversion/libsvn_delta/xml_parse.c
* subversion/libsvn_fs/dag.c
* subversion/libsvn_fs/fs.c
* subversion/libsvn_fs/trail.c
* subversion/libsvn_fs/tree.c
* subversion/libsvn_fs/txn.c
* subversion/libsvn_ra_dav/commit.c
* subversion/libsvn_ra_local/checkout.c
* subversion/libsvn_ra_local/ra_plugin.c
* subversion/libsvn_ra_local/split_url.c
* subversion/libsvn_repos/commit_editor.c
* subversion/libsvn_repos/delta.c
* subversion/libsvn_subr/base64.c
* subversion/libsvn_subr/quoprint.c
* subversion/libsvn_subr/target.c
* subversion/libsvn_subr/xml.c
* subversion/libsvn_wc/adm_crawler.c
* subversion/libsvn_wc/adm_ops.c
* subversion/libsvn_wc/get_editor.c
* subversion/svnadmin/main.c
* subversion/tests/fs-helpers.c
* subversion/tests/svn_tests_main.c
* subversion/tests/libsvn_delta/deltaparse-test.c
* subversion/tests/libsvn_delta/random-test.c
* subversion/tests/libsvn_delta/xml-output-test.c
* subversion/tests/libsvn_fs/fs-test.c
* subversion/tests/libsvn_fs/skel-test.c
* subversion/tests/libsvn_repos/repos-test.c
* subversion/tests/libsvn_wc/commit-test.c
Now #include svn_pools.h
2001-06-08 16:25 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_fs/key-test.c (1.1):
New file; accidentally left out of previous commit.
2001-06-08 16:05 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_subr/path-test.c (1.3):
* subversion/tests/libsvn_subr/path-test.c
Oops! Forgot to edit a copied header docstring.
2001-06-08 16:03 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/entries.c (1.107):
Index: libsvn_wc/entries.c
(check_entries): New validation function (this is a work in
progress, part of a bigger picture that has not yet been painted.
2001-06-08 15:49 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/merge.c (1.12):
(send_response): ap_fputstrs() now returns an apr_status_t. toss the
comment, and bring back the status checking code.
2001-06-08 15:27 Karl Fogel <kfogel@collab.net>
* build.conf (1.14), subversion/libsvn_fs/convert-size.c (1.12),
subversion/libsvn_fs/convert-size.h (1.8),
subversion/libsvn_fs/id.c (1.25), subversion/libsvn_fs/key-gen.c
(1.1), subversion/libsvn_fs/key-gen.h (1.1),
subversion/libsvn_fs/reps-table.h (1.2),
subversion/libsvn_fs/skel.c (1.29),
subversion/libsvn_fs/txn-table.c (1.26),
subversion/tests/libsvn_fs/run-fs-tests.sh (1.6):
Helper routine and tests for sequential key generation in the
`representations' and `strings' tables, plus a minor reorganization
to put all key manufacturing in one place:
* convert-size.h, convert-size.c: Renamed, see below.
* key-gen.h, key-gen.c: Replace convert-size.h, convert-size.c.
* id.c, skel.c, txn-table.c: #include key-gen.h instead of
convert-size.h.
* key-gen.h (next_key_key): Declare extern.
(svn_fs__next_key): New declaration.
* key-gen.c (next_key_key): Define.
(svn_fs__next_key): New func.
* key-test.c: New file, tests svn_fs__next_key.
* run-fs-tests.sh: Run `key-test' program.
* build.conf (key-test): New target.
2001-06-08 12:17 Karl Fogel <kfogel@collab.net>
* subversion/tests/clients/cmdline/: local_tests.py (1.10),
svn_tree.py (1.4):
New conflict test, plus some general reorganization, all submitted
by Mike Sussman <msussman@collab.net>:
* svn_tree.py (compare_trees): Take new singleton_handler function
arguments, invoked when one tree contains elements not present in
the other tree. Don't flatten tree structures; instead, descend in
the usual way and compare them as trees, the same way the filesystem
does.
The motivation for this was conflict testing. Subversion conflicts
produce extra files, but the old compare_trees() was first
flattening the tree structure and then comparing children based only
on an index into an array of children. This worked fine until there
were extra entries, namely the .rej files, in the working copy where
the conflict actually occurs -- rho.xxx.rej from the second wc would
be wrongly compared to tau from the first tree, and the test would
fail fail. So now we walk the tree structures in parallel, and
handle structural differences by invoking one or the other of the
singleton handlers. Most tests will simply use
default_singleton_handler() (see below), which simply raises an
SVNTreeUnequal exception. Some tests, however, will override the
default, providing a singleton handler more appropriate to that
test; see conflict_from_wc_top() below for an example.
(compare_file_nodes): Renamed from compare_nodes.
(get_child, default_singleton_handler): New helper funcs.
(SVNTypeMismatch, SVNTreeIsNotDirectory): New exceptions.
* local_tests.py (conflict_from_wc_top): New test for conflict.
(verify_rej_file): New singleton func to handle the .rej files in
the conflict test.
(extra_files): New global dictionary needed by both verify_rej_file
and conflict_from_wc_top to verify that all .rej files have been
covered exactly once.
(run_and_verify_commit, run_and_verify_update,
run_and_verify_status, run_and_verify_checkout): Take new singleton
funcs as arguments and pass to compare_trees. All callers changed.
(guarantee_greek_repository): Minor bugfix - modified url to take
proper number of forward slashes. We were actually passing a URL to
SVN with four forward slashes, but this was actually getting hidden
by SVN's robustness.
(test_list): Run the new conflict test.
2001-06-08 11:34 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/structure (1.38):
(Syntactic elements): Move structured data from `strings' table to
`representations' table, for easier ranged operations on strings.
(DELTA, CHECKSUM): Removed these redundant sections. It's clear
from context and from the grammar how these work.
2001-06-08 04:46 Greg Stein <gstein@lyra.org>
* subversion/: bindings/svn_string.i (1.3),
clients/win32/svn_com/SVN.cpp (1.6):
Pick up new more changes of svn_string_t -> svn_stringbuf_t.
2001-06-08 04:01 Greg Stein <gstein@lyra.org>
* subversion/: clients/cmdline/add-cmd.c (1.2),
clients/cmdline/checkout-cmd.c (1.2), clients/cmdline/cl.h (1.2),
clients/cmdline/commit-cmd.c (1.2), clients/cmdline/delete-cmd.c
(1.2), clients/cmdline/diff-cmd.c (1.2), clients/cmdline/diff.c
(1.2), clients/cmdline/help-cmd.c (1.2),
clients/cmdline/import-cmd.c (1.2), clients/cmdline/propget-cmd.c
(1.2), clients/cmdline/proplist-cmd.c (1.2),
clients/cmdline/props.c (1.2), clients/cmdline/propset-cmd.c (1.2),
clients/cmdline/status-cmd.c (1.2), clients/cmdline/status.c (1.2),
clients/cmdline/trace-commit.c (1.2),
clients/cmdline/trace-update.c (1.2), clients/cmdline/update-cmd.c
(1.2), clients/cmdline/util.c (1.3), include/svn_base64.h (1.10),
include/svn_client.h (1.35), include/svn_delta.h (1.151),
include/svn_fs.h (1.82), include/svn_hash.h (1.17),
include/svn_io.h (1.38), include/svn_path.h (1.38),
include/svn_quoprint.h (1.3), include/svn_ra.h (1.57),
include/svn_repos.h (1.10), include/svn_sorts.h (1.4),
include/svn_string.h (1.47), include/svn_test.h (1.17),
include/svn_wc.h (1.100), include/svn_xml.h (1.31),
libsvn_client/add.c (1.15), libsvn_client/apply_edits.c (1.16),
libsvn_client/checkout.c (1.19), libsvn_client/client.h (1.13),
libsvn_client/commit.c (1.46), libsvn_client/delete.c (1.11),
libsvn_client/diff.c (1.3), libsvn_client/status.c (1.13),
libsvn_client/update.c (1.19), libsvn_delta/compose_editors.c
(1.17), libsvn_delta/default_editor.c (1.8), libsvn_delta/delta.h
(1.55), libsvn_delta/svndiff.c (1.23), libsvn_delta/text_delta.c
(1.33), libsvn_delta/track_editor.c (1.5),
libsvn_delta/xml_output.c (1.38), libsvn_delta/xml_parse.c (1.155),
libsvn_fs/dag.c (1.95), libsvn_fs/dag.h (1.43,
premerge_strings-reps-dev), libsvn_fs/dbt.c (1.19,
postmerge_strings-reps-dev, premerge_strings-reps-dev,
strings-reps-dev-done), libsvn_fs/err.c (1.29,
premerge_strings-reps-dev), libsvn_fs/id.c (1.24),
libsvn_fs/proplist.c (1.7), libsvn_fs/proplist.h (1.5),
libsvn_fs/rev-table.c (1.14), libsvn_fs/skel.c (1.28),
libsvn_fs/skel.h (1.20), libsvn_fs/tree.c (1.74),
libsvn_fs/txn-table.c (1.25), libsvn_ra/ra_loader.c (1.7),
libsvn_ra_dav/commit.c (1.52), libsvn_ra_dav/fetch.c (1.57),
libsvn_ra_dav/merge.c (1.11), libsvn_ra_dav/options.c (1.7),
libsvn_ra_dav/ra_dav.h (1.25), libsvn_ra_dav/session.c (1.23),
libsvn_ra_dav/util.c (1.3), libsvn_ra_local/checkout.c (1.10),
libsvn_ra_local/ra_local.h (1.16), libsvn_ra_local/ra_plugin.c
(1.32), libsvn_ra_local/split_url.c (1.10),
libsvn_repos/commit_editor.c (1.5), libsvn_repos/delta.c (1.48),
libsvn_repos/reporter.c (1.10), libsvn_subr/base64.c (1.18),
libsvn_subr/hashdump.c (1.25), libsvn_subr/io.c (1.37),
libsvn_subr/path.c (1.38), libsvn_subr/quoprint.c (1.5),
libsvn_subr/sorts.c (1.3), libsvn_subr/svn_string.c (1.14),
libsvn_subr/target.c (1.9), libsvn_subr/xml.c (1.38),
libsvn_wc/adm_crawler.c (1.110), libsvn_wc/adm_files.c (1.80),
libsvn_wc/adm_ops.c (1.70), libsvn_wc/entries.c (1.106),
libsvn_wc/get_editor.c (1.183), libsvn_wc/local_changes.c (1.28),
libsvn_wc/lock.c (1.24), libsvn_wc/log.c (1.99), libsvn_wc/props.c
(1.32), libsvn_wc/questions.c (1.53), libsvn_wc/status.c (1.34),
libsvn_wc/util.c (1.18), libsvn_wc/wc.h (1.152),
mod_dav_svn/activity.c (1.7), mod_dav_svn/dav_svn.h (1.34),
mod_dav_svn/deadprops.c (1.12), mod_dav_svn/liveprops.c (1.21),
mod_dav_svn/merge.c (1.11), mod_dav_svn/repos.c (1.51),
mod_dav_svn/update.c (1.4), mod_dav_svn/version.c (1.27),
tests/fs-helpers.c (1.3), tests/fs-helpers.h (1.3),
tests/svn_test_editor.c (1.25),
tests/libsvn_delta/deltaparse-test.c (1.70),
tests/libsvn_delta/xml-output-test.c (1.15),
tests/libsvn_fs/fs-test.c (1.78), tests/libsvn_fs/skel-test.c
(1.21), tests/libsvn_ra_local/ra-local-test.c (1.10),
tests/libsvn_repos/dir-delta-editor.c (1.3),
tests/libsvn_repos/dir-delta-editor.h (1.3),
tests/libsvn_subr/hashdump-test.c (1.21),
tests/libsvn_subr/path-test.c (1.2), tests/libsvn_subr/stringtest.c
(1.9), tests/libsvn_subr/target-test.c (1.9),
tests/libsvn_wc/checkout-test.c (1.43),
tests/libsvn_wc/commit-test.c (1.31):
Rename the svn_string_t type to svn_stringbuf_t.
2001-06-08 03:34 Greg Stein <gstein@lyra.org>
* subversion/bindings/svn_error.i (1.3):
Minor tweak for the generated comments.
2001-06-08 03:34 Greg Stein <gstein@lyra.org>
* subversion/: include/svn_fs.h (1.81), libsvn_fs/fs.c (1.45),
libsvn_fs/fs.h (1.22):
Change the warning callback typedef to include the ptr.
* svn_fs.h (svn_fs_warning_callback_t): change typedef to include
"*".
(svn_fs_warning_func): toss the "*' on the WARNING param
* libsvn_fs/fs.c (svn_fs_set_warning_func): change params
(cleanup_fs_apr): deref the ->warning member
* libsvn_fs/fs.h (struct svn_fs_t): remove ptr from the ->warning
member
2001-06-07 20:09 Branko Cibej <brane@xbc.nu>
* Makefile.in (1.14), configure.in (1.91),
ac-helpers/berkeley-db.m4 (1.8):
Libsvn_ra_dav was missing the an explicit dependency on
$(SVN_DB_LIBS), which didn't help building the client with
--disable-shared (although I don't see why libtool doesn't figure
out a transitive closure of dependent libraries when doing a static
link). And, interestingly enough, $(SVN_DB_LIBS) wasn't being set
anywhere. Weird.
* ac-helpers/berkeley-db.m4: Set SVN_DB_INCLUDES and SVN_DB_LIBS
if Berkeley DB was found.
* configure.in: Substitute SVN_DB_INCLUDES and SVN_DB_LIBS, and
add $(SVN_DB_LIBS) to SVN_RA_LIB_LINK for libsvn_ra_local.
* Makefile.in Define SVN_DB_LIBS and @SVN_DB_INCLUDES@ to
INCLUDES.
2001-06-07 19:56 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_error.h (1.103), subversion/libsvn_fs/fs.c
(1.44), subversion/libsvn_fs/fs.h (1.21),
subversion/libsvn_fs/reps-table.c (1.1),
subversion/libsvn_fs/reps-table.h (1.1),
subversion/libsvn_fs/structure (1.37), notes/fs-improvements.txt
(1.11):
Document the plan for moving all non-constant (i.e., deltifiable)
data out of nodes table, into new `representations' and `strings'
tables. Also provide header files and backend code for doing so,
but don't call it yet. That's tomorrow. :-)
* structure: Document new plan. This will be a major change to the
filesystem; if you want to know more about it, this file's diff is
the one to read.
* fs-improvements.txt: Refer to the new documentation in
`structure'.
* reps-table.h, reps-table.c: New files.
* fs.h (svn_fs_t): New field for `representations' table.
* fs.c (svn_fs_create_berkeley): Create the `representations' table.
* svn_error.h (svn_errno_t): New error
SVN_ERR_FS_NO_SUCH_REPRESENTATION.
2001-06-07 14:25 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_repos/reporter.c (1.9):
* libsvn_repos/reporter.c
(svn_repos_delete_path): Oops! FS functions take c-strings, not
svn_string_t's.
2001-06-07 12:38 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_ra.h (1.56), include/svn_repos.h (1.9),
libsvn_ra_dav/fetch.c (1.56), libsvn_ra_local/ra_plugin.c (1.31),
libsvn_repos/reporter.c (1.8):
Starting fix for bug #337: An update should notice missing items and
replace them, and print '?' next to unversioned items.
* svn_ra.h (svn_ra_reporter_t): new vtable routine "delete_path()"
* svn_repos.h (svn_repos_delete_path): declare.
* reporter.c (svn_repos_delete_path): implement.
* libsvn_ra_local/ra_plugin.c (ra_local_reporter): add
svn_repos_delete_path to this static vtable.
* libsvn_ra_dav/fetch.c (ra_dav_reporter): add dummy func to make
this library compile.
(reporter_delete_path): dummy func. (gstein, have at it!)
2001-06-07 10:15 Ben Collins-Sussman <sussman@collab.net>
* doc/user/manual/: adds.texi (1.4), model.texi (1.2),
removals.texi (1.6):
User doc tweaks, after CMike's inspection.
2001-06-06 12:53 Ben Collins-Sussman <sussman@collab.net>
* doc/user/manual/: adds.texi (1.3), license.texi (1.1),
removals.texi (1.5), svn-manual.texi (1.4):
Tweaks to let the user manual compile correctly. (Why does
'texinfo' choke when compiling a table of contents? 'texi2html'
dosen't.)
* license.texi: new file
* svn-manual.texi: comment out TOC tags for now.
* adds.texi, removals.texi: use @samp instead of @command.
2001-06-06 12:45 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_client/add.c (1.14):
* libsvn_client/add.c
(add_dir_recursive): New helper function.
(svn_client_add): Support recursive add now.
2001-06-06 12:17 Ben Collins-Sussman <sussman@collab.net>
* doc/user/manual/: adds.texi (1.2), removals.texi (1.4):
More documentation on how adds and deletes work with versioned
directories.
2001-06-06 10:45 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/: adm_crawler.c (1.109), adm_ops.c (1.69),
log.c (1.98):
* libsvn_wc/adm_crawler.c
(verify_tree_deletion): Loosen the logic for replaced dir
verification here. For now...
(report_local_mods): Cleanup some logic for deletes and adds.
* libsvn_wc/adm_ops.c
(svn_wc_undelete): Recurse only when asked to do so!
* libsvn_wc/log.c
(log_do_committed): Don't blow away the administrative subdir on the
"replace" case -- only on "delete".
2001-06-05 17:11 Ben Collins-Sussman <sussman@collab.net>
* doc/user/manual/: adds.texi (1.1), removals.texi (1.3),
svn-manual.texi (1.3):
Saving work.
2001-06-05 15:57 Ben Collins-Sussman <sussman@collab.net>
* doc/user/manual/: model.texi (1.1), removals.texi (1.2),
svn-manual.texi (1.2):
Check in some descriptions of removal behavior.
2001-06-05 13:29 C. Michael Pilato <cmpilato@collab.net>
* subversion/clients/cmdline/util.c (1.2):
* clients/cmdline/util.c
(svn_cl__args_to_target_array): Little post-Stein-ian fix-em-ups.
2001-06-05 09:58 Karl Fogel <kfogel@collab.net>
* subversion/tests/clients/cmdline/svn_test_main.py (1.10):
(svn_binary): Point to new location of the `svn' binary.
2001-06-05 09:54 Karl Fogel <kfogel@collab.net>
* README (1.13):
Correct path to command line client code.
2001-06-05 09:52 Karl Fogel <kfogel@collab.net>
* STACK (1.92), build.conf (1.13),
subversion/clients/cmdline/.cvsignore (1.1),
subversion/clients/cmdline/README (1.1),
subversion/clients/cmdline/TODO (1.1),
subversion/clients/cmdline/add-cmd.c (1.1),
subversion/clients/cmdline/checkout-cmd.c (1.1),
subversion/clients/cmdline/cl.h (1.1),
subversion/clients/cmdline/commit-cmd.c (1.1),
subversion/clients/cmdline/delete-cmd.c (1.1),
subversion/clients/cmdline/diff-cmd.c (1.1),
subversion/clients/cmdline/diff.c (1.1),
subversion/clients/cmdline/help-cmd.c (1.1),
subversion/clients/cmdline/import-cmd.c (1.1),
subversion/clients/cmdline/main.c (1.1),
subversion/clients/cmdline/propget-cmd.c (1.1),
subversion/clients/cmdline/proplist-cmd.c (1.1),
notes/fs-improvements.txt (1.10),
subversion/clients/cmdline/props.c (1.1),
subversion/clients/cmdline/propset-cmd.c (1.1),
subversion/clients/cmdline/status-cmd.c (1.1),
subversion/clients/cmdline/status.c (1.1),
subversion/clients/cmdline/subversion_client.dsp (1.1),
subversion/clients/cmdline/trace-commit.c (1.1),
subversion/clients/cmdline/trace-update.c (1.1),
subversion/clients/cmdline/update-cmd.c (1.1),
subversion/clients/cmdline/util.c (1.1):
Move command line client from client/ to clients/cmdline/, as we
discussed sometime in the last ice age:
* subversion/clients/cmdline/, subversion/clients/cmdline/tests/:
New dirs.
* build.conf (paths, svn): Adjust path to command line client dir.
Also, fix the title line at top of file, which is unrelated to the
rest of this change.
* subversion/client/, subversion/client/tests/: Moved all
version-controlled files moved to above new dirs:
README
TODO
checkout-cmd.c
diff-cmd.c
propget-cmd.c
proplist-cmd.c
props.c
propset-cmd.c
status-cmd.c
trace-commit.c
help-cmd.c
diff.c
import-cmd.c
trace-update.c
subversion_client.dsp
commit-cmd.c
update-cmd.c
status.c
add-cmd.c
cl.h
delete-cmd.c
main.c
util.c
.cvsignore
tests/svn-test.sh
tests/svn-test2.sh
tests/.cvsignore
2001-06-05 04:58 Greg Stein <gstein@lyra.org>
* configure.in (1.90):
Fix the installation process: it should copy, not move.
Submitted by: Mo DeJong <mdejong@cygnus.com>
2001-06-04 18:34 Greg Stein <gstein@lyra.org>
* configure.in (1.89), gen-make.py (1.19):
*) configure.in: tweak the INSTALL macro again
*) gen-make.py: in the INSTALL_INCLUDE lines, add $(top_srcdir) to
the source file.
Submitted by: Mo DeJong <mdejong@cygnus.com>
2001-06-04 17:06 Ben Collins-Sussman <sussman@collab.net>
* Makefile.in (1.13):
Allow design doc to build again.
2001-06-04 17:00 Ben Collins-Sussman <sussman@collab.net>
* doc/: README (1.9), WritingChangeLogs.txt (1.3),
architecture.texi (1.16), client.texi (1.35), deltas.texi (1.7),
future.texi (1.12), goals.texi (1.11), license.texi (1.4),
model.texi (1.11), protocol.texi (1.7), server.texi (1.38),
svn-design.texi (1.17), programmer/WritingChangeLogs.txt (1.1),
programmer/design/architecture.texi (1.1),
programmer/design/client.texi (1.1), programmer/design/deltas.texi
(1.1), programmer/design/future.texi (1.1),
programmer/design/goals.texi (1.1), programmer/design/license.texi
(1.1), programmer/design/model.texi (1.1),
programmer/design/protocol.texi (1.1),
programmer/design/server.texi (1.1),
programmer/design/svn-design.texi (1.1), user/manual/README (1.1),
user/manual/removals.texi (1.1), user/manual/svn-manual.texi (1.1):
Revamping the organization of the doc/ directory. Take a look-see
in the top-level of README.
As a rule, each texinfo document needs to be isolated in its own
directory (since each doc typically consists of multiple .texi files
and leaves a mess when compiling.) The Right solution for building
docs is to be able to describe them in our top-level build.conf.
But for now, we'll just enable our "design" doc to build directly.
2001-06-04 14:50 Greg Stein <gstein@lyra.org>
* configure.in (1.88):
Fix typo in setting up the INSTALL program.
Submitted by: Mo DeJong <mdejong@cygnus.com>
2001-06-04 11:55 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_wc.h (1.99), libsvn_wc/adm_ops.c (1.68),
libsvn_wc/status.c (1.33):
* include/svn_wc.h
(enum svn_wc_status_kind): Added "replaced" kind.
* client/status.c
(generate_status_codes): Added 'R' code for entries that are
replaced (deleted + added)
* libsvn_wc/adm_ops.c
(svn_wc_add_directory): Bug fix: make sure that "this_dir" entry for
added directory behaves the same way the entry in its parent dir
would.
* libsvn_wc/status.c
(assemble_status): Make new case for "replaced" entries.
2001-06-04 07:38 Greg Stein <gstein@lyra.org>
* subversion/bindings/: README (1.2), apr.i (1.2), svn_error.i
(1.2), svn_fs.i (1.2), svn_string.i (1.2), svn_types.i (1.2):
Continued work on the SWIG bindings. Focusing on svn_fs.i (and
required supporting types).
2001-06-04 03:19 Greg Stein <gstein@lyra.org>
* Makefile.in (1.12):
more vpath work. bug fix for installation.
Submitted by: Mo DeJong <mdejong@cygnus.com>
2001-06-04 02:41 Greg Stein <gstein@lyra.org>
* .cvsignore (1.9), subversion/.cvsignore (1.2),
subversion/bindings/.cvsignore (1.2),
subversion/bindings/guile/.cvsignore (1.2),
subversion/bindings/java/.cvsignore (1.2),
subversion/bindings/perl/.cvsignore (1.2),
subversion/bindings/python/.cvsignore (1.2), doc/.cvsignore (1.7),
expat-lite/.cvsignore (1.3), subversion/bindings/ruby/.cvsignore
(1.2), subversion/bindings/tcl/.cvsignore (1.2),
subversion/include/.cvsignore (1.2),
subversion/libsvn_client/.cvsignore (1.3),
subversion/libsvn_delta/.cvsignore (1.7),
subversion/libsvn_fs/.cvsignore (1.4, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done),
subversion/libsvn_ra/.cvsignore (1.2),
subversion/libsvn_ra_dav/.cvsignore (1.2),
subversion/libsvn_ra_local/.cvsignore (1.2),
subversion/libsvn_repos/.cvsignore (1.2),
subversion/libsvn_subr/.cvsignore (1.5),
subversion/libsvn_wc/.cvsignore (1.7),
subversion/mod_dav_svn/.cvsignore (1.3),
subversion/svnadmin/.cvsignore (1.2), subversion/tests/.cvsignore
(1.3), subversion/tests/clients/cmdline/.cvsignore (1.3),
subversion/tests/libsvn_delta/.cvsignore (1.10),
subversion/tests/libsvn_fs/.cvsignore (1.6),
subversion/tests/libsvn_ra_local/.cvsignore (1.3),
subversion/tests/libsvn_repos/.cvsignore (1.2),
subversion/tests/libsvn_subr/.cvsignore (1.9),
subversion/tests/libsvn_wc/.cvsignore (1.7):
Remove some items that we don't generate from the .cvsignore files.
Remove several .cvsignore files from directories where nothing ever
gets built.
For the most part, the following were removed: Makefile,
Makefile.in, ChangeLog*, .deps, tests.log
2001-06-04 02:24 Greg Stein <gstein@lyra.org>
* subversion/Makefile.am (1.28), subversion/bindings/Makefile.am
(1.2), subversion/bindings/guile/Makefile.am (1.2),
subversion/bindings/java/Makefile.am (1.2),
subversion/bindings/perl/Makefile.am (1.2),
subversion/bindings/python/Makefile.am (1.2),
subversion/bindings/ruby/Makefile.am (1.2),
subversion/bindings/tcl/Makefile.am (1.2),
subversion/libsvn_client/Makefile.am (1.16), doc/Makefile.am (1.4),
expat-lite/Makefile.am (1.4), subversion/libsvn_delta/Makefile.am
(1.19), subversion/libsvn_fs/Makefile.am (1.43),
subversion/libsvn_ra/Makefile.am (1.2),
subversion/libsvn_ra_dav/Makefile.am (1.12),
subversion/libsvn_ra_local/Makefile.am (1.9),
subversion/libsvn_repos/Makefile.am (1.5),
subversion/libsvn_subr/Makefile.am (1.18),
subversion/libsvn_wc/Makefile.am (1.29),
subversion/mod_dav_svn/Makefile.am (1.18),
subversion/svnadmin/Makefile.am (1.4), subversion/tests/Makefile.am
(1.17), subversion/tests/libsvn_delta/Makefile.am (1.18),
subversion/tests/libsvn_fs/Makefile.am (1.18),
subversion/tests/libsvn_ra_local/Makefile.am (1.7),
subversion/tests/libsvn_repos/Makefile.am (1.4),
subversion/tests/libsvn_subr/Makefile.am (1.21),
subversion/tests/libsvn_wc/Makefile.am (1.21):
Bye bye, old automake system!
2001-06-04 02:23 Greg Stein <gstein@lyra.org>
* STACK (1.91):
ho fuggin ho
2001-06-04 01:55 Greg Stein <gstein@lyra.org>
* Makefile.in (1.11), configure.in (1.87), gen-make.py (1.18):
Add some logic for srcdir != builddir builds.
* Makefile.in: rename mkinstalldirs symbol to MKDIR.
build-outputs.mk now defines BUILD_DIRS rather than CLEAN_DIRS, so
change the local-clean rule. add the "mkdir-init" rule which uses
BUILD_DIRS to create build directories.
* configure.in: (from Mo DeJong) add $(top_srcdir) into the
INCLUDE_OUTPUTS symbol so the file can be picked up from the srcdir.
add call to "make mkdir-init" when srcdir!=builddir.
* gen-make.py: in the output (build-outputs.mk): rename CLEAN_DIRS
to BUILD_DIRS. rename mkinstalldirs to MKDIR.
2001-06-04 01:40 Greg Stein <gstein@lyra.org>
* Makefile.in (1.10):
Add logic for building the docs. New targets are "doc" for the
"typical" stuff (info, txt, html). doc-* will create the varieties
of formats.
There is no longer for ensuring proper tools are present. If a rule
fails because a tool isn't there... deal with it. :-)
2001-06-01 18:26 Karl Fogel <kfogel@collab.net>
* subversion/tests/clients/cmdline/local_tests.py (1.9):
Submitted by: Mike Sussman <msussman@collab.net>:
(merge_from_wc_top): New test for merging.
(test_list): Run it.
2001-06-01 18:18 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_delta/random-test.c (1.23):
* client/main.c, tests/libsvn_delta/random-test.c:
(main): Rename `optarg' to `opt_arg' to avoid compilation warning
about shadowing a global variable.
2001-06-01 17:41 Karl Fogel <kfogel@collab.net>
* subversion/tests/clients/cmdline/: local_tests.py (1.8),
svn_test_main.py (1.9):
Submitted by: Mike Sussman <msussman@collab.net>:
* subversion/tests/clients/cmdline/local_test.py
(update_from_wc_top): Removed new lines characters from expected
disk tree. Changed expected status tree root node to wc_backup.
Test 7, the "update '.' in working copy" test had been failing of
late. I found two reasons - one was that files in the actual tree
were getting appended (then commited and updated) differently than
files in the expected tree were - specifically, the expected tree
files were getting new line characters. Also, the expected tree was
looking for the root node to be called wc_top, while the actual
updated tree was named wc_top_backup. These changes now cause test
7 to pass on my Linux 7.0 box. However, Ben Collins-Sussman - on
FreeBSD 4.2 - is still having unknown problems running test
7...We'll investigate it tomorrow.
* subversion/tests/clients/cmdline/svn_test_main.py (client_test):
Added ability to list test description with test numbers by further
parsing of argv.
Apparently we can already run individual tests by specifying "python
local_tests.py n" where n is the actual test number. This is all
well and good, except that as our test suite grows it'll be helpful
to know which test corresponds to which number. Thus, one can now
do a "python local_tests.py list" which will actually list test
numbers with their respective descriptions.
2001-06-01 17:34 Ben Collins-Sussman <sussman@collab.net>
* www/project_status.html (1.22):
New status page for June 1st.
2001-06-01 16:32 Greg Stein <gstein@lyra.org>
* Makefile.in (1.9), build.conf (1.12), configure.in (1.86):
Some tweaks towards making vpath builds work correctly.
* Makefile.in: define macros for a (relative) path to the build and
source directories, and an absolute path to the build and source
dirs. The latter are needed when we "cd" from the top-level (e.g.
linking). The LIBTOOL macro is defined manually rather than via
@LIBTOOL@; the normal autoconf substitution uses top_builddir which
is now "relative", yet we need LIBTOOL to be absolute for the
cd/link steps. "make check" no longer needs to compute abs_srcdir
since we have a MAKE macro for it.
* build.conf: use abs_builddir for items that go into link lines
* configure.in: refer to the APR libraries using an absolute path.
the INSTALL script can be relative since we only run it from the top
level. Convert the SVN_RA_LIB_LINK macros to use absolute
references. Substitute abs_srcdir for use by the Makefile.
2001-06-01 12:03 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/: adm_ops.c (1.67), entries.c (1.105), log.c
(1.97):
* libsvn_wc/log.c
(log_do_modify_entry): Bug fix (IssueZilla #xxx) - some entries file
were getting text-time's and prop-time's of "working", which is a
special string used in logfiles that should NOT show up in entries
file. Just a little oops with big consequences, really, that's
all.
(log_do_committed): Make sure we update the flags in the parent
directory of a committed directory.
* libsvn_wc/entries.c:
(svn_wc__atts_to_entry): Docstring edit.
* libsvn_wc/adm_ops.c:
(svn_wc_set_revision): Don't mess with the state flags here, the log
runner can take care of that.
2001-06-01 10:07 Karl Fogel <kfogel@collab.net>
* www/project_faq.html (1.3):
Clarify/emphasize a few things.
2001-06-01 04:40 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/DESIGN-NOTES.txt (1.2):
obsolete a LONG time ago
2001-06-01 04:06 Greg Stein <gstein@lyra.org>
* Makefile.in (1.8):
gah. stupid bug.
2001-06-01 03:47 Greg Stein <gstein@lyra.org>
* Makefile.in (1.7):
Fix up the "local-clean" rule to clean .la-a items and to not worry
about things that won't be seen in SVN build dirs (e.g. *.so and
*.a).
Fix "local-extraclean" to toss some libtool files from ac-helpers.
Fix "extraclean" handling to not recurse into Neon, which does not
have this rule.
2001-06-01 03:15 Greg Stein <gstein@lyra.org>
* Makefile.in (1.6), build.conf (1.11), gen-make.py (1.17):
Bug fix for issue #397.
Enable building of external libraries (e.g. Neon and APR).
* Makefile.in: add "external-*" rules. Rename existing rules to
"local-*". The new external rules depends upon the new macro
EXTERNAL_PROJECT_DIRS.
* build.conf: toss the [external] section; we can easily hard-code
this stuff right into Makefile.in rather than process it via
gen-make.
* gen-make.py: remove 'external' from the predefined sections list.
2001-06-01 02:41 Greg Stein <gstein@lyra.org>
* Makefile.in (1.5), build.conf (1.10), configure.in (1.85),
gen-make.py (1.16), ac-helpers/svn-define-libs.m4 (1.4):
Bug fix for issue #397.
Fix up problems with build/link when --disable-shared is used.
The root problem was the use of SVN_CLIENT_DEPS. This didn't truly
handle the dependencies and link-time behavior properly (in the
absence of a recursive make with ordered subdir builds).
The fix is to recognize that the dependencies are caused by
libsvn_ra, rather than the client. Next, to associate those
dependencies directly with libsvn_ra. libtool provides for this
within the .la as long as you depend directly on .a files rather
than .la files (fixed in libtool 1.4). Since we only need the
dependencies during disable-shared, the focus on .a files is
possible. As a result, when programs link against libsvn_ra.la, they
automatically pull in the other libraries (ra_dav and the fs-based
libs).
* Makefile.in: toss *_CLIENT_DEPS and define SVN_RA_LIB_DEPS and
SVN_RA_LIB_LINK. _DEPS for dependency handling and _LINK for
what occurs within the link line. For static builds, these are
filled in. For shared builds, they are empty.
Remove SVN_NEON_LIBS macro (unused).
* gen-make.py: add recognition of add-deps in a definition to add
arbitrary text to a dependency line.
* build.conf: remove use of SVN_CLIENT_DEPS (see above). expand
definition of libsvn_ra to conditionally include more dependencies,
and to link against additional libraries.
* configure.in: no need to SVN_LIBSVN_* so toss the sinclude() of
svn-define-libs.m4. SVN_NEON_LIBS, SVN_TESTS_MAIN_LIBS,
FS_BASED_DIRS, and FS_BASED_TESTS are no longer used; remove
them. convert definition of LIBSVN_CLIENT_DEPS to SVN_RA_LIB_DEPS
and SVN_RA_LIB_LINK.
* svn-define-libs.m4: no longer used; removed.
2001-05-31 22:02 Brian Fitzpatrick <fitz@red-bean.com>
* www/project_faq.html (1.2):
typo. plate. plate o' typoes.
2001-05-31 21:54 Ben Collins-Sussman <sussman@collab.net>
* www/project_nav.html (1.8):
Fix separators on nav bar.
2001-05-31 18:36 Ben Collins-Sussman <sussman@collab.net>
* www/: project_faq.html (1.1), project_nav.html (1.7):
Added a FAQ to website.
2001-05-31 11:10 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/: adm_crawler.c (1.108), adm_ops.c (1.66),
entries.c (1.104), log.c (1.96):
* subversion/libsvn_wc/adm_crawler.c
(do_apply_textdelta): Clean up bad logic conversion that occurred
in my recent Big Ol' Change.
* subversion/libsvn_wc/adm_ops.c
(svn_wc_add_file, svn_wc_add_directory): Fix some oopses that
occurred in the recent Big Ol' Change.
(svn_wc_undelete): Add some real guts for this function.
* subversion/libsvn_wc/entries.c
(fold_state_changes): Uh...make the error messages at least report
the correct name of the function.
* subversion/libsvn_wc/log.c
(log_do_delete_entry): Minor segfault protection.
(log_do_committed): Change formatting (and set) of modification
flags in call to svn_wc__entry_modify.
2001-05-30 11:13 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_error.h (1.102), include/svn_wc.h
(1.98), libsvn_wc/adm_crawler.c (1.107), libsvn_wc/adm_ops.c
(1.65), libsvn_wc/entries.c (1.103), libsvn_wc/get_editor.c
(1.182), libsvn_wc/log.c (1.95), libsvn_wc/props.c (1.31),
libsvn_wc/questions.c (1.52), libsvn_wc/status.c (1.32),
libsvn_wc/wc.h (1.151):
WOOT! WOOT! WARNING: Big ol' change follows.
While the scope of the change is no larger than the libsvn_wc
module...it's not much smaller, either. ;-)
* include/svn_wc.h
(enum svn_wc_schedule_t, enum svn_wc_existence_t): New types for
tracking state.
(typedef struct svn_wc_entry_t): New state tracking variables.
* libsvn_wc/wc.h
(svn_wc__entry_fold_sync, svn_wc__entry_fold_sync_intelligently):
Removed these functions. Instead, use...
(svn_wc__entry_modify): New function for entry modification. Lots
of flags added for use with this function, as well.
(svn_wc__atts_to_entry): New function for converting an entries
attribute hash into an svn_wc_entry_t entry structure.
* libsvn_wc/adm_ops.c
Instances of svn_wc__entry_fold_sync_intelligently and
svn_wc__entry_fold_sync changed to use svn_wc__entry_modify.
(svn_wc_add_file, svn_wc_add_directory): Added some sanity checks.
* libsvn_wc/get_editor.c
Instances of svn_wc__entry_fold_sync_intelligently and
svn_wc__entry_fold_sync changed to use svn_wc__entry_modify.
* libsvn_wc/log.c
Instances of svn_wc__entry_fold_sync_intelligently and
svn_wc__entry_fold_sync changed to use svn_wc__entry_modify.
(log_do_modify_entry): Now use factorized code in
svn_wc__atts_to_entry.
* libsvn_wc/props.c
(svn_wc__do_property_merge): Minor patch to use renamed #define.
* libsvn_wc/questions.c
* libsvn_wc/status.c
Minor patches to use new entry state variables.
* libsvn_wc/adm_crawler.c
Patches to use new entry state variables.
(verify_tree_deletion): Renamed from verify_deleted_tree.
* libsvn_wc/entries.c
Instances of svn_wc__entry_fold_sync_intelligently and
svn_wc__entry_fold_sync changed to use svn_wc__entry_modify. Lots
of modified uses of the new entry state variables.
(svn_wc__atts_to_entry): New function for converting an entries
attribute hash into an svn_wc_entry_t entry structure.
(handle_start_tag): Now use factorized code in
svn_wc__atts_to_entry.
(normalize_entry): Write out the new entries XML.
(fold_state_changes): Renamed from interpret_changes, gutted, and
rewritten with new state stuffs in mind.
(internal_fold_sync, svn_wc__entry_fold_sync,
svn_wc__entry_fold_sync_intelligently): Obsolete functions
removed.
(svn_wc__entry_modify): New function for entry modification.
* include/svn_error.h
(SVN_ERR_WC_ENTRY_ATTRIBUTE_INVALID): New error type.
2001-05-30 06:33 Greg Stein <gstein@lyra.org>
* Makefile.in (1.4), gen-make.py (1.15):
* Makefile.in: toss the SVN_EXPAT_LIBS macro (unused). add some
initial (and unused) gunk for doc targets. the "check" target should
depend on ALL test programs rather than just the ones it will
actually run. add START and END lines into the log file.
HACK: chmod a+x the test prog. some .sh scripts aren't +x when
they come out of CVS. need to tweak the CVS repository to fix.
* gen-make.py: generate the TEST_DEPS macro
2001-05-30 06:26 Greg Stein <gstein@lyra.org>
* subversion/tests/svn_tests_main.c (1.22):
(main): watch out for (and skip) the srcdir argument which is passed
during a standard "make check" execution.
2001-05-30 06:15 Greg Stein <gstein@lyra.org>
* subversion/tests/libsvn_wc/checkout-test.sh (1.14):
no need for announcements; controlling script will handle that.
2001-05-30 06:05 Greg Stein <gstein@lyra.org>
* subversion/tests/: libsvn_fs/run-fs-tests.sh (1.5),
libsvn_repos/run-repos-tests.sh (1.2), libsvn_wc/checkout-test.sh
(1.13):
Various tweaks to the test scripts
- $1 will be the top source directory (absolute path)
- stop logging to private tests.log files
2001-05-30 05:59 Greg Stein <gstein@lyra.org>
* build.conf (1.9), configure.in (1.84):
no need to refer to Expat via SVN_EXPAT_LIBS; we can use our
standard intra-library dependency stuff.
2001-05-30 05:11 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/util.c (1.16):
forgot that the return value of apr_uri_parse_components is
different.
2001-05-30 02:53 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/util.c (1.15):
compensate for recent move of URI parsing stuff
2001-05-29 20:47 Greg Stein <gstein@lyra.org>
* Makefile.in (1.3):
Revert some changes that weren't ready (and weren't discussed in my
log message). These will return with a proper log message, and after
proper testing.
2001-05-29 20:37 Greg Stein <gstein@lyra.org>
* Makefile.in (1.2), build.conf (1.8), configure.in (1.83):
*) add building of subversion/tests/libsvn_test_fs
*) FS_LIBS / SVN_TEST_FS_LIBS are no longer needed
2001-05-29 20:34 Greg Stein <gstein@lyra.org>
* gen-make.py (1.14):
small tweak: move collection of target dirs to the first pass.
2001-05-29 20:29 Greg Stein <gstein@lyra.org>
* gen-make.py (1.13):
Simplifications:
- build_targets{} not needed
- prep install{} in the first pass
- store objects rather than names into install{}
- change CLEAN_FILES generation to use objects rather than
build_targets{} (and toss _filter_clean_files)
- change shortcut generation to use targets{} rather than
build_targets{}
2001-05-29 20:10 Greg Stein <gstein@lyra.org>
* gen-make.py (1.12):
Use two passes for the output generation. First pass collects basic
data and computes some simple values for each target; second pass
generates the output. This was necessary because one target may need
to refer to another target's output file; in the old way, we may not
have seen the dependent target (yet) while processing the user of
that target.
Information is stored into objects of a new Target class. This keeps
the items more closely associated and easier to access.
Revise intra-target dependencies: write out the final output, rather
than the shortcut name for the dependent target. "Make" didn't see a
"libsvn_fs" file, so it didn't know its timestamp, so it kept
rebuilding items dependent upon that. Using the .la fixes this
problem.
No longer sort the group targets (e.g. the "programs" or "fs-libs").
We rely on make to order them appropriately.
2001-05-29 18:47 Greg Stein <gstein@lyra.org>
* ac-helpers/.cvsignore (1.4):
more stuff not needed
2001-05-29 18:36 Greg Stein <gstein@lyra.org>
* gen-make.py (1.11):
*) for each target, add its dependencies on other targets
*) begin a bit of work for doc targets
2001-05-29 18:32 Greg Stein <gstein@lyra.org>
* ac-helpers/: .cvsignore (1.3), install.sh (1.1):
add an install.sh to shut up configure. we don't actually use this;
we use apr/build/install.sh. a longer term solution may be to use
apr/build as our auxilliary directory (when we eliminate our own
libtool copy, this should be doable).
2001-05-29 14:03 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha_short (1.7):
Promote 'svn cleanup' to an M3 requirement.
2001-05-29 13:25 Karl Fogel <kfogel@collab.net>
* notes/dav_setup.txt (1.7):
Some tweaks, from when Ben and I went through this process recently.
2001-05-29 09:17 Ben Collins-Sussman <sussman@collab.net>
* NEWS (1.2):
De-obsolesce this file.
2001-05-28 02:25 Daniel Stenberg <daniel@haxx.se>
* autogen.sh (1.40):
Added a check for that gen-make.py runs fine, as I noticed this
script didn't notice my absense of a python installation and then it
couldn't make a proper makefile setup. Now it exits with an error
message if this happens! PR: Obtained from: Submitted by: Reviewed
by:
2001-05-27 18:38 Greg Stein <gstein@lyra.org>
* ac-helpers/svn-apache.m4 (1.12):
The Apache include directory is flat nowadays. Remove the extra
include directories.
2001-05-25 05:24 Greg Stein <gstein@lyra.org>
* configure.in (1.82):
Be more direct about where people can find Berkeley DB.
Submitted by: Mo DeJong <mdejong@cygnus.com>
2001-05-25 05:17 Greg Stein <gstein@lyra.org>
* gen-make.py (1.10):
D'oh! I had both build_dirs and proj_dirs doing the same thing.
Combine them, and use "target_dirs" instead since the dirs are
directly related to the build targets.
2001-05-24 12:11 Karl Fogel <kfogel@collab.net>
* notes/variance-adjusted-patching.html (1.2):
Expand conflict discussion.
(Note to those who may wonder why the heck I'm working on this when
there are so many important coding tasks that need attention: this
is actually part of some other, non-Subversion work I'm doing, but
since it's relevant to Subversion, I thought I'd check it in here.)
2001-05-24 11:15 Karl Fogel <kfogel@collab.net>
* HACKING (1.31):
Changed section on building from a working copy, now that Greg's got
the new build system in place.
2001-05-24 08:40 Greg Stein <gstein@lyra.org>
* .cvsignore (1.8), Makefile.in (1.1), autogen.sh (1.39),
build.conf (1.7), configure.in (1.81), ac-helpers/.cvsignore (1.2),
ac-helpers/svn-apache.m4 (1.11):
Switch over to the new non-recursive build system.
* .cvsignore: toss some old items, add tests.log
* autogen.sh: remove the automake stuff. use apr/build/buildcheck.sh
for a bit of safety. handle setting up libtool ourselves (rather
than using automake to do it). run gen-make.py to create
build-outputs.mk.
* build.conf: add the libexpat and path-test projects
* configure.in: sinclude() a number of files, rather than using
aclocal.m4. stop using AM_ automake macros; use standard AC_
equivalents. SVN_INCLUDES now refers to the top-level directory,
too. SUBST items for INSTALL and MKDIR. SUBST two new items for
conditional FS handling: FS_RULES (what make target rules to build)
and FS_LIBS (what add'l libraries a test program should link
against). clean up CFLAGS when maintainer-mode is set since APR does
this (and exports it) now. SUBST abs_builddir for the Makefile. add
platform-specific mechanism for including makefiles. stop generating
so many Makefiles; we just have one AC_OUTPUT Makefile now.
* ac-helpers/.cvsignore: add libtool.m4 (a copy from /usr/share)
* ac-helpers/svn-apache.m4: set and SUBST the INSTALL_APACHE_RULE
variable to specify which apache make target rule to use for
installation. define and SUBST a new BUILD_APACHE_RULE for building
mod_dav_svn. the conditional and APACHE_MODULES are now obsolete.
2001-05-24 05:48 Greg Stein <gstein@lyra.org>
* gen-make.py (1.9):
Add optional header dependency generation. It runs by default, but
can be disabled by passing -s on the command line to gen-make.py.
2001-05-23 16:14 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_ops.c (1.64):
(svn_wc_remove_from_revision_control) bugfix: when an update tries
to remove a file or dir, *preserve* any files that are locally
modified.
2001-05-23 15:46 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/: adm_ops.c (1.63), log.c (1.94):
Bugfixes to make updates work --when the update involves removing
files or dirs.
* adm_ops.c (svn_wc_remove_from_revision_control): bugfixes; remove
file from entries file *after* looking for local mods, duh. And
append the filename to the path when removing it.
* log.c (log_do_delete_entry): decide if 'name' is a file or dir,
and call svn_wc_remove_from_revision_control in the appropriate
manner.
2001-05-23 14:49 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_error.h (1.101), include/svn_wc.h
(1.97), libsvn_wc/adm_files.c (1.79), libsvn_wc/adm_ops.c (1.62),
libsvn_wc/log.c (1.93), libsvn_wc/wc.h (1.150),
tests/clients/cmdline/local_tests.py (1.7):
Directory deletions should now work on the client side. If you do a
'svn rm dir' and commit, all of the SVN/ dirs are recursively
removed.
(TODO: add a -f (force) flag option to recursively nuke the dir
itself.)
Note: the way in which we call svn_wc_remove_from_revision_control()
is still being discussed; it may change soon.
* adm_ops.c, svn_wc.h (svn_wc_remove_from_revision_control): total
rewrite. The old didn't even correctly preserve local mods. :)
* svn_error.h (SVN_ERR_WC_LEFT_LOCAL_MOD): special value
potentially returned by svn_wc_remove_from_revision_control(),
indicating that locally modified files were left behind.
* adm_files.c (svn_wc__adm_destroy): make this function un-suck, by
calling apr_dir_remove_recursively() on SVN/.
(svn_wc__adm_path_exists): new convenience routine.
* log.c (remove_from_revision_control): removed, promoted to public
function.
(recursive_rc_remove): deleted, no longer needed.
(log_do_delete_entry): call svn_wc_remove_from_revision_control().
(log_do_committed): if a committed file is marked for deletion,
call svn_wc_remove_from_revision_control. if a committed dir is
marked for deletion, drop a 'KILLME' file into the administrative
area.
(svn_wc__run_log): at the very end, after removing the logfile,
check for a 'KILLME' file and possibly run
svn_wc_remove_from_revision_control().
* wc.h (SVN_WC__ADM_KILLME): new #define filename.
(svn_wc__adm_path_exists): declare.
2001-05-22 16:47 Karl Fogel <kfogel@collab.net>
* notes/variance-adjusted-patching.html (1.1):
Some stuff I've been thinking about. Not immediately relevant, but
will be when we start trying to do merges better than CVS.
2001-05-22 13:15 Joe Orton <joe@light.plus.com>
* subversion/include/svn_types.h (1.63):
* svn_types.h: Don't use ## when concatenating string tokens.
2001-05-22 13:03 Ben Collins-Sussman <sussman@collab.net>
* PORTING (1.5):
update freebsd info.
2001-05-22 07:08 Greg Stein <gstein@lyra.org>
* build.conf (1.6), gen-make.py (1.8):
Many of the tests aren't actually being run, or some of them are run
via scripts. Enable marking some of the test programs to be skipped.
2001-05-21 22:42 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_io.h (1.37), libsvn_subr/io.c (1.36):
New function to recursively remove a dir. It's written entirely
using apr routines -- perhaps apr wants it? I've tested to make
sure this routine works (but not checked in the test.)
* io.c (apr_dir_remove_recursively): the sequel to apr_remove_dir
(which only removes empty dirs), except this one is equivalent to
'rm -rf'.
* svn_io.h (apr_dir_remove_recursively): declare.
2001-05-21 15:32 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.106):
(report_local_mods): if a directory is *only* marked for deletion,
do not recurse into it. Also: if the current directory is marked
for addition, ignore all deleted items and local mods; only further
additions are noticed.
2001-05-21 09:48 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_wc.h (1.96), libsvn_wc/adm_crawler.c
(1.105), libsvn_wc/adm_ops.c (1.61), libsvn_wc/entries.c (1.102),
libsvn_wc/log.c (1.92), libsvn_wc/status.c (1.31):
* include/svn_wc.h
(SVN_WC_ENTRY_ADD): Renamed from SVN_WC_ENTRY_ADDED for more precise
representation of the flag syntax.
(SVN_WC_ENTRY_DELETE): Renamed from SVN_WC_ENTRY_DELETED for more
precise representation of the flag syntax, and to make way for an
actual "deleted" flag coming soon to a version control system near
you.
All existing uses of these two flags changed with M-x
tags-query-replace ... Hoping I got 'em all.
(SVN_WC_ENTRY_DELETED): New flag for when something has been deleted
from revision control but needs to still live in the entries file
(talk to Karl...I can't remember the detailed reasoning for this).
(SVN_WC_ENTRY_ATTR_DELETED): New #define for the "deleted" string
soon to be found in some select entries files.
* libsvn_wc/adm_crawler.c
* libsvn_wc/adm_ops.c
* libsvn_wc/entries.c
* libsvn_wc/log.c
* libsvn_wc/status.c
Sweeping renames of entries flags above.
2001-05-20 22:04 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_client.h (1.34), include/svn_wc.h
(1.95), libsvn_client/add.c (1.13), libsvn_client/delete.c (1.10),
libsvn_wc/adm_ops.c (1.60):
* client/cl.h
(svn_cl__cmd_proc_t): Added svn_cl__unadd and svn_cl__undelete to
this function prototypes thingamabob.
* client/add-cmd.c
(svn_cl__add): Some prep work for when this thing understands a
request for recursive addition.
(svn_cl__unadd): New function for un-adding files and dirs.
* client/delete-cmd.c
(svn_cl__undelete): New function for un-deleting files and dirs.
* client/main.c
(svn_cl__cmd_table): Added "unadd (unad)" and "undelete (undel,
unrm)" subcommand support.
* include/svn_client.h
(svn_client_add): Added RECURSIVE argument.
(svn_client_unadd, svn_client_undelete): New function prototypes.
* libsvn_client/add.c
(svn_client_add): Added RECURSIVE argument/support.
(svn_client_unadd): New function.
* libsvn_client/delete.c
(svn_client_delete): Removed obsolete todo.
(svn_client_undelete): New function.
* include/svn_wc.h
(svn_wc_unadd, svn_wc_undelete): New function prototypes.
* libsvn_wc/adm_ops.c
(enum mark_tree_state): Enum for mark_tree helper function.
(mark_tree): Renamed for delete_tree, this sucka now does at least a
couple of recursionish things.
(svn_wc_unadd): New function -- doesn't really work.
(svn_wc_undelete): New function -- DEFINITELY doesn't work.
2001-05-20 21:57 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/entries.c (1.101):
* libsvn_wc/entries.c
(interpret_changes): Be a little more picky about disallowing
certain adds.
2001-05-20 07:27 Greg Stein <gstein@lyra.org>
* gen-make.py (1.7):
"libtool --mode=link" generates an output file which will link the
real thing upon the first execution. When it does this, it uses the
parameters (files and libs) passed on the command line and *assumes*
they are relative to the program being linked. This means we must
whack all the parameters to be relative to the target, rather than
the top of the SVN tree; then we must cd into the target dir to
perform the libtool link.
* change the output to have target_DEPS for the top-relative
dependencies and target_OBJECTS for the target-relative objects
* add a function to compute "../../" type strings to "retreat" from
the target directory up to the top dir, so we can compute relative
paths for the dependent libraries
(note: libraries which aren't targets (such as $(SVN_APR_LIBS))
must be absolute since we won't be doing the retreat processing)
2001-05-20 07:00 Greg Stein <gstein@lyra.org>
* build.conf (1.5), gen-make.py (1.6):
- collect test programs (for "make check")
- add processing of a [test-scripts] section
- output a TEST_PROGRAMS variable for the Makefile to use
- use os.path.join for some path manipulation
2001-05-20 06:00 Greg Stein <gstein@lyra.org>
* build.conf (1.4), gen-make.py (1.5):
add the last bits for static mod_dav_svn installs
2001-05-20 05:41 Greg Stein <gstein@lyra.org>
* build.conf (1.3), gen-make.py (1.4):
- handle installation of Apache modules (a couple more bits left to
do for static installs)
- add some convenience targets
2001-05-19 18:04 Greg Stein <gstein@lyra.org>
* gen-make.py (1.3):
Refactor the collection of files from a set of file patterns.
2001-05-19 17:58 Greg Stein <gstein@lyra.org>
* build.conf (1.2), gen-make.py (1.2):
Continued work on the new build system.
* build.conf: add new [includes] section for specifying what
includes to publish/install.
svnadmin will be installed in the "sbin" area
mod_dav_svn has custom build instructions
libsvn_fs should link with DB
* gen-make.py: add handling of "custom" build option, and recognize
the "apache-mod" type.
add processing of the "install" option and generate the
appropriate installation targets.
for output file clarity: use foo_OBJECTS variables
filter *.la from the CLEAN_FILES variable, since they are cleaned
by the standard rule
add handling and output processing for the [includes] section
2001-05-19 07:42 Greg Stein <gstein@lyra.org>
* .cvsignore (1.7), build.conf (1.1), gen-make.py (1.1):
Checkpoint tonite's work on tossing automake and recursive make.
build.conf will describe all the pieces to build, what kind of build
it is (library vs program), dependent libs, etc.
gen-make.py will be run by autogen.sh to produce build-outputs.mk,
which contains the processed build.conf. (only developers run this;
users will receive an already-built build-outputs.mk) The
build-outputs.mk file will be included by the main/only Makefile.
The Makefile will be produced from a Makefile.in by the configure
process and include config-specific information, build rules, etc.
* build.conf: initial checkin. first draft of build
spec/configuration.
* gen-make.py: initial checkin. it currently produces enough to
build SVN and to clean it up. (not fully tested)
(still need "install", "check", and dependency generation)
2001-05-18 14:45 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/clients/cmdline/.cvsignore (1.2):
* tests/client/cmdline/.cvsignore
Ignore the 'repositories' and 'working_copies' directories created
by the test scripts.
2001-05-18 12:58 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_path.h (1.37), libsvn_client/commit.c
(1.45), libsvn_subr/path.c (1.37), libsvn_subr/target.c (1.8),
libsvn_wc/adm_crawler.c (1.104), tests/libsvn_subr/.cvsignore
(1.8), tests/libsvn_subr/Makefile.am (1.20),
tests/libsvn_subr/path-test.c (1.1),
tests/libsvn_subr/target-test.c (1.8),
tests/libsvn_wc/commit-test.c (1.30):
* client/commit-cmd.c
(svn_cl__commit): Use legitimate logic for path examination; think
before typing; look before leaping, etc.
* include/svn_path.h
(svn_path_condense_targets, svn_path_remove_redundancies,
svn_path_get_longest_ancestor, svn_path_is_child): Now take STYLE
argument.
* libsvn_subr/target.c
(svn_path_condense_targets, svn_path_remove_redundancies): Now take
STYLE argument. All callers changed. Also, some code
reformatting for readibility (loooooove the 'continue'
directive...)
* libsvn_subr/path.c
(svn_path_get_longest_ancestor, svn_path_is_child): Now take STYLE
argument, and actually do what it's supposed to do. All callers
changed.
* client/update-cmd.c
* libsvn_client/commit.c
* libsvn_wc/adm_crawler.c
* tests/libsvn_subr/target-test.c
* tests/libsvn_wc/commit-test.c
Callers of above-mentioned functions changed to pass path style
information through.
* tests/libsvn_subr/path-test.c
New file for tests of path functions (that aren't necessarily
target-related).
* tests/libsvn_subr/.cvsignore
Ignore new path-test binary.
* tests/libsvn_subr/Makefile.am
Added new path-test binary to build/check.
2001-05-17 15:57 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_client/add.c (1.12), libsvn_wc/adm_ops.c
(1.59):
Bug fix for IssueZilla issue #389
* libsvn_client/add.c
(svn_client_add): Fixed some insane code formatting while
quick-wrapping a returned error value.
* libsvn_wc/adm_ops.c
(svn_wc_add_directory): Use non-intelligent entry folding when
marking the "this dir" entry.
2001-05-17 13:00 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_test.h (1.16), tests/svn_test_editor.c
(1.24), tests/libsvn_delta/deltaparse-test.c (1.69),
tests/libsvn_wc/commit-test.c (1.29):
Subversion test editor now takes a VERBOSE argument which specifies
if you want the editor to print out all the arguments passed to the
functions or just a one-line summary. Also, added STYLE argument so
that path manipulation functions can be consistent with the path
style used for the root path upon which the editor is based.
Finally, added an EDITOR_NAME argument which is simply a string that
is printed at the beginning of each function's first line of output
that can be used to identify the editor's output in situations where
several test editors exist (also can be helpful for grepping through
output).
* tests/svn_test_editor.c
(newline): New helper function
(svn_test_get_editor): Added VERBOSE, EDITOR_NAME, and STYLE
arguments. All users
* include/svn_test.h
(svn_test_get_editor): Added VERBOSE argument, EDITOR_NAME, and
STYLE arguments. Updated DOCSTRING with examples of usage.
* tests/libsvn_delta/deltaparse-test.c
(main): Use VERBOSE test editor named "DELTAPARSE-TEST" with
svn_path_repos_style STYLE.
* tests/libsvn_wc/commit-test.c
(print_usage): New function for, um, printing the usage.
(main): Changed to accept --xml argument (instead of -x) and
--verbose (which will toggle VERBOSE argument of the test editor
named "COMMIT-TEST" with svn_path_local_style STYLE).
2001-05-17 12:48 Ben Collins-Sussman <sussman@collab.net>
* notes/: alpha_checklist (1.14), alpha_short (1.6):
* alpha_short: This is the new Master TODO list for M3 and beyond.
This file has been reformatted into emacs "outline"
mode and all info from alpha_checklist has been
moved into it.
* alpha_checklist: removed. it was skewing away from alpha_short.
2001-05-17 09:15 C. Michael Pilato <cmpilato@collab.net>
* subversion/include/svn_test.h (1.15):
* include/svn_test.h
Reverted to version 1.12 (prior to my Accidental CheckIn of Amazing
Bogosity, v1.13, and Karl's Intentional CheckIn of Attempted
Bogosity Correction, v1.14)
2001-05-17 09:10 C. Michael Pilato <cmpilato@collab.net>
* subversion/include/svn_path.h (1.36):
* include/svn_path.h
(svn_path_remove_redundancies): Updated docsting with explanation of
how this differs from svn_path_condense_targets().
2001-05-17 08:57 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: local_tests.py (1.6),
svn_test_main.py (1.8):
Start writing python tests for updates. These tests are the most
complex, since they also imply doing a checkout and a commit
beforehand.
* local_tests.py (duplicate_wc): new helper -- copy with some
intelligence.
(run_and_verify_update): new utility for update tests -- three ways
of verifying!
(update_from_wc_top): first in a series of update tests.
* svn_test_main.py (greek_tree): make this global an *immutable*
tuple instead of a list, for safety.
(copy_greek_tree): routine to duplicate a tuple of tuples into a
list of lists. Uses copy.deepcopy(). (gstein, is this right?!?)
2001-05-16 16:48 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_test.h (1.14):
(svn_test_get_editor): Document the new `editor_name' parameter.
NOTE: the build is probably broken right now.
Mike, I think you just forgot to commit your modifications to
tests/svn_test_editor.c? It seems to still have the old version of
the function (i.e., not matching the .h anymore). Since I don't
know what that code looks like, I made an educated guess at the
semantics of the new `editor_name' arg.
2001-05-16 15:36 C. Michael Pilato <cmpilato@collab.net>
* subversion/include/svn_test.h (1.13):
* include/svn_test.h
(svn_path_remove_redundancies): Updated docstring to include big ol'
explanation for the difference between this function and Kevin
Pilch-Bisson's svn_path_condense_targets.
2001-05-16 13:58 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_path.h (1.35), libsvn_subr/target.c
(1.7):
Resolution for IssueZilla issue #386
* include/svn_path.h
* include/target.c
(svn_path_remove_redundancies): New function.
* client/update-cmd.c
(svn_cl__update): Remove redundancies from the target list,
preserving the order of those targets, using new
svn_path_remove_redundancies function.
2001-05-16 10:36 C. Michael Pilato <cmpilato@collab.net>
* www/index.html (1.29):
* www/index.html
Fixed some HTMhell to make the Subversion logo not cover up the
first few lines of the text that follows it.
2001-05-15 16:52 Karl Fogel <kfogel@collab.net>
* notes/alpha_short (1.5):
Clean up, move deltification into M3 reqs (hope ppl agree?).
2001-05-15 16:03 Karl Fogel <kfogel@collab.net>
* www/project_status.html (1.21):
Fix date.
2001-05-15 16:02 Karl Fogel <kfogel@collab.net>
* www/project_status.html (1.20):
Bring status up-to-date.
2001-05-15 15:57 Ben Collins-Sussman <sussman@collab.net>
* www/index.html (1.28):
Update milestone 2 dates.
2001-05-15 15:39 Karl Fogel <kfogel@collab.net>
* subversion/: Makefile.am (1.27), libsvn_repos/delta.c (1.47)
(utags: milestone-2):
* Makefile.am (SUBDIRS): Build tests before client, otherwise can't
build from a clean tree.
* libsvn_repos/delta.c (find_nearest_entry): For now, comment out
this unused function and its forward declaration, to avoid a compile
warning.
2001-05-15 13:53 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_client/commit.c (1.44, milestone-2):
Move test editor code out into unconditional editor composition
area, but temporarily comment it out for M2. We'll have a run-time
--trace option after M2.
2001-05-15 12:46 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/local_tests.py (1.5,
milestone-2):
New python test for the bug just fixed; make sure we can commit 2
target files in the same directory.
2001-05-15 12:43 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.103, milestone-2):
Fix logic bug in multi-target commits. We can now correctly commit
multiple individual file targets within the same directory.
(report_local_mods): if we only committed one file, get out. Don't
close any dir_batons, and don't pop any stackframes. We may be
entering this dir again momentarily to commit a sibling file.
(svn_wc_crawl_local_mods): always close the root dir baton, we
don't need to check for special file cases. Also, better
documentation on exactly what routine expects from
report_local_mods().
2001-05-15 12:02 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_client/commit.c (1.43):
* client/Makefile.am
Temporarily link with libsvn_test while testing commit editor.
* libsvn_client/commit.c
(send_to_repos): Temporarily use a test editor while testing
commits.
2001-05-15 11:25 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svn_test_main.py (1.7,
milestone-2):
Add check for minimum python version.
2001-05-15 10:55 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/local_tests.py (1.4):
(commit_multiple_targets): new python test. vewy twicky.
2001-05-15 10:20 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.102):
Multi-target commits now seem to work (after some manual testing.)
Some specific python tests are on their way. :)
(examine_and_report_entry): removed.
(report_local_mods): back to a single recursive routine. Logic has
been shortened, cleaned up, and better documented.
(svn_wc_crawl_local_mods): little tweak to prevent dir batons from
being closed more than once.
2001-05-14 19:44 Greg Stein <gstein@lyra.org>
* subversion/svn-dev.el (1.7, milestone-2):
We made the variables local (correct), but we set them via a hook
which runs in all buffers. So... we weren't restraining ourselves to
just the SVN code, as we should.
Submitted by: J|rgen A. Erhard <juergen.erhard@gmx.net>
2001-05-12 15:13 Greg Stein <gstein@lyra.org>
* subversion/libsvn_wc/: adm_crawler.c (1.101), entries.c (1.100,
milestone-2):
Various cleanup nits.
* adm_crawler.c (verify_deleted_tree): No need to create the
BASENAME variable because we can directly use the char* stored in
the hash (gets rid of an unneeded cast in the process). Simplify the
logic to set IS_THIS_DIR.
* entries.c (svn_wc__entries_write): remove two unneeded casts.
2001-05-11 17:01 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/local_tests.py (1.3):
Start writing python tests for multi-target commits. We're gonna
need 'em. :)
* local_test.py (run_and_verify_commit): allow vararg input that
will be passed through directly to the 'svn commit' call.
(basic_commit): renamed to commit_from_wc_top
(commit_one_file): new test to commit a single file. Note: this
test currently fails, because the trace-editor is printing bogus
output right now. See? The test is doing its job!
2001-05-11 13:21 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.100):
* libsvn_wc/adm_crawler.c
(verify_deleted_tree): Helper function.
(examine_and_report_entry): Use new helper function to make sure the
working copy isn't in a st00pid state.
2001-05-11 11:18 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/entries.c (1.99):
* libsvn_wc/entries.c
(write_entry, svn_wc__entries_write): Optimizations per the watchful
eye of GregS.
2001-05-11 11:07 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_client/commit.c (1.42),
libsvn_repos/commit_editor.c (1.4, milestone-2):
Bug fix for Issue #377 - Unable to import to any place but '/' in a
repository.
The reason we couldn't had nothing to do with paths, but was caused
by the fact that we were always basing our import transaction on
revision 0 of the repository, which by definition *has nothing
except '/' to import to.* Doh!
* libsvn_client/commit.c
(import): Don't always base the import on revision 0 -- we want to
use the youngest rev instead.
* libsvn_repos/commit_editor.c
(replace_root): If asked to base ourselves on an invalid revision
number, assume that what was really wanted was the youngest rev.
2001-05-11 09:41 Bill Tutt <rassilon@lyra.org>
* subversion/libsvn_subr/libsvn_subr.dsp (1.7, milestone-2):
* subversion/libsvn_subr/libsvn_subr.dsp: Remove keysort.c. Add
sorts.c.
2001-05-11 02:24 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_subr/path.c (1.36, milestone-2),
libsvn_wc/adm_crawler.c (1.99):
Tandem debugging w/ Ben:
* path.c (svn_path_is_child): Don't start child path with dir
separator.
(svn_path_decompose): Fix off-by-one errors.
* adm_crawler.c: Change a bunch of error messages.
(report_local_mods): One more layer of indirection on dir_baton
parameter. All callers changed.
2001-05-11 01:11 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_subr/sorts.c (1.2, milestone-2):
(svn_sort_compare_as_paths): Dereference correctly.
2001-05-11 00:49 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.98):
(report_local_mods): bugfix. in the case of a single file target,
don't close the parent directory twice.
2001-05-11 00:26 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_repos/commit_editor.c (1.3),
libsvn_wc/adm_crawler.c (1.97), libsvn_wc/adm_files.c (1.78,
milestone-2), libsvn_wc/adm_ops.c (1.58, milestone-2),
libsvn_wc/entries.c (1.98), libsvn_wc/log.c (1.91, milestone-2):
Let's start working on making `svn rm some_directory' work!
* libsvn_repos/commit_editor.c
(delete_entry): Call svn_fs_delete_tree instead of svn_fs_delete --
we want to be above to remove both dirs and files.
* libsvn_wc/adm_crawler.c
(examine_and_report_entry): Don't recurse into directories we just
deleted.
* libsvn_wc/adm_files.c
(svn_wc__adm_destroy): Until we can remove trees from disk in a
single bound, let it suffice to kill the README file from the
administrative subdir.
* libsvn_wc/adm_ops.c
(delete_tree): Helper function for recursively setting the delete
flag on a dir's children.
(svn_wc_delete): Use new delete_tree helper function.
(svn_wc_add_directory): Make sure to set the add flag in both the
dir's default entry and its entry in its parent's entries. Huh?
* libsvn_wc/entries.c
(take_from_entry): Doc fix.
(interpret_changes): Disallow addition of an entry whose parent
directory is marked for deletion.
* libsvn_wc/log.c
(recursive_rc_remove): Helper function for recursively removing
admistrative directories from a tree.
(remove_from_revision_control): Use new recursive_rc_remove helper
function.
2001-05-11 00:03 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.96):
saving work, in process of debugging this new code.
2001-05-10 22:24 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_subr/: target-test.c (1.7),
target-test.sh (1.4) (utags: milestone-2):
* target-test.c (main): Don't wrap targets in quotes any more when
printing out, that was just for temporary testing.
* target-test.sh: Adjust for new behavior of
svn_path_condense_targets.
2001-05-10 22:21 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_subr/target.c (1.6, milestone-2):
(svn_path_condense_targets): Use apr_array_push, not raw assignment,
to put the target in the array in the single-file case.
2001-05-10 21:59 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_client.h (1.33, milestone-2),
include/svn_path.h (1.34, milestone-2), libsvn_client/commit.c
(1.41), libsvn_subr/target.c (1.5), tests/libsvn_wc/commit-test.c
(1.28, milestone-2):
Change all interfaces above svn_wc_crawl_local_mods to handle
multiple targets
NOTE: The build is no longer broken.
* target.c (svn_path_condense_targets): Targets that are the same as
the common parent are no longer included in *pcondensed_targets, not
even as empty strings. Also, some reformatting for 80-column lines.
* commit.c (svn_client_commit): Condense an array of targets.
(svn_client_import): Pass null for condensed targets.
(send_to_repos): Take condensed targets.
* svn_path.h (svn_path_condense_targets): Doc fixes, document new
behavior.
* svn_client.h (svn_client_commit): Take an array of targets instead
of a single path.
* commit-cmd.c (svn_cl__commit): Adjust call to svn_client_commit.
* commit-test.c (main): Adjust call to svn_client_commit. Unify
error-handling.
2001-05-10 21:17 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.95):
(svn_wc_crawl_local_mods): qsort the condensed targets, and make
them into "full" paths too.
2001-05-10 20:36 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_subr/target-test.c (1.6):
(main): Put quotes around each target, so we can see empty strings
more easily.
2001-05-10 20:32 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_subr/target-test.c (1.5):
(main): Print a newline after the test output.
2001-05-10 20:27 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.94):
More progress towards multi-target atomic commits.
* adm_crawler.c (svn_wc_crawl_local_mods): logical updates so that
single target files can be committed.
2001-05-10 19:31 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_path.h (1.33), include/svn_wc.h (1.94,
milestone-2), libsvn_client/commit.c (1.40), libsvn_subr/path.c
(1.35), libsvn_wc/adm_crawler.c (1.93):
Progress towards multi-target atomic commits -- major rewrite of
client-side commit machinery. Also: allow single files to be commit
targets.
-- NOTICE: THIS COMMIT TEMPORARILY BREAKS THE BUILD! --
* adm_crawler.c, svn_wc.h (svn_wc_crawl_local_mods): major rewrite,
takes an array of targets and a parent now. Sends local mods
within all targets in a single editor drive, to guarantee
atomicity.
(do_dir_closures): new helper func, much the opposite of
do_dir_replaces().
(examine_and_report_entry): new helper func, contains all of the
main entry-examining logic that used to live in
report_local_mods().
(report_local_mods): add new feature to the main recursive crawler:
it is now able to commit a single file within a dir (if asked to.)
Added FILENAME arg for this purpose -- calls
examine_and_report_entry().
* path.c, svn_path.h (svn_path_decompose): new func to split a path
into individual components.
(store_component): helper for above.
(svn_path_is_child): new func to return 'difference' between two
paths.
* commit.c: random block of code hanging in space for Karl to look
at.
2001-05-10 18:43 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_sorts.h (1.3, milestone-2):
(svn_sort_compare_strings_as_paths): Doc fix.
2001-05-10 18:42 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_sorts.h (1.2):
(svn_sort_array_header): Removed obsolete declaration.
2001-05-10 18:40 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_hash.h (1.16, milestone-2),
include/svn_sorts.h (1.1), libsvn_subr/Makefile.am (1.17,
milestone-2), libsvn_subr/keysort.c (1.10), libsvn_subr/sorts.c
(1.1):
Provide a comparison function so Ben can sort paths, as he requested
(see svn_sort_compare_strings_as_paths).
Also, generally reorganize and document the sorting code.
* Makefile.am (libsvn_subr_la_SOURCES): Change keysort.c to sorts.c.
* keysort.c: renamed to sorts.c.
* sorts.c: (svn_sort_compare_strings_as_paths): New file, new func.
(apr_hash_sorted_keys): Comment tweak.
(svn_sort_compare_items_as_paths): Renamed from
svn_sort_compare_as_paths. All callers changed. Rename parameters,
too.
* svn_sorts.h: New header.
(svn_sort_compare_as_paths, apr_hash_sorted_keys): Declare here
instead of in svn_hash.h.
(svn_sort_compare_strings_as_paths): New declaration.
(svn_sort_compare_items_as_paths): Renamed from
svn_sort_compare_as_paths. Rename parameters, too. Doc fixes.
(apr_hash_sorted_keys): Doc fixes.
* svn_hash.h: Add missing #endif for header name. Moved
declarations to svn_sorts.h, as described above.
* status.c: #include svn_sorts.h, instead of svn_hash.h.
2001-05-10 16:58 Branko Cibej <brane@xbc.nu>
* PORTING (1.4, milestone-2):
Update sparc-sun-solaris2.6.
2001-05-10 13:40 Greg Stein <gstein@lyra.org>
* STACK (1.90, milestone-2):
anyone have a wet noodle? I have a date with Karl...
2001-05-10 12:00 Bill Tutt <rassilon@lyra.org>
* subversion/libsvn_fs/fs.c (1.43, milestone-2):
* subversion/libsvn_fs/fs.c: (svn_fs_delete_berkeley) Use
APR_STATUS_IS_ENOENT instead of APR_ENOENT.
2001-05-10 11:59 Karl Fogel <kfogel@collab.net>
* STACK (1.89):
Notes to self.
Greg, did I accidentally undelete a bunch of your stuff that you
just deleted? I resolved a conflict, but may have done it
reversedly, let me know.
2001-05-10 11:18 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: strings-table.c (1.5), strings-table.h
(1.4) (utags: milestone-2):
* strings-table.h: General doc fixes.
(svn_fs__delete_string): Declare.
* strings-table.c (svn_fs__delete_string): New func.
(string_read, svn_fs__string_size): Better errors.
2001-05-10 11:05 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/strings-table.c (1.4):
* strings-table.c (svn_fs__append_string_stream): Handle string
creation as well as appending to an existing string.
Note: in my most recent previous log message, the filenames are
wrong. They should be
* strings-table.c
(...)
* strings-table.h
(...)
respectively. Someday when I can run "cvs admin" again, I'll fix
that and remove this note. :-)
2001-05-09 20:48 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/libsvn_fs.dsp (1.11, strings-reps-dev-done,
milestone-2):
* libsvn_fs/libsvn_fs.dsp
Added proplist.c and proplist.h to Win32 build.
2001-05-09 18:13 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/dag.c (1.94, milestone-2),
libsvn_repos/commit_editor.c (1.2), tests/libsvn_fs/fs-test.c
(1.77, milestone-2):
Woo-hoo! We now get the log message in the same berkeley
transaction as the commit of the subversion txn!
* libsvn_fs/dag.c
(svn_fs__dag_commit_txn): Populate new revision skel with property
list taken from the transaction.
* libsvn_repos/commit-editor.c
(close_edit): Now call svn_fs_change_txn_prop to set the log message
as a property of the transaction just before committing the
transaction.
* tests/libsvn_fs/fs-test.c
(transaction_props): Changed to now actually commit the transaction,
then verify that the newly created revision contains the exact
same property list as the transaction had (and that both are
accurate).
2001-05-09 17:27 Branko Cibej <brane@xbc.nu>
* subversion/: svnadmin/svnadmin.dsp (1.2),
tests/libsvn_repos/tests_libsvn_repos_test.dsp (1.2) (utags:
milestone-2):
Link with libdb32d.lib in Win32 Debug builds.
2001-05-09 16:23 Greg Stein <gstein@lyra.org>
* STACK (1.88):
cuz the Candy Man can...
2001-05-09 16:22 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/: strings-table.c (1.3), strings-table.h
(1.3):
Implemented much, tested nothing:
* svn_fs.c (string_baton): New fields `fs' and `trail'. Get rid of
`append' field; instead, we set offset at stream creation time.
(svn_fs__string_size): New func.
(string_read, string_write): Filled in.
(svn_fs__read_string_stream, svn_fs__write_string_stream): Don't set
append field.
(svn_fs__append_string_stream): Don't set append flag, just set
offset appropriately.
* svn_fs.h (svn_fs__read_string_stream, svn_fs__write_string_stream,
svn_fs__append_string_stream): Doc fixes.
2001-05-09 16:11 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_fs.h (1.80, milestone-2),
libsvn_fs/Makefile.am (1.42, milestone-2), libsvn_fs/dag.c (1.93),
libsvn_fs/proplist.c (1.6, milestone-2), libsvn_fs/proplist.h (1.4,
milestone-2), libsvn_fs/rev-table.c (1.13, milestone-2),
libsvn_fs/structure (1.36, milestone-2), libsvn_fs/tree.c (1.73,
milestone-2), libsvn_fs/txn-table.c (1.24, milestone-2),
libsvn_fs/txn-table.h (1.14, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done, milestone-2),
libsvn_fs/txn.c (1.41, milestone-2), tests/libsvn_fs/fs-test.c
(1.76):
* libsvn_fs/proplist.h
* libsvn_fs/proplist.c
New files, with functions for manipulating PROPLIST skels.
* libsvn_fs/Makefile.am
Added proplist.c and proplist.h to list of sources.
* libsvn_fs/structure.c
Added property list to TRANSACTION language.
* include/svn_fs.h
(svn_fs_txn_prop, svn_fs_txn_proplist, svn_fs_change_txn_prop): New
function prototypes.
* libsvn_fs/txn-table.h
(svn_fs__get_txn_ids): Renamed from svn_fs__get_txn.
(svn_fs__get_txn): New function prototype.
* libsvn_fs/txn-table.c
(is_valid_transaction): Check for a valid proplist.
(put_txn): Accept a property list argument for adding to a
transaction.
(get_proplist_from_txn_skel, get_ids_from_txn_skel): Helper
functions.
(svn_fs__get_txn): New function for getting just the skel of the
transaction (and works as a helper for svn_fs__get_txn_ids).
(svn_fs__get_txn_ids): Renamed from svn_fs__get_txn. All callers
changed.
(svn_fs__create_txn, svn_fs__set_txn_root, svn_fs__set_txn_base):
Changed to use new argument list of put_txn.
(struct txn_prop_args, txn_body_txn_prop, svn_fs_txn_prop,
struct txn_proplist_args, txn_body_txn_proplist,
svn_fs_txn_proplist, struct change_txn_prop_args,
txn_body_change_txn_prop, svn_fs_change_txn_prop): New structures
and functions for reading and writing transaction properties.
* libsvn_fs/rev-table.c
(txn_body_revision_prop, txn_body_revision_proplist,
txn_body_change_rev_prop): Use new related proplist functions in
proplist.c.
* libsvn_fs/tree.c
(txn_body_node_prop, txn_body_node_proplist,
txn_body_change_node_prop): Use new related proplist functions in
proplist.c.
* libsvn_fs/dag.c
* libsvn_fs/txn.c
Miscellaneous calls to old svn_fs__get_txn changed to
svn_fs__get_txn_ids.
* tests/libsvn_fs/fs-test.c
(transaction_props): New test for transaction properties.
(test_funcs): Reference new test for transaction properties.
2001-05-09 15:42 Branko Cibej <brane@xbc.nu>
* subversion/tests/: libsvn_delta/deltaparse_test.dsp (1.6),
libsvn_wc/commit_test.dsp (1.6) (utags: milestone-2):
Link libsvn_tests_main.lib instead of libsvn_test_editor.lib.
2001-05-09 15:41 Branko Cibej <brane@xbc.nu>
* subversion/libsvn_fs/libsvn_fs.dsp (1.10):
Added strings-table.[ch] to project.
2001-05-09 15:00 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/dag.c (1.92):
(svn_fs__dag_get_node): Use svn_error_create instead of
svn_error_createf, since no formatting is happening.
2001-05-09 14:56 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/strings-table.c (1.2):
(string_baton): New struct.
(string_read, string_write): New functions, still skeletal.
(svn_fs__read_string_stream, svn_fs__write_string_stream,
svn_fs__append_string_stream): Create streams, set to use above.
2001-05-09 14:34 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/strings-table.h (1.2):
(svn_fs__read_string_stream, svn_fs__write_string_stream,
svn_fs__append_string_stream): Doc fixes.
2001-05-09 14:26 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error.h (1.100, milestone-2),
libsvn_fs/Makefile.am (1.41), libsvn_fs/fs.c (1.42), libsvn_fs/fs.h
(1.20, milestone-2), libsvn_fs/strings-table.c (1.1),
libsvn_fs/strings-table.h (1.1):
* strings-table.h, strings-table.c: New files.
* Makefile.am (libsvn_fs_la_SOURCES): Add them.
* fs.h (svn_fs_t): New field for `strings' table.
* fs.c (svn_fs_create_berkeley): Create the strings table.
* svn_error.h (svn_errno_t): New error SVN_ERR_FS_NO_SUCH_STRING.
2001-05-09 11:53 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_repos.h (1.8, milestone-2):
(svn_repos_set_path): Doc fix, as suggested by Greg Stein.
Also, remove obsolete comment implying the reporter routines were
only exposed via vtables. They're public now.
2001-05-09 10:48 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_wc.h (1.93), libsvn_wc/adm_ops.c (1.57),
libsvn_wc/get_editor.c (1.181, milestone-2):
* include/svn_wc.h
(svn_wc_get_actual_update_target): New function prototype.
* libsvn_wc/get_editor.c
(svn_wc_get_actual_update_target): New function.
(make_editor): Use above new function.
(close_edit): Segfault condom.
* client/update-cmd.c
(svn_cl__update): Use new svn_wc_get_actual_update_target function
to determine the update anchor/target.
* libsvn_wc/adm_ops.c
(svn_wc_set_revision): Itty bitty bug fix.
2001-05-09 10:38 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/local_tests.py (1.2):
(run_and_verify_checkout): start comparing stdout of 'co' again.
2001-05-09 05:29 Bill Tutt <rassilon@lyra.org>
* subversion.dsw (1.14, milestone-2),
subversion/tests/libsvn_fs/skel-test.c (1.20, milestone-2),
subversion/tests/libsvn_repos/tests_libsvn_repos_test.dsp (1.1),
subversion/tests/libsvn_subr/tests_libsvn_subr_target_test.dsp
(1.1, milestone-2):
All projects build on Win32, and all of the binary test harneses
pass except repos-test which is currently crashing for me due to a
problem with closing down a pool in test #1.
* subversion.dsw: Added new projects: tests_libsvn_repos_test and
tests_libsvn_subr_target_test.
* subversion/tests/libsvn_subr/tests_libsvn_subr_target_test.dsp:
New project.
* subversion/tests/libsvn_repos/tests_libsvn_repos_test.dsp: New
project.
* subversion/tests/libsvn_fs/skel-test.c: Use casts instead of
changing the type.
2001-05-09 03:43 Joe Orton <joe@light.plus.com>
* subversion/svnadmin/main.c (1.11, milestone-2):
* svnadmin.c (usage): Spelling fix.
2001-05-09 03:12 Greg Stein <gstein@lyra.org>
* tools/cvs2svn/cvs2svn.py (1.1, milestone-2):
Check in some work from the weekend...
(note: rcsparse.py can be found in ViewCVS' cvs repository)
2001-05-08 19:30 Bill Tutt <rassilon@lyra.org>
* subversion.dsw (1.13), svn_config.dsp (1.3, milestone-2),
subversion/libsvn_client/commit.c (1.39),
subversion/libsvn_repos/libsvn_repos.dsp (1.1, milestone-2),
subversion/libsvn_subr/libsvn_subr.dsp (1.6),
subversion/tests/libsvn_delta/deltaparse-test.c (1.68,
milestone-2), subversion/tests/libsvn_fs/fs_test.dsp (1.5,
milestone-2), subversion/tests/libsvn_fs/skel-test.c (1.19),
subversion/tests/libsvn_wc/commit-test.c (1.27):
I can now compile all of the Win32 projects except libsvn_ra_dav
since I don't have the Apache/mod_dav headers installed.
* subversion.dsw: Add libsvn_delta, libsvn_fs as dependancies of
tests_libsvn_fs_fs.
* svn_config.dsp: Remove non-existant sw_private_config.hw.in from
.dsp.
* subversion/client/subversion_client.dsp: MSDEV decided to remove
an extra space.
* subversion/libsvn_client/commit.c: Use new_entry parameter per the
function docs, instead of random stack data.
* subversion/libsvn_repos/libsvn_repos.dsp: Add file.
* subversion/libsvn_subr/libsvn_subr.dsp: Added missing target.c
file.
* subversion/tests/libsvn_delta/deltaparse-test.c,
subversion/tests/libsvn_wc/commit-test.c:
MSVC throws a syntax error when it encountered this empty
array. Populate with two zero's per the test case spec.
* subversion/tests/libsvn_fs/fs_test.dsp: Link against the new
Berkely DB drop
* subversion/tests/libsvn_fs/skel-test.c: Replace some occurances of
int with apr_byte_t. MSVC warned mightly (> 10-15 times) about this.
2001-05-08 15:45 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_repos/reporter.c (1.7, milestone-2):
Fix sense of check from previous change.
2001-05-08 15:39 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_repos.h (1.7), libsvn_repos/reporter.c
(1.6), libsvn_wc/adm_crawler.c (1.92):
* svn_repos.h (svn_repos_set_path): Doc fix.
* reporter.c (svn_repos_set_path): Check for empty path, not null
path.
* adm_crawler.c (svn_wc_crawl_revisions): Pass empty string, not
null.
2001-05-08 15:16 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_wc.h (1.92), libsvn_wc/get_editor.c
(1.180), libsvn_wc/props.c (1.30, milestone-2):
Fix http://subversion.tigris.org/issues/show_bug.cgi?id=381:
* trace-update.c (svn_cl__get_trace_update_editor): Don't chop path;
the trace editor depends on the paths being accurate so it can
freely examine entries. This fixes issue #381.
Fix the printouts for checkouts/updates to not show spurious "_U"s
along the left column:
* get_editor.c (is_wc_prop): Moved to props.c and renamed, see
below.
* props.c (svn_wc_is_wc_prop): Export.
* trace-update.c (change_file_prop, change_dir_prop): Don't print
out changes of wc props, those are internal and users don't care.
2001-05-08 14:19 C. Michael Pilato <cmpilato@collab.net>
* subversion.dsw (1.12), svn_private_config.hw (1.3, milestone-2),
subversion/libsvn_client/libsvn_client.dsp (1.7, milestone-2),
subversion/libsvn_delta/libsvn_delta.dsp (1.6, milestone-2),
subversion/libsvn_fs/libsvn_fs.dsp (1.9),
subversion/libsvn_ra/libsvn_ra.dsp (1.1, milestone-2),
subversion/libsvn_ra_dav/libsvn_ra_dav.dsp (1.1, milestone-2),
subversion/libsvn_ra_local/libsvn_ra_local.dsp (1.1, milestone-2),
subversion/svnadmin/svnadmin.dsp (1.1),
subversion/tests/libsvn_test_editor.dsp (1.5),
subversion/tests/libsvn_test_main.dsp (1.5, milestone-2):
First steps in getting the Win32 build up-to-date.
* subversion/libsvn_ra/libsvn_ra.dsp
* subversion/libsvn_ra_local/libsvn_ra_local.dsp
* subversion/libsvn_ra_dav/libsvn_ra_dav.dsp
* subversion/libsvn_repos/libsvn_repos.dsp
New project files.
* subversion/tests/libsvn_test_editor.dsp
Removed this obsolete project file.
* subversion.dsw
Updated to include new projects libsvn_ra, libsvn_ra_local,
libsvn_ra_dav, and libsvn_repos. Also, removed libsvn_test_editor
project (since its source is now built as part of
libsvn_tests_main).
* svn_private_config.hw
(SVN_VERSION, SVN_LIBSVN_CLIENT_LINKS_RA_LOCAL): Added these
#defines.
* subversion/client/subversion_client.dsp
Updated sourcefile list, and now link with Berkeley 3.2.
* subversion/libsvn_client/libsvn_client.dsp
* subversion/libsvn_delta/libsvn_delta.dsp
* subversion/libsvn_fs/libsvn_fs.dsp
Updated sourcefile list.
* subversion/tests/libsvn_test_main.dsp
Updated sourcefile list, and now include Berkeley headers.
2001-05-08 14:05 Karl Fogel <kfogel@collab.net>
* HACKING (1.30, milestone-2):
(Building from a working copy): Notes on configuring and building.
2001-05-08 12:51 jrobbins
* www/index.html (1.27, milestone-2):
corrected broken links
2001-05-08 11:09 Karl Fogel <kfogel@collab.net>
* notes/dav_setup.txt (1.6, milestone-2):
Make some corrections (Ben dictated these; he's sitting next to me
right now, but he left his dongle at home today, so we're using my
net connection. Note to self: Never, ever leave home without
dongle.)
2001-05-08 08:42 Kevin Pilch-Bisson <kevin@pilch-bisson.net>
* HACKING (1.29):
Changed reference to 'config.hw' for building under win32.
2001-05-07 18:52 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_types.h (1.62, milestone-2),
libsvn_wc/get_editor.c (1.179):
* svn_types.h (SVN_PROP_PREFIX): New #define.
(SVN_PROP_REVISION_LOG, SVN_PROP_WC_PREFIX): Define using ##
concatenation with above.
(svn_item_t): Indentation fix.
* get_editor.c (is_wc_prop): Check length before comparing. (Branko
found this in a Purify run.)
2001-05-07 13:48 Karl Fogel <kfogel@collab.net>
* www/: index.html (1.26), project_status.html (1.19, milestone-2):
Patch from Michael Salmon <ms@collab.net> to make the logo show up.
2001-05-06 15:36 Ben Collins-Sussman <sussman@collab.net>
* www/index.html (1.25):
Make mailing-list link work.
2001-05-06 15:33 Ben Collins-Sussman <sussman@collab.net>
* www/index.html (1.24):
Make the doc link work.
2001-05-06 15:31 Ben Collins-Sussman <sussman@collab.net>
* www/index.html (1.23):
urg, flutz with href syntax. :(
2001-05-06 15:28 Ben Collins-Sussman <sussman@collab.net>
* www/index.html (1.22):
Update front page.
2001-05-05 07:08 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: commit.c (1.51), fetch.c (1.55),
merge.c (1.10) (utags: milestone-2):
Toss the debugging printf calls.
2001-05-05 06:04 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/merge.c (1.9):
(bump_resource): the close baton can be non-NULL during an import
(!!). check the close_commit function instead.
2001-05-05 06:03 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/activity.c (1.6, milestone-2):
Update apr_sdbm_open() calls to latest interface.
2001-05-05 03:40 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: commit.c (1.50), merge.c (1.8):
Initial brush strokes at getting "import" to work.
(it appears there are problems with Apache 2.0's input code for
large inputs; gotta go work on that for a bit)
* merge.c (bump_resource): if there are no WC functions, then just
don't bother with "bumping" the information.
* commit.c (fetch_props[]): we may need to fetch the DAV:checked-in
property to get the Version Resource URL at run time. this enables
that functionality.
(simple_request): also print the HTTP status code in the error.
(get_version_url): new function. gets the version URL from the
cached WC props, or it goes over to the server and asks for the VR
URL corresponding to the HEAD of the repository. needed for import,
when we have no WC props.
(get_activity_url): new function. gets the activity URL from the
cached WC props, or it goes to the server for it. needed for
import, when we have no WC props.
(create_activity): new new get_activity_url() function to deal
with the import case when no WC props exist.
(commit_replace_root): when importing, we don't have local props,
so we need to fetch the head's version resource URL to begin the
import process. toss the WC prop get and use the new
get_version_url() function.
2001-05-04 21:05 Branko Cibej <brane@xbc.nu>
* notes/alpha_checklist (1.13, milestone-2):
Formatting fix.
2001-05-04 21:04 Branko Cibej <brane@xbc.nu>
* notes/alpha_checklist (1.12):
Talk about the infamous $Log: cvs-changelog.html,v $
Talk about the infamous Revision 1.2 2001/08/31 03:30:43 kfogel
Talk about the infamous Record CVS ChangeLog.
Talk about the infamous ...
2001-05-04 21:00 Branko Cibej <brane@xbc.nu>
* notes/alpha_checklist (1.11):
Annotated with my comments, as per Karl's request. Finally.
2001-05-04 18:35 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: README (1.4, milestone-2),
local_tests.py (1.1), svn_test_main.py (1.6), svn_tree.py (1.3,
milestone-2):
Here's a nuclear power plant. The support framework is huge; now
we need a whole lot more tests.
TODO: the print-output of 'svn co' and 'svn up' is temporarily
broken; cmpilato is going to fix this as he rewrites multiargs.
For that reason, we're deliberately ignoring the output of 'svn co'
right now when each test bootstraps itself.
2001-05-04 12:46 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_repos/delta.c (1.46):
* libsvn_repos/delta.c
(svn_repos_update): Doh! *Now* it doesn't depend on
svn_repos_dir_delta.
2001-05-04 12:12 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_repos/delta.c (1.45):
* libsvn_repos/delta.c
(svn_repos_update): No longer calls svn_repos_dir_delta. This is
the first step in making svn_repos_dir_delta disappear entirely.
2001-05-04 10:22 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_wc.h (1.91), libsvn_wc/entries.c (1.97):
* include/svn_wc.h
(SVN_WC_ENTRY_THIS_DIR): Changed this #define to be "svn:this_dir"
until we're confidant that all oversights caused by assuming this
is "" are found and fixed.
* libsvn_wc/entries.c
(write_entry): New helper function for writing a single entry.
Also, this will abort() if ever we go to write an entry named "."
when SVN_WC_ENTRY_THIS_DIR is not #defined as "." .
(svn_wc__entries_write): Changed to use the new write_entry helper,
and always write out the "this dir" entry first.
2001-05-04 07:14 Greg Stein <gstein@lyra.org>
* notes/alpha_short (1.4, milestone-2):
"Mommy, mommy! I keep spinning in circles!" "Shut up, or I'll nail
your other foot to the floor."
2001-05-04 07:05 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.33), repos.c (1.50) (utags:
milestone-2):
Sometimes, we open a repository by ID (as an ID root). We cannot use
repos_path for these roots, but must use a string form of the ID.
Add the DAV_SVN_REPOS_PATH() macro to select the proper "path".
* dav_svn.h (struct dav_resource_private): add node_id_str field.
(DAV_SVN_REPOS_PATH): new macro
* repos.c (dav_svn_parse_version_uri): fill in the repos_id_str
field.
(dav_svn_prep_version): open the id_root and check type/existence.
(dav_svn_open_stream, dav_svn_getetag, dav_svn_set_headers): use
DAV_SVN_REPOS_PATH() to open the correct "path" for reading.
2001-05-04 07:01 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/update.c (1.3, milestone-2):
(replace_helper): fix the XML output -- the starting
replace-file/dir element should not be terminated, but with an
end-element.
2001-05-04 06:26 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/fetch.c (1.54):
Propagate errors from within the parsing callbacks.
(struct report_baton_t): add "err" member
(start_element, end_element): stash the error away for later use
(reporter_finish_report): return an error, if present in the ctx
2001-05-04 05:47 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: fetch.c (1.53), merge.c (1.7),
options.c (1.6, milestone-2), ra_dav.h (1.24, milestone-2), util.c
(1.2, milestone-2):
For requests which need to parse XML responses, the code was
following a particular template. Shift all of that code to a utility
function.
Then, add recognition of XML parsing errors in the response.
* ra_dav.h (svn_ra_dav__parsed_request): new declaration
* fetch.c (reporter_finish_report): use new function
* options.c (svn_ra_dav__get_activity_url): use new function
* merge.c (svn_ra_dav__merge_activity): use new function
* util.c (svn_ra_dav__parsed_request): implement from unification of
the pattern from fetch.c, options.c and merge.c. and XML parse error
handling.
2001-05-04 05:22 Branko Cibej <brane@xbc.nu>
* notes/fs-improvements.txt (1.9, milestone-2):
Fix typos.
2001-05-04 04:22 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: commit.c (1.49), fetch.c (1.52),
merge.c (1.6), ra_dav.h (1.23):
Fix up some commit/update problems.
* commit.c (struct commit_ctx_t): add a "deleted" member to track
items that have been deleted.
(commit_replace_root): use "" rather than "." to fetch a directory
property.
(commit_delete_entry): the request actually returns a 204 on
success. Also, record the path in the deleted array.
(commit_close_edit): pass the deleted array to merge_activity
(svn_ra_dav__get_commit_editor): make the new deleted array
* fetch.c (TOP_DIR): index the elts, not the struct itself
(report_elements[]): use the proper namespace for the elements
(push_dir): make sure to put a NULL into the vsn_url field
(start_element): don't fetch the file when add-file is first seen;
fetch at the end of the element (after we have its URL).
(end_element): fetch the file when add-file is closed.
(reporter_finish_report): don't write the null-term on the tail
(svn_ra_dav__do_update): create rb->dirs with the right size
element. don't write the null-term on the head. only write out
the target-revision element if we are updating to a specific
revision.
* merge.c (svn_ra_dav__merge_activity): take new deleted_entries
param. call close_commit for all the items that were deleted since
the server will not mention them in the MERGE response.
* ra_dav.h (svn_ra_dav__merge_activity): take new deleted_entries
param.
2001-05-04 04:06 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: repos.c (1.49), update.c (1.2):
Tweaks for proper commit/update behavior.
* repos.c (dav_svn_do_walk): handle WORKING resources rather than
erroring.
* update.c (upd_set_target_revision): add namespaces to opening
element.
(...) use new DIR_OR_FILE() macro throughout. use DEBUG_CR
throughout.
(dav_svn__update_report): use the youngest rev if the
target-revision element was not provided (or is bogus).
use the repository path of the resource for the base of the
update reporting process.
properly fetch the CDATA from the entry, rather than a hack.
add an extra error detection case: what kind of resource allows
the report.
2001-05-04 04:00 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/Makefile.am (1.17, milestone-2):
Get an xmlexpat.h header for svn_xml.h
Submitted by: Daniel Stenberg <daniel@haxx.se>
2001-05-03 18:40 Karl Fogel <kfogel@collab.net>
* notes/alpha_short (1.3):
Sync up with current status, migrate some things into Issuezilla,
add a few minor items based on discussion w/ Ben and Mike Tuesday.
2001-05-03 16:35 Branko Cibej <brane@xbc.nu>
* notes/fs-improvements.txt (1.8):
Added notes on delta composition and delta storage.
2001-05-03 13:18 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_client/commit.c (1.38):
Fix longstanding bugs in 'svn import'. This subcommand finally
works as documented, with either two or three args.
* commit.c (import): new_entry might be NULL; avoid segfault here.
* import-cmd.c (svn_cl__import): just set new_entry to NULL if args
are < 3. Also, make the trace_editor stop prepending local
directory info; it should only be printing added repository
paths.
2001-05-01 16:59 Ben Collins-Sussman <sussman@collab.net>
* www/: project_docs.html (1.16), project_members.html (1.14),
project_nav.html (1.6, milestone-2):
Remove old pages and links for new Tigris site. Members and Docs
tabs replace the old equivalents.
2001-05-01 16:16 Ben Collins-Sussman <sussman@collab.net>
* www/project_members.html (1.13):
Add cmpilato.
2001-04-27 23:46 C. Michael Pilato <cmpilato@collab.net>
* notes/entries-handling.txt (1.1, milestone-2):
* notes/entries-handling.txt
New file. This should live somewhere other than Mike's Inbox. :-)
2001-04-27 23:38 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/: get_editor.c (1.178), log.c (1.90),
status.c (1.30, milestone-2):
You used see some fun stuff happen when you #define'd
SVN_WC_ENTRY_THIS_DIR to "CmpilatoSezYouSuck". I hope I've caught
and fixed all those bugs, but only time and testing will tell.
* libsvn_wc/get_editor.c
(change_dir_prop): Itty bitty docstring edit.
* libsvn_wc/log.c
(log_do_modify_entry): Bug fix: make sure we don't assume that
SVN_WC_ENTRY_THIS_DIR is #define'd to ""!
* libsvn_wc/status.c
(svn_wc_statuses): Bug fix: make sure we don't assume that
SVN_WC_ENTRY_THIS_DIR is #define'd to ""!
2001-04-27 07:02 jrobbins
* www/project_nav.html (1.5):
changed label
2001-04-27 06:27 jrobbins
* www/project_mail.html (1.6):
removed outdated admin page
2001-04-27 05:38 jrobbins
* www/project_admin.html (1.7):
removed outdated admin page
2001-04-27 05:27 jrobbins
* www/index.html (1.21):
trivial change to force web publish
2001-04-27 05:18 jrobbins
* www/: index.html (1.20), project_admin.html (1.6),
project_docs.html (1.15), project_nav.html (1.4),
project_source.html (1.5, milestone-2), project_status.html (1.18):
corrected links
2001-04-27 01:53 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_repos.h (1.6), include/svn_wc.h (1.90),
libsvn_client/update.c (1.18, milestone-2), libsvn_repos/delta.c
(1.44), libsvn_repos/reporter.c (1.5), libsvn_wc/adm_crawler.c
(1.91), libsvn_wc/get_editor.c (1.177):
Woohoo! May an ever-gracious God allow this to be the last time I
have to think about multi-arg updates for at least a few days.
* client/trace-update.c
(svn_cl__get_trace_update_editor): Hack off the last component of
the path given to us, since the update editor is doing the same
thing.
* include/svn_wc.h
* libsvn_wc/adm_crawler.c
(svn_wc_crawl_revisions): Fixed to allow reporting of a
to-be-updated file as well as doing the regular depth-first tree
crawl.
* libsvn_client/update.c
(svn_client_update): Provided ugly kludge for informing the RA layer
of the actual intented update target.
* include/svn_repos.h
(svn_repos_dir_delta, svn_repos_update): Changed docstrings to
reflect that these functions now DO call EDITOR->close_edit.
Also, posted a little blurb that describes the difference between
the two functions.
* libsvn_repos/delta.c
(svn_repos_update): Take some logic shortcuts. Also, changed to
called EDITOR->close_edit before a successful return.
(svn_repos_dir_delta): Call EDITOR->close_edit before a successful
return.
* libsvn_repos/reporter.c
(svn_repos_report_baton_t): We need to keep track of two portions of
pathiness now, the BASE_PATH at which the baton is rooted, and the
actual TARGET of the report/update.
(svn_repos_set_path): Changed requirements of initial set_path call,
and now use new BASE_PATH/TARGET pair to derive path information.
(svn_repos_finish_report): Call svn_repos_update instead of
svn_repos_dir_delta here, and don't call close_edit (since
svn_repos_update does this for us).
(svn_repos_begin_report): Split the incoming path into a BASE_PATH
and a TARGET.
* libsvn_wc/get_editor.c
(edit_baton): Use an ANCHOR/TARGET pair instead of a DEST_DIR when
tracking paths.
(make_dir_baton, make_editor): Changed to use new ANCHOR/TARGET for
paths.
(free_dir_baton): Only bump the revision of a directory if that
directory is the target an update, is a child of the target of an
update, or if this is a checkout (and therefore, not an update at
all).
(close_edit): Only bump revisions of updated directories, not
updated files, and nothing in the checkout case.
* client/tests/svn-test2.sh
Changed update commands to be called from inside the t1 working copy
directory.
2001-04-27 01:41 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/: adm_files.c (1.77), adm_ops.c (1.56):
* libsvn_wc/adm_files.c
(prop_path_internal): Do the Right Thing when svn_path_split leaves
an empty dirname. This was causing an entry with a name of "." to
appear in the entries files...makes for some rather time-consuming
(ala Eternity) `svn status' calls.
* libsvn_wc/adm_ops.c
(svn_wc_set_revision): Do the Right Thing when svn_path_split leaves
an empty dirname.
2001-04-26 22:37 Greg Stein <gstein@lyra.org>
* subversion/: include/svn_error.h (1.99), libsvn_subr/svn_error.c
(1.62, milestone-2):
Get svn_error.c working with the latest APR pool changes (struct
apr_pool_t is now private).
* svn_error.h (svn_pool_get_size): removed declaration; obsolete.
* svn_error.c (svn_pool_get_size): removed function; obsolete.
(svn_pool__inherit_error_pool): use new apr_pool_get_parent
function.
(find_oldest_pool_ancestor): use new apr_pool_get_parent function.
(svn_pool_clear_debug): use apr_pool_num_bytes rather than
svn_pool_get_size.
(svn_pool_destroy_debug): use apr_pool_num_bytes
2001-04-26 20:14 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: svn_output.py (1.8),
svn_tree.py (1.2), svn_wc.py (1.2):
Remove svn_output.py and svn_tree.py; consolidate them all into
svn_tree.py. Things are cleaner and simpler this way, and more
non-exported helpers can be shared.
2001-04-26 16:14 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_path.h (1.32), libsvn_subr/path.c
(1.34):
* include/svn_path.h
* libsvn_subr/path.c
(svn_path_is_thisdir): New function to check path for '.' and './'
(svn_path_is_empty): Changed to use new function
svn_path_is_thisdir.
2001-04-26 16:13 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/adm_ops.c (1.55):
* libsvn_wc/adm_ops.c
(svn_wc_delete): Bug fix: if dirname after an svn_path_split is
empty, at least make it '.' so APR functions don't choke on it.
2001-04-26 15:18 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/merge.c (1.10, milestone-2):
Heck, we don't even need to have special handling for the
root_baton. As the comment says, it is passed to close_directory,
which will then handling the "seen_change" flag.
This fixes a problem where we kept the baton around, but
close_directory destroyed its pool. We then called send_response()
which allocated from that pool (very bad).
(struct merge_response_ctx): no more need for root_baton field.
(mr_replace_root): allocate the baton from the pool. don't set the
mrc->root_baton field.
(dav_svn__merge_response): don't do special handling for the root
2001-04-26 15:00 Branko Cibej <brane@xbc.nu>
* HACKING (1.28):
db-3.2.9 Win32 binary is available now.
2001-04-26 10:33 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/merge.c (1.9):
Thanks to my evil new debugging option in apr_pools.c, I found a
reference to the root baton after its pool was destroyed.
2001-04-26 10:32 Greg Stein <gstein@lyra.org>
* subversion/libsvn_subr/svn_string.c (1.13, milestone-2):
i >= 0 is always true for unsigned values, such as apr_size_t. If
the character wasn't there, then we'd choke when i became 2^32-1.
2001-04-25 16:23 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: README (1.3),
example_tests1.py (1.3, milestone-2), svn_output.py (1.7),
svn_test_main.py (1.5), svn_tree.py (1.1), svn_wc.py (1.1),
xml_tests.py (1.3, milestone-2):
Lots of new code (and rewriting) of python test suite. It's not
done yet. Please don't try to use this stuff yet. :)
* README: expanded overview of goals & design.
* svn_tree.py: new file, general code for creating trees. Mucho
code from Sam TH <sam@uchicago.edu>, and lots of hacking
from sussman.
* svn_wc.py: code to convert a working copy to a tree.
* svn_output.py: code to convert svn subcommand output into a tree.
* xml_tests.py: half-baked code, don't touch yet, on hold.
* svn_test_main.py: a few additions from Sam TH allow us to run
svnadmin and create an empty repos.
* example_tests.py: make test1() use compare_trees() as a demo.
2001-04-24 18:18 Greg Stein <gstein@lyra.org>
* subversion/: include/svn_repos.h (1.5), libsvn_client/update.c
(1.17), libsvn_ra_local/ra_plugin.c (1.30, milestone-2),
libsvn_repos/reporter.c (1.4), libsvn_ra_dav/Makefile.am (1.11,
milestone-2), libsvn_ra_dav/commit.c (1.48), libsvn_ra_dav/fetch.c
(1.51), libsvn_ra_dav/merge.c (1.5), libsvn_ra_dav/props.c (1.5,
milestone-2), libsvn_ra_dav/ra_dav.h (1.22), libsvn_ra_dav/util.c
(1.1), mod_dav_svn/Makefile.am (1.16), mod_dav_svn/dav_svn.h
(1.32), mod_dav_svn/merge.c (1.8), mod_dav_svn/update.c (1.1),
mod_dav_svn/util.c (1.14, milestone-2), mod_dav_svn/version.c
(1.26, milestone-2):
Check in a bunch of work from the plane: basically a first pass at
"update" functionality via DAV.
WARNING: it compiles, but is untested, and other stuff may have been
broken.
* fetch.c (vsn_url_helper, dir_item_t, report_baton_t, report_head,
report_tail, report_elements, validate_element, start_element,
end_element, get_attr, push_dir): buncha new stuff for updates
(store_vsn_url, simple_store_vsn_url): refactor
(fetch_file, simple_fetch_file): refactor
(reporter_set_path, reporter_finish_report,
svn_ra_dav__do_update): new implementation.
* libsvn_ra_dav/merge.c (copy_href): moved to
util.c::svn_ra_dav__copy_href
(end_element): change to new svn_ra_dav__copy_href name
(svn_ra_dav__merge_activity): use new MAKE_BUFFER macro
* ra_dav.h (ELEM_*): add new element identifiers
(MAKE_BUFFER): new macro for creating svn_string_t to be used as a
buffer
(svn_ra_dav__copy_ref): new declaration
* dav_svn.h (dav_svn__update_report, dav_svn_find_ns): new
declarations
(dav_svn_insert_all_liveprops): ap_text_header -> apr_text_header
* mod_dav_svn/merge.c (make_child_baton): make the baton in the
correct subpool.
(dav_svn__merge_response): construct a single "rootpath" string.
* mod_dav_svn/util.c (dav_svn_find_ns): new function
* mod_dav_svn/version.c (avail_reports[]): new array
(dav_svn_avail_reports, dav_svn_get_report): implement
* svn_repos.h (struct svn_repos_report_baton_t): moved to
libsvn_repos/reporter.c; no need for this to be public.
(svn_repos_begin_report): new function to create a reporter baton.
* ra_plugin.c (do_update): replace a bunch of code with the new
svn_repos_begin_report() function.
* reporter.c (struct svn_repos_report_baton_t): new structure,
copied from svn_repos.h (no change).
(svn_repos_set_path): simplify the sanity check. eliminate a cast.
(svn_repos_finish_report): call close_edit.
(svn_repos_begin_report): new function
* libsvn_client/update.c (svn_client_update): don't call close_edit
-- that is the responsibility of the update process(!)
* libsvn_ra_dav/Makefile.am: add util.c and Expat includes
* mod_dav_svn/Makefile.am: add update.c
2001-04-24 14:19 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_wc/entries.c (1.96):
* libsvn_wc/entries.c
(svn_wc_entry): Bug fix. Once we split off the basename of a path,
the remain directory can't be the empty string, at least in the
eyes of APRs stat routines.
2001-04-24 14:06 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_repos/delta.c (1.43):
* libsvn_repos/delta.c
(svn_repos_update): Doh! Bug fix.
2001-04-23 09:43 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_repos.h (1.4), libsvn_repos/delta.c
(1.42), libsvn_repos/reporter.c (1.3), mod_dav_svn/merge.c (1.7),
tests/libsvn_repos/repos-test.c (1.2, milestone-2):
* include/svn_repos.h
* libsvn_repos/delta.c
(svn_repos_dir_delta): Updated docstring. Change charstring args to
svn_string_t.
(svn_repos_update): New function.
* libsvn_repos/reporter.c
(svn_repos_finish_report): Changed charstring arguments to
svn_repos_dir_delta to svn_string_t.
* tests/libsvn_repos/repos-test.c
(dir_deltas): Changed charstring arguments to svn_repos_dir_delta to
svn_string_t.
* mod_dav_svn/merge.c
(dav_svn__merge_response): Changed charstring arguments to
svn_repos_dir_delta to svn_string_t.
2001-04-23 08:55 Karl Fogel <kfogel@collab.net>
* autogen.sh (1.38, milestone-2):
Put Neon URL in a variable, since we use it in more than one place.
Thanks to Mo DeJong <mdejong@cygnus.com> for the patch.
2001-04-22 08:31 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/.cvsignore (1.1, milestone-2):
Please ignore .pyc files
2001-04-19 21:28 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_files.c (1.76):
(svn_wc__close_props, svn_wc__sync_props): fix typo here too.
2001-04-19 21:26 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_files.c (1.75):
(svn_wc__open_props): doh! typo fix.
2001-04-19 21:22 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/: adm_files.c (1.74), props.c (1.29), wc.h
(1.149, milestone-2):
Create new interface for *atomically* opening and closing property
files. This interface is consistent with the existing "atomic"
working-copy administrative-area API.
* wc.h (svn_wc__open_props, svn_wc__close_props,
svn_wc__sync_props): new interfaces
* adm_files.c (svn_wc__open_props, svn_wc__close_props,
svn_wc__sync_props): implement.
* props.c (svn_wc_prop_set, svn_wc__wcprop_set): change internals to
use this new interface.
2001-04-19 17:37 Karl Fogel <kfogel@collab.net>
* notes/fs-improvements.txt (1.7):
Incorporate Branko's comments from the dev list. Flesh out
background of svndiff composition more.
2001-04-19 10:25 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_wc.h (1.89), libsvn_wc/adm_crawler.c
(1.90), libsvn_wc/entries.c (1.95), libsvn_wc/status.c (1.29):
* libsvn_wc/status.c
(svn_wc_statuses): Fixed logic to handle the returns from the
simplified entries funcs properly.
* include/svn_wc.h
(svn_wc_entries_read): Updated docstring.
* libsvn_wc/adm_crawler.c
(report_local_mods): When looking at subdir entries, we need to dig
a little deeper to get a fully fleshed-out entry.
* libsvn_wc/entries.c
(read_entries): No longer need forward declaration.
(resolve_to_defaults): Fixed to respect new rules for entries
reading--no peeking in anybody else's entries files!
2001-04-18 16:36 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/get_editor.c (1.176):
(make_file_baton): duh, initialize wcprop array.
(close_file): move wcprop dumping to the end, *after* the log
running guarantees that the file already exists.
2001-04-18 16:22 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/: get_editor.c (1.175), props.c (1.28):
Whoops, we get an error when we try to immediately dump a wc-prop to
disk for a newly added file (during checkout.) Why? Because the
file doesn't actually exist outside of SVN/tmp/ until close_file()
is called. This means that when change_file_prop(wcprop) is
called, it fails a sanity check, because it can't find the file.
(This doesn't happen with change_dir_prop(wcprop), since newly added
dirs are created immediately.)
The solution is to cache the wcprops in file_baton, just like we
cache regular props. Then write them all out when we close_file().
* get_editor.c (struct file_baton): new wcpropchanges array and
associated flag.
(change_file_prop): push wcprops to the new array.
(close_file): if flag is set, dump the wcprops.
* props.c (wcprop_list): fix error description typos.
2001-04-18 13:38 Kevin Pilch-Bisson <kevin@pilch-bisson.net>
* subversion/tests/: libsvn_delta/Makefile.am (1.17, milestone-2),
libsvn_delta/deltaparse-test.c (1.67), libsvn_subr/Makefile.am
(1.19, milestone-2), libsvn_wc/Makefile.am (1.20, milestone-2),
libsvn_wc/commit-test.c (1.26):
Renable (dynamic) building of the test tree.
* tests/libsvn_subr/Makefile.am - Add @SVN_LIBSVN_FS_LIBS@ if
building the filesystem. (This is because of the new
fs-helpers.c in libsvn_test.la)
* tests/libsvn_delta/Makefile.am - Add @SVN_LIBSVN_FS_LIBS@ if
building the filesystem. (This is because of the new
fs-helpers.c in libsvn_test.la)
* tests/libsvn_wc/Makefile.am - Add @SVN_LIBSVN_FS_LIBS@ if building
the filesystem. (This is because of the new fs-helpers.c in
libsvn_test.la)
* tests/libsvn_delta/deltaparse-test.c - Add empty definition of
test_funcs variable, required by the new combined
libsvn_test.la
* tests/libsvn_wc/commit-test.c - Add empty definition of
test_funcs variable, required by the new combined
libsvn_test.la
2001-04-18 13:14 Ben Collins-Sussman <sussman@collab.net>
* subversion/: libsvn_ra_dav/ra_dav.h (1.21), libsvn_wc/adm_ops.c
(1.54), libsvn_wc/get_editor.c (1.174), libsvn_wc/props.c (1.27),
libsvn_wc/wc.h (1.148):
Finish implementing "wc props".
* adm_ops.c (svn_wc_get_wc_prop, svn_wc_set_wc_prop): make these
existing funcs call the new, private svn_wc__wcprop_[gs]et funcs.
* get_editor.c (is_wc_prop): new helper func.
(change_dir_prop, change_file_prop): grep for "svn:wc:" on incoming
properties. If present, just call svn_wc__wcprop_set() instead of
storing them as regular props.
* ra_dav.h (SVN_RA_DAV__LP_NAMESPACE): add "svn:wc" to all wc props
coming from ra_dav. (gstein, did I get this right?)
2001-04-18 11:35 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/: README (1.61, milestone-2), adm_files.c
(1.73), props.c (1.26), wc.h (1.147):
Re-implement "wc props" as an independent thing in the SVN
administrative area.
Because wc props aren't under the user's control, nor are they
versioned in the repository fs, it's cleaner to keep them
independent. It keeps updates and commits more theoretcially pure.
(gstein: not quite there yet, hold on.)
* wc.h (SVN_WC__ADM_DPROP_BASE): kill crufty old #define.
(SVN_WC__ADM_WCPROPS, SVN_WC__ADM_DIR_WCPROPS): new
administrative files to hold wc-props.
(svn_wc__wcprop_path): new func to get path to wcprops/foo or
dir-wcprops.
(svn_wc__wcprop_get): get a single wcprop.
(svn_wc__wcprop_set): set a single wcprop.
* README: add description of 'wcprops/' and 'dir-wcprops'.
* adm_files.c (init_adm): create these new items when initializing
a working copy.
(svn_wc__wcprop_path): new func to get path to wcprops/foo or
dir-wcprops.
* props.c (wcprop_list): get list of all wcprops.
(svn_wc__wcprop_get): get a single wcprop.
(svn_wc__wcprop_set): set a single wcprop.
2001-04-18 09:24 Kevin Pilch-Bisson <kevin@pilch-bisson.net>
* notes/multi-args.txt (1.4, milestone-2):
Removed unnecessary assumption that no "../blah" paths exist in TL.
PR: Obtained from: Submitted by: Reviewed by:
2001-04-18 09:03 C. Michael Pilato <cmpilato@collab.net>
* subversion/mod_dav_svn/: Makefile.am (1.15), merge.c (1.6):
* mod_dav_svn/merge.c
(dav_svn__merge_response): Renamed use of svn_fs_dir_delta to
svn_repos_dir_delta.
* mod_dav_svn/Makefile.am
Now link to libsvn_repos, too. (Did I get this right? I don't have
Apache installed on my machine)
2001-04-17 17:50 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/entries.c (1.94):
* entries.c (resolve_to_defaults): fix bug whereby a
property-timestamp ended up in two places whenever the update
editor received a directory propchange. The timestamp should only
live in THIS_DIR, not in its parent's subdir entry.
The *real* problem is in svn_wc_get_entries(): this is a small
symptom of a larger Iceberg-size change that needs to be made. In
essence, get_entries needs to *stop* searching for information
outside the immediate directory it's loading up, and all of its
callers need to stop assuming that the entries hash returned will
be perfectly complete.
2001-04-17 16:56 Karl Fogel <kfogel@collab.net>
* notes/multi-args.txt (1.3):
Clarify.
2001-04-17 16:50 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_repos/.cvsignore (1.1, milestone-2):
Another file missed in checkin...geepers.
2001-04-17 16:48 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_repos/: .cvsignore (1.1, milestone-2),
repos-test.c (1.1), run-repos-tests.sh (1.1, milestone-2):
Doh! Some forgotten stuff!
* libsvn_ra_dav/.cvsignore
* libsvn_repos/.cvsignore
Things to be ignored by CVS.
* libsvn_repos/repos-test.c
Uh...forgot to add this file to CVS. It holds the test dir_delta
formerly found in tests/libsvn_fs/fs-test.c
* libsvn_repos/run-repos-tests.sh
Edited copy of tests/libsvn_fs/run-fs-tests.sh.
2001-04-17 16:17 Karl Fogel <kfogel@collab.net>
* notes/fs-improvements.txt (1.6):
Finished (a), fleshed out (c) a lot more, pretended (b) is done.
2001-04-17 16:13 C. Michael Pilato <cmpilato@collab.net>
* configure.in (1.80, milestone-2), subversion/include/svn_fs.h
(1.79), subversion/libsvn_fs/tree.c (1.72),
subversion/libsvn_repos/delta.c (1.41),
subversion/libsvn_repos/reporter.c (1.2),
subversion/tests/fs-helpers.c (1.2, milestone-2),
subversion/tests/fs-helpers.h (1.2, milestone-2),
subversion/tests/libsvn_fs/Makefile.am (1.17, milestone-2),
subversion/tests/libsvn_fs/dir-delta-editor.c (1.3),
subversion/tests/libsvn_fs/dir-delta-editor.h (1.3),
subversion/tests/libsvn_fs/fs-test.c (1.75),
subversion/tests/libsvn_repos/Makefile.am (1.3, milestone-2):
More changes toward getting the libsvn_repos and libsvn_fs
thingamabobs straightened out.
* configure.in
(FS_BASED_TESTS): Add libsvn_repos to list of filesystem-based
tests.
(AC_OUTPUT): Added tests/libsvn_repos/Makefile to list of Makefiles
we wish to generate.
* subversion/include/svn_fs.h
* subversion/libsvn_fs/tree.c
* subversion/libsvn_repos/delta.c
(svn_fs_get_file_delta_stream): Rename from svn_fs_file_delta.
Caller(s) changed.
* subversion/libsvn_repos/reporter.c
(svn_repos_finish_report): Changed reference from svn_fs_dir_delta
to svn_repos_dir_delta.
* subversion/tests/fs-helpers.h
* subversion/tests/fs-helpers.c
* subversion/tests/libsvn_fs/fs-test.c
(svn_test__create_greek_tree): Function moved from
tests/libsvn_fs/fs-test.c, renamed from greek_tree_under_root.
(svn_test__check_greek_tree): Function moved from
tests/libsvn_fs/fs-test.c, renamed from
check_greek_tree_under_root.
* subversion/tests/libsvn_fs/fs-test.c
* subversion/tests/libsvn_repos/repos-test.c
(dir_deltas): Moved this function from fs-test.c to repos-test.c.
test_funcs extern array updated in both files to reflect the
deletion/addition of the dir_deltas test case.
* subversion/tests/libsvn_fs/Makefile.am
* subversion/tests/libsvn_repos/Makefile.am
Moved dir-delta-editor.c from tests/libsvn_fs to
tests/libsvn_repos. Karl once again h4x0r3d the RCS filez.
* subversion/tests/libsvn_fs/dir-delta-editor.c
* subversion/tests/libsvn_fs/dir-delta-editor.h
See ya, ladies.
2001-04-17 15:07 Greg Stein <gstein@lyra.org>
* subversion/libsvn_subr/svn_error.c (1.61):
Print the parent pool while debugging.
2001-04-17 15:07 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_local/Makefile.am (1.8, milestone-2):
Make sure to grab libsvn_repos, too, when building dynamically.
2001-04-17 14:54 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_fs.h (1.78), include/svn_repos.h (1.3),
libsvn_fs/Makefile.am (1.40), libsvn_fs/delta.c (1.40),
libsvn_fs/tree.c (1.71), libsvn_repos/Makefile.am (1.4,
milestone-2), libsvn_repos/delta.c (1.40):
* include/svn_fs.h
* include/svn_repos.h
(svn_fs_dir_delta): Moved this prototype from svn_fs.h to
svn_repos.h, renaming the function to svn_repos_dir_delta.
* libsvn_fs/Makefile.am
* libsvn_repos/Makefile.am
(delta.c): Moved this file from libsvn_fs/ to libsvn_repos/ (Karl
hacked the RCS to preserve history for this change).
* libsvn_repos/delta.c
New file (with the history and contents of libsvn_fs/delta.c).
* libsvn_fs/delta.c
Nah nah naaaaah nah, nah nah naaaaah nah, hey hey -- you get the
point.
* libsvn_fs/tree.c
(svn_fs_file_delta): New home for this function since delta.c no
longer exists in libsvn_fs/
(svn_repos_dir_delta): Renamed from svn_fs_dir_delta.
(svn_fs_file_delta): Moved to libsvn_fs/tree.c
2001-04-17 12:41 C. Michael Pilato <cmpilato@collab.net>
* configure.in (1.79), subversion/libsvn_fs/delta.c (1.39),
subversion/libsvn_repos/delta.c (1.39),
subversion/tests/Makefile.am (1.16, milestone-2),
subversion/tests/fs-helpers.c (1.1), subversion/tests/fs-helpers.h
(1.1), subversion/tests/svn_tests_main.c (1.21, milestone-2),
subversion/tests/libsvn_delta/Makefile.am (1.16),
subversion/tests/libsvn_fs/Makefile.am (1.16),
subversion/tests/libsvn_fs/fs-test.c (1.74),
subversion/tests/libsvn_fs/skel-test.c (1.18),
subversion/tests/libsvn_ra_local/Makefile.am (1.6, milestone-2),
subversion/tests/libsvn_repos/Makefile.am (1.2),
subversion/tests/libsvn_subr/Makefile.am (1.18),
subversion/tests/libsvn_subr/hashdump-test.c (1.20, milestone-2),
subversion/tests/libsvn_subr/stringtest.c (1.8, milestone-2),
subversion/tests/libsvn_wc/Makefile.am (1.19):
The following is all about changes to the C-based test harness and
related tests. Ouch. If I never have to paste the text ", pool"
again, it will be too soon.
* configure.in
(SVN_TESTS_MAIN_LIBS): Got rid of separate SVN_TESTS_EDITOR_LIBS,
merging it into SVN_TESTS_MAIN_LIBS.
(BUILD_FS_STUFF): New automake conditional for use in
tests/Makefile.am
* subversion/libsvn_fs/delta.c
Sweeping change: removed POOL field from struct context, and added
POOL arguments to all functions herein that require it. Also used
subpools in places where it seemed useful to do so.
* subversion/tests/Makefile.am
Added some comments, and made use of new BUILD_FS_STUFF conditional
for deciding (based on the existence of the Berkeley DB libs)
whether or not to include fs-helpers.c in the build of the SVN
tests library.
* subversion/tests/fs-helpers.c
* subversion/tests/fs-helpers.h
New files to hold functions intended to be shared by tests/libsvn_fs
and tests/libsvn_repos (when the latter comes to exist).
* subversion/tests/svn_tests_main.c
Removed global POOL extern, adding a POOL argument to the test
function prototype. From now on, tests using this harness will be
handed their own POOL to play with--no more of this global pool
nonsense.
(main): We now hand a fresh pool to each test we call, clearing it
out after the test is finished before calling the next test.
* subversion/tests/libsvn_delta/Makefile.am
* subversion/tests/libsvn_fs/Makefile.am
* subversion/tests/libsvn_ra_local/Makefile.am
* subversion/tests/libsvn_repos/Makefile.am
* subversion/tests/libsvn_ra_local/Makefile.am
* subversion/tests/libsvn_wc/Makefile.am
No longer refer to SVN_TESTS_EDITOR_LIBS. All the stuff in the
tests/ directory is referenced with just SVN_TESTS_MAIN_LIBS.
* subversion/tests/libsvn_fs/skel-test.c
* subversion/tests/libsvn_fs/fs-test.c
* subversion/tests/libsvn_subr/hashdump-test.c
* subversion/tests/libsvn_subr/stringtest.c
Sweeping changes to remove the global POOL variable, adding POOL as
a passed-in argument to all test cases (and inevitably, most of
the helper functions as well).
* subversion/tests/libsvn_fs/fs-test.c
(berkeley_error_handler, fs_new, create_fs_and_repos,
stream_to_string, set_file_contents, get_file_contents, typedef
struct tree_test_entry_t, typedef struct tree_test_t,
get_dir_entries, validate_tree_ (validate_tree, typedef struct
txn_script_command_t, txn_script_exec): Functions moved to new
shared codebase tests/fs-helpers.c (with prototypes in
tests/fs-helpers.h, and semi-public symbol names prefixed with
"svn_test__")
2001-04-17 05:51 Greg Stein <gstein@lyra.org>
* subversion/libsvn_delta/svndiff.c (1.22, milestone-2):
Shut down the stream -> window mechanism in the correct order.
Closing the stream first could inadvertently throw out the parent of
our subpool.
(window_handler): swap order of pool destruction and stream closing.
2001-04-16 19:58 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/version.c (1.25):
In certain cases, two collection nodes should be treated as
equivalent. Don't reject this case when a CHECKOUT occurs.
(dav_svn_checkout): check for an immediate parent/child relationship
between the requested node ID and the transaction's ID. this
"change" occurs during bubble up scenarios, but also during normal
processing (yet it would be impossible for a client to specify the
node in the txn, so even if the node has real changes, they should
be considered equivalent (although real changes should not have
happened before a checkout...))
2001-04-16 19:52 Greg Stein <gstein@lyra.org>
* subversion/: include/svn_fs.h (1.77), libsvn_fs/id.c (1.23,
milestone-2), libsvn_fs/id.h (1.11, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done, milestone-2):
Make svn_fs__is_parent a public function. Fix small bug in the
function.
* include/svn_fs.h (svn_fs_is_parent): new declaration
* libsvn_fs/id.c (svn_fs_is_parent): renamed from svn_fs__is_parent.
Add an extra check to ensure that 14.1.3.1.7.1 is not a child of
14.1.
* libsvn_fs/id.h (svn_fs__is_parent): removed declaration
2001-04-16 18:53 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/repos.c (1.48):
Fix the version resource URI parsing. It didn't handle the root path
case properly (slash - path was *way* off).
(dav_svn_parse_version_uri): fix parsing for root path
2001-04-16 18:05 Karl Fogel <kfogel@collab.net>
* notes/fs-improvements.txt (1.5):
Plurality fix. But that doesn't mean this is ready for YOU to read,
oh, no, not at all. It isn't ready. I just fixed some grammar,
okay? Thank you.
2001-04-16 18:00 Karl Fogel <kfogel@collab.net>
* notes/fs-improvements.txt (1.4):
Chop chop. Don't read this. I mean it.
2001-04-16 17:58 Karl Fogel <kfogel@collab.net>
* notes/alpha_checklist (1.10):
Formatting fix.
2001-04-16 17:58 Karl Fogel <kfogel@collab.net>
* notes/fs-improvements.txt (1.3):
Brain dump, still not done.
2001-04-16 17:34 Karl Fogel <kfogel@collab.net>
* notes/fs-improvements.txt (1.2):
Put not-yet-ready notice at top.
2001-04-16 17:30 Karl Fogel <kfogel@collab.net>
* notes/fs-improvements.txt (1.1):
Document in progress, related to item (B) in alpha_checklist. Not
ready for public consumption yet, I'm just checking in so Ben can
read this on the train. If you are not Ben, do not read this yet.
Or if you do read it, I don't want to hear about it. :-)
2001-04-16 17:18 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: svn_output.py (1.6),
xml_tests.py (1.2):
* svn_output.py (compare_sets, line_matches_regexp): rewrite and
rename these routines into a more Genealized Set Comparison
system, as a result of discussion with Karl.
* xml_tests.py (xml_checkout, xml_commit, xml_test_1, xml_test2):
call new svn_output funcs and change expected lines to regexps.
2001-04-16 17:14 Ben Collins-Sussman <sussman@collab.net>
* configure.in (1.78):
BugFix: library dependency ordering within variable.
2001-04-16 15:52 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_repos.h (1.2),
libsvn_ra_local/Makefile.am (1.7), libsvn_ra_local/ra_local.h
(1.15, milestone-2), libsvn_ra_local/ra_plugin.c (1.29),
libsvn_ra_local/update.c (1.8), libsvn_repos/Makefile.am (1.3),
libsvn_repos/reporter.c (1.1):
Move 'reporter' functionality (for updates) into libsvn_repos.
* reporter.c: new file, copied over from libsvn_ra_local/update.c.
* ra_local.h (svn_ra_local__set_path, svn_ra_local__finish_report,
svn_ra_local__report_baton_t): remove declarations
* svn_repos.h (svn_repos_set_path, svn_repos_finish_report,
svn_repos_report_baton_t): move here, with new names.
* ra_plugin.c (do_update, svn_ra_reporter_t): use reporter functions
with their new svn_repos prefix.
* libsvn_repos/Makefile.am: build reporter.c
* libsvn_ra_local/Makefile.am: stop building update.c
2001-04-16 14:58 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/libsvn_repos/Makefile.am (1.1):
Adding libsvn_repos test area
2001-04-16 14:15 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_repos/Makefile.am (1.2):
Bugfix from gstein
2001-04-16 14:14 Ben Collins-Sussman <sussman@collab.net>
* subversion/include/svn_repos.h (1.1):
Oops, forgot to add this file.
2001-04-16 13:31 Ben Collins-Sussman <sussman@collab.net>
* configure.in (1.77), subversion/include/svn_fs.h (1.76),
ac-helpers/svn-define-libs.m4 (1.3, milestone-2),
subversion/libsvn_fs/Makefile.am (1.39),
subversion/libsvn_fs/editor.c (1.37),
subversion/libsvn_ra_local/ra_plugin.c (1.28),
subversion/libsvn_repos/Makefile.am (1.1),
subversion/libsvn_repos/README (1.1, milestone-2),
subversion/libsvn_repos/commit_editor.c (1.1),
subversion/tests/libsvn_fs/fs-test.c (1.73):
Start moving existing code into new 'libsvn_repos' library.
This library represents tools that are needed by filesystem callers,
but aren't strictly part of the filesystem. (Rather, these tools
are built on *top* of svn_fs.h)
* libsvn_repos, Makefile.am: new files
* libsvn_repos/commit_editor.c: renamed from plain 'editor.c' in
libsvn_fs.
(svn_repos_get_editor): newly prefixed name. also, remove
unnecessary svn_fs__check_fs() call.
* svn_repos.h (svn_repos_get_editor,
svn_repos_commit_hook_t):
new file, move declarations in here with new 'svn_repos' name
prefixes.
* svn_fs.h (svn_fs_get_editor, svn_fs_commit_hook_t): remove old
declarations.
* configure.in (FS_BASED_DIRS): add libsvn_repos to definition.
(AC_OUTPUT): build libsvn_repos/Makefile
(LIBSVN_CLIENT_DEPS): if you're building fs, build repos lib too.
* libsvn_ra_local/ra_plugin.c (get_commit_editor): call renamed
svn_repos_get_editor, and #include svn_repos.h
* libsvn_fs/Makefile.am: stop compiling editor.c
* svn-define-libs.m4: define SVN_LIBSVN_REPOS_LIBS
* fs-test.c (call_functions_with_unopened_fs): remove get_editor
test at the bottom; this will be moved into libsvn_repos' own test
suite.
2001-04-16 10:42 Ben Collins-Sussman <sussman@collab.net>
* www/project_status.html (1.17):
Updating status page.
2001-04-16 08:00 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.31), repos.c (1.47):
Check the Content-Type header to see what is being PUT to the
server, and process the (diff) stream accordingly.
* dav_svn.h (struct dav_resource_private): add (hacky) is_svndiff
flag.
* repos.c (struct dav_stream): add a new writable stream field.
(dav_svn_get_resource): check the Content-Type header and set the
is_svndiff flag.
(dav_svn_open_stream): open an svndiff->txdelta stream if
is_svndiff has been set.
(dav_svn_close_stream): close the wstream, if present
(dav_svn_write_stream): write to the svndiff/txdelta stream, or
create a window for writing plain text.
2001-04-16 07:38 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/merge.c (1.4):
More fixes for MERGE processing (commits).
(merge_elements[]): note that we need to collect CDATA for some
elements
(handle_resource): relax a check because the server is taking short
cuts
(validate_element): return _VALID for the merge_response child so
that we actually get called on its children!
(end_element): fill in an error when response_has_error gets set.
(svn_ra_dav__merge_activity): drop the callbacks into the merge
context
2001-04-16 07:35 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/merge.c (1.5):
(send_response): fix the XML response; the DAV:status should go
outside of the DAV:prop element
(dav_svn__merge_response): fix the location of the DAV:status
element. add an [incorrect] resource type for the VCC.
2001-04-16 06:33 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: commit.c (1.47), merge.c (1.3):
Bug fixes.
* commit.c (checkout_resource): add some error returns, clarify
another.
* merge.c (svn_ra_dav__merge_activity): fix XML request
2001-04-16 06:31 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/version.c (1.24):
sync with latest dav_hooks_vsn
2001-04-16 05:35 Greg Stein <gstein@lyra.org>
* subversion/libsvn_subr/svn_error.c (1.60):
Allow svn_error_init_pool() to be called more than once.
Fix a bug: svn_boolean_t* is NOT compatible with a void**. The hash
function would end up storing a void* into the svn_boolean_t
variable. If there was a width or alignment problem, then this would
break horribly.
(svn_error__get_error_pool): use temp void* variable for fetching
values from the userdata.
(svn_error_init_pool): see if an error pool exists already, and bail
if one has been found.
2001-04-16 05:29 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: activity.c (1.5), dav_svn.h (1.30),
merge.c (1.4), repos.c (1.46):
Miscellaneous changes to get MERGE to work properly.
* activity.c (dav_svn_get_txn, dav_svn_store_activity,
dav_svn_create_activity): const-ify the "repos" parameter.
change all callers.
* dav_svn.h: add "const" to some params. add DAV_SVN_RESTYPE_UNSET
to distinguish a restype which hasn't been set from the
ROOT_COLLECTION
* merge.c (send_response): build_uri shouldn't add an href, we'll do
it; handle the ap_fputstrs() return type properly.
(mr_replace_root): the root dir is passed to close_directory. make
sure that we have a subpool for it to destroy.
* repos.c (dav_svn_get_resource): init the error pool.
2001-04-16 05:16 Greg Stein <gstein@lyra.org>
* subversion/libsvn_fs/id.c (1.22):
The distance from 4.1 to 4.1.8.1 is one, not zero. When branching,
the node revision causing the branch is a change, so count it.
(distance_from_prefix): compute the correct distance for branches
2001-04-16 01:59 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/merge.c (1.3):
Flesh out the response generation code.
(send_response): change the return type to svn_error_t. take an
additional "is_dir" parameter. change all callers. write the
implementation.
(dav_svn__merge_response): handle some error conditions.
2001-04-16 01:57 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.29), util.c (1.13):
Add a type for building the "public" URI.
* dav_svn.h (DAV_SVN_BUILD_URI_PUBLIC): new enumeration value
* util.c (dav_svn_build_uri): add case for _PUBLIC
2001-04-16 00:02 Greg Stein <gstein@lyra.org>
* tools/cvs2svn/design-notes.txt (1.2, milestone-2):
add an email I received from John. add my thoughts.
2001-04-15 20:13 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: svn_test_main.py (1.4),
xml_tests.py (1.1):
In process: almost done porting our two .sh scripts to python. Of
course, this time, the system can automatically *verify* successful
tests (like our C tests.) No more human grepping of results. :)
* svn_test_main.py (remove_wc): new utility func.
(file_append): new utility func
* xml_tests.py: new tests!
2001-04-15 18:28 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.28), merge.c (1.2),
version.c (1.23):
Initial draft work for MERGE response generation.
(compiles, not tested)
* dav_svn.h (dav_svn__merge_response): adjust declaration. change
callers.
* merge.c: mucho new code.
2001-04-15 18:25 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.27), liveprops.c (1.20,
milestone-2), repos.c (1.45), util.c (1.12), version.c (1.22):
Change dav_svn_build_uri() to take a repository rather than a full
resource.
* dav_svn.h (dav_svn_build_uri): alter declaration. change all
callers.
* util.c (dav_svn_build_uri): use new param structure
2001-04-15 17:35 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_local/update.c (1.7):
Just ran across this...
(svn_ra_local__set_path): use apr_palloc since we don't need the mem
zeroed.
2001-04-15 17:27 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svn_output.py (1.5):
(compare_line_lists): bugfix, this routine now works.
2001-04-15 07:16 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: Makefile.am (1.14), dav_svn.h (1.26),
merge.c (1.1), version.c (1.21):
Move the response body generation out to a new function (in a new
file).
* merge.c: new file. implements new function --
dav_svn__merge_response
* Makefile.am: add merge.c
* dav_svn.h: declare dav_svn__merge_response
* version.c (dav_svn_merge): check for SVN_ERR_FS_CONFLICT, rather
than assuming any error is a conflict. shift draft output code to
merge.c and use dav_svn__merge_response instead.
2001-04-14 14:13 Greg Stein <gstein@lyra.org>
* subversion/tests/clients/cmdline/svn_output.py (1.4):
I don't believe that I've ever seen a Python script that has spacing
like that. Gotta kill that style before it spreads... Otherwise, it
Just Isn't Python. :-)
2001-04-14 10:41 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svn_output.py (1.3):
Some patches from gstein. Module still not debugged yet.
2001-04-14 06:00 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: commit.c (1.46), merge.c (1.2),
ra_dav.h (1.20):
Implement client-side handling of the MERGE request and response
processing.
* merge.c (merge_elements[]): add new XML elements to process
(enum merge_rtype): new enum
(struct merge_ctx_t): expand with new context data for processing
(add_ignored): new function to deal with URLs that appear within a
DAV:ignored-set element.
(bump_resource): new function to save the vsn URL, bump the
revision, and commit a single resource.
(handle_resource): new function to process a resource once its
data has been gathered from the MERGE response.
(validate_element): expand for add'l processed elements
(start_element): implement
(copy_href): new function to help with copying a DAV:href element
(end_element): implement
(svn_ra_dav__merge_activity): add some params. set up the add'l
context data. return any error that may have been generated.
* commit.c (commit_close_edit): adjust params to
svn_ra_dav__merge_activity
* ra_dav.h (svn_ra_dav__merge_activity): add new params
(ENUM_baseline): new enumerated constant
2001-04-14 05:52 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/version.c (1.20):
Begin handling for the MERGE method.
(open_txn): new function. factored out of dav_svn_checkout. given a
name, it opens the svn_fs_txn_t object.
(dav_svn_checkout): use new open_txn function.
(dav_svn_merge): new function to perform a DAV MERGE
(struct dav_svn_hooks_vsn): add new merge hook
2001-04-14 05:49 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/util.c (1.11):
(dav_svn_simple_parse_uri): path should be non-const to prevent
warnings from ap_getparents and ap_no2slash. (and it really is
non-const)
2001-04-14 05:47 Greg Stein <gstein@lyra.org>
* subversion/libsvn_subr/svn_string.c (1.12):
Refactor to prevent double alloc.
(create_string): new function to alloc and fill in an svn_string_t
(svn_string_ncreate): use new create_string function.
(svn_string_createv): use new create_string function.
2001-04-12 18:59 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svn_output.py (1.2):
(svn_output.compare_line_lists): saving work, new untested func
2001-04-12 18:48 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: README (1.2), svn_output.py
(1.1):
Adding more shared routines
2001-04-12 14:55 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_client/commit.c (1.37),
libsvn_ra_local/checkout.c (1.9, milestone-2):
* libsvn_client/commit.c
(send_file_contents): Use subpool for local allocations.
* libsvn_ra_local/checkout.c
(send_file_contents): Use subpool for local allocations.
2001-04-12 13:11 Karl Fogel <kfogel@collab.net>
* subversion/: svn-dev.el (1.6),
tests/clients/cmdline/example_tests1.py (1.2),
tests/clients/cmdline/svn_entry.py (1.4, milestone-2),
tests/clients/cmdline/svn_test_main.py (1.3):
* svn-dev.el: Set up python mode defaults for Subversion.
* svn_entry.py, svn_test_main.py, example_tests1.py: Load
svn-dev.el.
2001-04-12 10:01 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svn_entry.py (1.3):
(svn_entryparser.handle_start_tag): derive missing ancestry,
revision, and kind values, just like our C parser does.
2001-04-12 08:58 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/svn_entry.py (1.2):
Correctly object-orient this script, as suggested by gstein.
2001-04-12 04:01 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_subr/svn_error.c (1.59), include/svn_error.h
(1.98):
* libsvn_subr/svn_error.c
* include/svn_error.h
(svn_pool_create, svn_pool_clear, svn_pool_destroy): Wrapped these
prototypes in macro checks. When SVN_POOL_DEBUG is #define-d,
these function prototypes become macro calls to
svn_pool_create_debug, svn_pool_clear_debug, and
svn_pool_destroy_debug, respectively. The *_debug version of these
functions print pool usage stats to stderr. JimB is The Friggin'
Man for suggesting this to me (though he never asked me to commit
these changes to CVS...I get full blame if this is a no-no).
2001-04-12 03:02 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_error.h (1.97), libsvn_client/commit.c
(1.36), libsvn_delta/svndiff.c (1.21), libsvn_delta/text_delta.c
(1.32, milestone-2), libsvn_delta/xml_output.c (1.37, milestone-2),
libsvn_delta/xml_parse.c (1.154, milestone-2), libsvn_fs/dag.c
(1.91), libsvn_fs/editor.c (1.36), libsvn_fs/fs.c (1.41),
libsvn_fs/trail.c (1.10, milestone-2), libsvn_fs/tree.c (1.70),
libsvn_fs/txn.c (1.40), libsvn_ra_dav/commit.c (1.45),
libsvn_ra_local/checkout.c (1.8), libsvn_ra_local/ra_plugin.c
(1.27), libsvn_ra_local/split_url.c (1.9, milestone-2),
libsvn_subr/base64.c (1.17, milestone-2), libsvn_subr/quoprint.c
(1.4, milestone-2), libsvn_subr/svn_error.c (1.58),
libsvn_subr/xml.c (1.37, milestone-2), libsvn_wc/adm_crawler.c
(1.89), libsvn_wc/adm_ops.c (1.53), libsvn_wc/get_editor.c (1.173),
svnadmin/main.c (1.10), tests/svn_tests_main.c (1.20),
tests/libsvn_delta/deltaparse-test.c (1.66),
tests/libsvn_delta/random-test.c (1.22, milestone-2),
tests/libsvn_wc/commit-test.c (1.25):
* libsvn_subr/svn_error.c
* include/svn_error.h
(svn_pool_destroy): New abstraction for apr_pool_destroy.
(svn_pool_get_size): New function for querying the size of
allocations in a given pool and its children.
* client/main.c
* libsvn_client/commit.c
* libsvn_delta/svndiff.c
* libsvn_delta/text_delta.c
* libsvn_delta/xml_output.c
* libsvn_delta/xml_parse.c
* libsvn_fs/editor.c
* libsvn_fs/fs.c
* libsvn_fs/trail.c
* libsvn_fs/tree.c
* libsvn_fs/txn.c
* libsvn_ra_dav/commit.c
* libsvn_ra_local/checkout.c
* libsvn_ra_local/ra_plugin.c
* libsvn_ra_local/split_url.c
* libsvn_subr/base64.c
* libsvn_subr/quoprint.c
* libsvn_subr/xml.c
* libsvn_wc/adm_crawler.c
* libsvn_wc/adm_ops.c
* libsvn_wc/get_editor.c
* svnadmin/main.c
* tests/svn_tests_main.c
* tests/libsvn_delta/deltaparse-test.c
* tests/libsvn_delta/random-test.c
* tests/libsvn_wc/commit-test.c
Global change of all uses of apr_pool_destroy to the new
svn_pool_destroy (for symmetry, and to allow for easier debugging
without tainting APR).
* libsvn_fs/dag.c
(make_node_immutable): Use a subpool for the copy of the
NODE-REVISION skel, and free it when finished with it.
2001-04-12 02:54 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/delta.c (1.38), libsvn_repos/delta.c
(1.38):
* libsvn_fs/delta.c
Some of this code remains #define'd out until it can be further
debugged...what a fragile, fragile, chunk of source.
(add_file_or_dir): Added source arguments to use as copyfrom args
to editor functions (and to pass on for further comparison of
files and dirs)
(find_nearest_entry): Renamed from replace_with_nearest, and
changed to only locate the nearest entry so the caller can do
something with it, instead of actually acting on the best match
like it previously did.
(delta_dirs): Changed to make use of find_nearest_entry.
2001-04-11 11:45 Ben Collins-Sussman <sussman@collab.net>
* subversion/: libsvn_fs/delta.c (1.37), libsvn_repos/delta.c
(1.37):
(delta_dirs): supply args in *correct* order to delta_proplists()
Broken (and fixed) by cmpilato. This closes PR 353.
2001-04-10 17:12 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: svn_entry.py (1.1),
svn_test_main.py (1.2):
New python script: implements get_entries() using expat.
2001-04-10 10:33 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/editor.c (1.35):
* libsvn_fs/editor.c
(close_file): Bug fix: it pains me to see us freeing stuff out of
order. Ouch.
2001-04-10 10:05 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/: client_test.py (1.4),
common.sh (1.2), example_tests1.py (1.1), svn_test_main.py (1.1):
Modularize the main testing function, and provide a sample template
script.
2001-04-10 07:18 Lee P. W. Burgess <lefty@red-bean.com>
* subversion/tests/clients/cmdline/client_test.py (1.3):
* subversion/subversion/tests/client/cmdline/client_test.py
Changed shebang line to python recommended #!/usr/bin/env python
2001-04-09 21:11 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/client_test.py (1.2):
Filling stuff out.
2001-04-09 20:22 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/clients/cmdline/client_test.py (1.1):
Woop, there it is.
2001-04-09 13:44 C. Michael Pilato <cmpilato@collab.net>
* www/project_status.html (1.16):
I'm late, I'm late, for a very important _______.
2001-04-09 13:02 C. Michael Pilato <cmpilato@collab.net>
* www/project_status.html (1.15):
A little more filling in my donut, please
2001-04-09 11:01 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_ra_local/.cvsignore (1.2, milestone-2):
Sharpened and tough, slide right my past my lips and stab a little
farther. "That's not good enough," she says. "You'll have to try a
little harder."
2001-04-09 10:45 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/delta.c (1.36), libsvn_repos/delta.c
(1.36), tests/libsvn_fs/fs-test.c (1.72):
* libsvn_fs/delta.c
(replace_file_or_dir, add_file_or_dir, delete): Renamed some
arguments for clarity's sake, and added some more restrictive
error-checking to passed arguments.
(replace_with_nearest): Re-commissioned this function.
(delta_dirs): Go back to trying replace_with_nearest when we can't
immediately find a matching relative entry during a directory
comparison.
* tests/libsvn_fs/fs-test.c
(dir_deltas): Added new case to test results of filesystem copies.
2001-04-09 10:44 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/svn_test_editor.c (1.23, milestone-2):
* tests/svn_test_editor.c
(add_or_replace_dir, add_or_replace_file): Bug fix: make sure that
copyfrom_path is non-NULL before referencing into it.
2001-04-09 10:44 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_subr/svn_string.c (1.11):
* libsvn_subr/svn_string.c
(svn_string_set): Bug fix: svn_string_ensure makes sure that a
string is big enough to hold N bytes of data, but doesn't actually
update the LEN field of the string, so we must update that
ourselves when copying new contents into a previously existing
string.
2001-04-09 09:33 Daniel Stenberg <daniel@haxx.se>
* www/project_status.html (1.14):
I updated the "Last Week's Activities" to give the impression that
we actually update this page on a regular basis! ;-) Feel free to
edit my blurb or to add other. PR: Obtained from: Submitted by:
Reviewed by:
2001-04-06 15:31 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha_short (1.2):
tweaks
2001-04-06 14:58 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha_short (1.1):
Very short summary of alpha_checklist.
2001-04-06 13:19 Brian Fitzpatrick <fitz@red-bean.com>
* notes/alpha_checklist (1.9):
Added notes from the meeting on the 5th.
2001-04-05 14:45 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha_checklist (1.8):
Checking in notes/agenda for ongoing discussions in SF this week.
2001-04-05 14:16 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_fs/nodes-table.c (1.19,
premerge_strings-reps-dev, milestone-2):
(svn_fs__new_successor_id): remove erroneous svn_fs__track_dbt()
call, which fixes the double-free() bug.
Submitted by RADICS Peter <mitch@lbcons.net>.
2001-04-04 16:38 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_client/commit.c (1.35), libsvn_fs/delta.c
(1.35), libsvn_ra_local/checkout.c (1.7), libsvn_repos/delta.c
(1.35):
* libsvn_fs/delta.c
(send_text_delta): Remember to free windows post-consumption.
* libsvn_ra_local/checkout.c
(send_file_contents): Remember to free windows post-consumption.
* libsvn_client/commit.c
(send_file_contents): Remember to free windows post-consumption.
2001-04-03 13:25 Greg Stein <gstein@lyra.org>
* subversion/: include/svn_string.h (1.46, milestone-2),
libsvn_subr/svn_string.c (1.10):
Add a simple "set to this value" function.
* svn_string.h (svn_string_set): new declaration
* svn_string.c (svn_string_set): new implementation
2001-04-03 08:29 Kevin Pilch-Bisson <kevin@pilch-bisson.net>
* subversion/libsvn_client/add.c (1.11, milestone-2):
Move display of repeated add to client from libsvn_client, since not
all clients will have a console.
* libsvn_client/add.c - change to wrap the error instead of handle
it.
* client/add-cmd.c - handle a return of SVN_ERR_WC_ENTRY_EXISTS as a
warning
2001-04-03 05:29 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: Makefile.am (1.10), commit.c (1.44),
merge.c (1.1), options.c (1.5), props.c (1.4), ra_dav.h (1.19):
Begin implementation of the MERGE request to commit the transaction.
* Makefile.am: add merge.c file
* commit.c (commit_close_edit): add call to
svn_ra_dav__merge_activity
* options.c, props.c: move ELEM_* element defintions to ra_dav.h
* ra_dav.h: add ELEM_* element definitions. add declaration of
svn_ra_dav__merge_activity().
* merge.c (svn_ra_dav__merge_activity): new file. initial
implementation
2001-04-02 21:16 Brian Fitzpatrick <fitz@red-bean.com>
* subversion/: clients/win32/svn_com/MarshalArray.h (1.4,
milestone-2), clients/win32/svn_com/SVN.h (1.3, milestone-2),
clients/win32/svn_com/SVNStatus.h (1.3, milestone-2),
clients/win32/svn_com/StdAfx.h (1.2, milestone-2),
clients/win32/svn_com/dlldatax.c (1.2, milestone-2),
clients/win32/svn_com/dlldatax.h (1.2, milestone-2),
clients/win32/svn_com/misc.h (1.3, milestone-2),
clients/win32/svn_com/svn_comCP.h (1.3, milestone-2),
include/svn_base64.h (1.9, milestone-2), include/svn_client.h
(1.32), include/svn_delta.h (1.150, milestone-2),
include/svn_error.h (1.96), include/svn_fs.h (1.75),
include/svn_hash.h (1.15), include/svn_io.h (1.36, milestone-2),
include/svn_path.h (1.31), include/svn_quoprint.h (1.2,
milestone-2), include/svn_ra.h (1.55, milestone-2),
include/svn_string.h (1.45), include/svn_test.h (1.12,
milestone-2), include/svn_types.h (1.61), include/svn_wc.h (1.88),
include/svn_xml.h (1.30, milestone-2), libsvn_client/add.c (1.10),
libsvn_client/apply_edits.c (1.15, milestone-2),
libsvn_client/checkout.c (1.18, milestone-2),
libsvn_client/client.h (1.12, milestone-2), libsvn_client/commit.c
(1.34), libsvn_client/delete.c (1.9, milestone-2),
libsvn_client/diff.c (1.2, milestone-2), libsvn_client/import.c
(1.4, milestone-2), libsvn_client/status.c (1.12, milestone-2),
libsvn_client/update.c (1.16), libsvn_delta/compose_editors.c
(1.16, milestone-2), libsvn_delta/default_editor.c (1.7,
milestone-2), libsvn_delta/delta.h (1.54, milestone-2),
libsvn_delta/svndiff.c (1.20), libsvn_delta/text_delta.c (1.31),
libsvn_delta/track_editor.c (1.4, milestone-2),
libsvn_delta/vdelta.c (1.10, milestone-2),
libsvn_delta/xml_output.c (1.36), libsvn_delta/xml_parse.c (1.153),
libsvn_fs/convert-size.c (1.11, milestone-2),
libsvn_fs/convert-size.h (1.7, milestone-2), libsvn_fs/dag.c
(1.90), libsvn_fs/dag.h (1.42, milestone-2), libsvn_fs/dbt.c (1.18,
milestone-2), libsvn_fs/dbt.h (1.18, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done, milestone-2),
libsvn_fs/delta.c (1.34), libsvn_fs/editor.c (1.34),
libsvn_fs/err.c (1.28, milestone-2), libsvn_fs/err.h (1.24,
postmerge_strings-reps-dev, premerge_strings-reps-dev,
strings-reps-dev-done, milestone-2), libsvn_fs/fs.c (1.40),
libsvn_fs/fs.h (1.19), libsvn_fs/id.c (1.21), libsvn_fs/id.h
(1.10), libsvn_fs/node-rev.c (1.10, milestone-2),
libsvn_fs/node-rev.h (1.9, milestone-2), libsvn_fs/nodes-table.c
(1.18), libsvn_fs/nodes-table.h (1.9, premerge_strings-reps-dev,
milestone-2), libsvn_fs/rev-table.c (1.12), libsvn_fs/rev-table.h
(1.7, postmerge_strings-reps-dev, premerge_strings-reps-dev,
strings-reps-dev-done, milestone-2), libsvn_fs/skel.c (1.27,
milestone-2), libsvn_fs/skel.h (1.19, milestone-2),
libsvn_fs/trail.c (1.9), libsvn_fs/trail.h (1.8,
postmerge_strings-reps-dev, premerge_strings-reps-dev,
strings-reps-dev-done, milestone-2), libsvn_fs/tree.c (1.69),
libsvn_fs/tree.h (1.6, postmerge_strings-reps-dev,
premerge_strings-reps-dev, strings-reps-dev-done, milestone-2),
libsvn_fs/txn-table.c (1.23), libsvn_fs/txn-table.h (1.13),
libsvn_fs/txn.c (1.39), libsvn_fs/txn.h (1.11,
postmerge_strings-reps-dev, premerge_strings-reps-dev,
strings-reps-dev-done, milestone-2), libsvn_fs/validate.c (1.6,
postmerge_strings-reps-dev, premerge_strings-reps-dev,
strings-reps-dev-done, milestone-2), libsvn_fs/validate.h (1.3,
postmerge_strings-reps-dev, premerge_strings-reps-dev,
strings-reps-dev-done, milestone-2), libsvn_repos/delta.c (1.34),
libsvn_ra/ra_loader.c (1.6, milestone-2), libsvn_ra_dav/commit.c
(1.43), libsvn_ra_dav/fetch.c (1.50), libsvn_ra_dav/options.c
(1.4), libsvn_ra_dav/props.c (1.3), libsvn_ra_dav/ra_dav.h (1.18),
libsvn_ra_dav/session.c (1.22, milestone-2),
libsvn_ra_local/checkout.c (1.6), libsvn_ra_local/ra_local.h
(1.14), libsvn_ra_local/ra_plugin.c (1.26),
libsvn_ra_local/split_url.c (1.8), libsvn_ra_local/update.c (1.6),
libsvn_subr/base64.c (1.16), libsvn_subr/hashdump.c (1.24,
milestone-2), libsvn_subr/io.c (1.35, milestone-2),
libsvn_subr/keysort.c (1.9), libsvn_subr/path.c (1.33),
libsvn_subr/quoprint.c (1.3), libsvn_subr/svn_error.c (1.57),
libsvn_subr/svn_string.c (1.9), libsvn_subr/target.c (1.4),
libsvn_subr/xml.c (1.36), libsvn_wc/adm_crawler.c (1.88),
libsvn_wc/adm_files.c (1.72), libsvn_wc/adm_ops.c (1.52),
libsvn_wc/entries.c (1.93), libsvn_wc/get_editor.c (1.172),
libsvn_wc/local_changes.c (1.27, milestone-2), libsvn_wc/lock.c
(1.23, milestone-2), libsvn_wc/log.c (1.89), libsvn_wc/props.c
(1.25), libsvn_wc/questions.c (1.51, milestone-2),
libsvn_wc/status.c (1.28), libsvn_wc/util.c (1.17, milestone-2),
libsvn_wc/wc.h (1.146), mod_dav_svn/activity.c (1.4),
mod_dav_svn/dav_svn.h (1.25), mod_dav_svn/deadprops.c (1.11,
milestone-2), mod_dav_svn/liveprops.c (1.19),
mod_dav_svn/mod_dav_svn.c (1.19, milestone-2), mod_dav_svn/repos.c
(1.44), mod_dav_svn/util.c (1.10), mod_dav_svn/version.c (1.19),
svnadmin/main.c (1.9), tests/svn_test_editor.c (1.22),
tests/svn_tests_main.c (1.19), tests/libsvn_delta/deltaparse-test.c
(1.65), tests/libsvn_delta/random-test.c (1.21),
tests/libsvn_delta/svndiff-test.c (1.12, milestone-2),
tests/libsvn_delta/vdelta-test.c (1.8, milestone-2),
tests/libsvn_delta/xml-output-test.c (1.14, milestone-2),
tests/libsvn_fs/dir-delta-editor.c (1.2),
tests/libsvn_fs/dir-delta-editor.h (1.2), tests/libsvn_fs/fs-test.c
(1.71), tests/libsvn_fs/skel-test.c (1.17),
tests/libsvn_ra_local/ra-local-test.c (1.9, milestone-2),
tests/libsvn_repos/dir-delta-editor.c (1.2, milestone-2),
tests/libsvn_repos/dir-delta-editor.h (1.2, milestone-2),
tests/libsvn_subr/hashdump-test.c (1.19),
tests/libsvn_subr/stringtest.c (1.7),
tests/libsvn_subr/target-test.c (1.4),
tests/libsvn_wc/checkout-test.c (1.42, milestone-2),
tests/libsvn_wc/commit-test.c (1.24):
Update copyright from 2000 to 2000-2001. Used gstein's script to
make it all happen. Thanks, Greg.
2001-04-02 20:27 Karl Fogel <kfogel@collab.net>
* subversion/svnadmin/main.c (1.8):
(main): Correct typo, with thanks to Greg Stein, who is, might I
add, sitting next to me as I write this, though he appears not to be
reading this log message over my shoulder, oh well.
2001-04-02 20:13 Karl Fogel <kfogel@collab.net>
* subversion/svnadmin/main.c (1.7):
(main): Make `lstxn' print out the txn trees too.
(usage): Adjust.
2001-04-02 19:16 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_fs.h (1.74), libsvn_fs/delta.c (1.33),
libsvn_repos/delta.c (1.33):
* include/svn_fs.h
Docstring changes throughout.
* libsvn_fs/delta.c
Docstring changes throughout.
(delta_proplists, delta_dir_props, delta_file_props): Combined the
functionality of these functions into a single delta_proplists.
2001-04-02 18:25 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.68):
Add comment about solution to merging problem.
2001-04-02 09:47 Kevin Pilch-Bisson <kevin@pilch-bisson.net>
* subversion/: libsvn_client/add.c (1.9), libsvn_wc/entries.c
(1.92):
Subversion now warns on repeated addition of the same entry.
* libsvn_client/add.c (svn_client_add) - Handle (as a warning), the
(new) specific return of SVN_ERR_WC_ENTRY_EXISTS returned from
svn_wc_add_file and svn_wc_add_dir.
* libsvn_wc/entries.c (interpret_changes) - Return
SVN_ERR_WC_ENTRY_EXITS when adding an already existing entry.
2001-04-01 22:29 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/id.c (1.20):
* libsvn_fs/id.c
Some changes (thanks, G. Stein, for another public whipping :-).
(svn_fs_id_length): Increased readibility of no-op loop.
(svn_fs_id_distance): Increased readibility and correctness of no-op
loop.
2001-03-30 15:33 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.87):
Bugfix. This bug has annoyed me for way too long.
* adm_crawler.c (svn_wc_crawl_local_mods): don't just throw commit
errors upwards. Remove all your locks in the working copy
*first*!
2001-03-30 15:07 Ben Collins-Sussman <sussman@collab.net>
* notes/post-m2-mtg-agenda.txt (1.2):
Merged this file into alpha-checklist, so it's no longer needed.
2001-03-30 15:06 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha_checklist (1.7):
Reorganized this list into 3 broad categories.
2001-03-30 14:26 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_subr/hashdump.c (1.23):
(svn_pack_bytestring): don't forget the pool arg when hand-building
an svn_string_t. This means that the change to "internalize" pools
in svn_string_t wasn't complete. Thanks for spotting this, gstein.
:)
2001-03-30 14:20 Karl Fogel <kfogel@collab.net>
* notes/post-m2-mtg-agenda.txt (1.1):
Appx agenda for meeting next week.
2001-03-30 13:32 Ben Collins-Sussman <sussman@collab.net>
* configure.in (1.76), subversion/include/svn_ra.h (1.54),
subversion/libsvn_ra/ra_loader.c (1.5),
subversion/libsvn_ra_dav/session.c (1.21),
subversion/libsvn_ra_local/ra_plugin.c (1.25):
Really, *really* paint the bikeshed. Try running 'svn -v' now.
Fitz: sorry I did this. I really needed the therapy! But I don't
know how to do longopts, so maybe someone can make --version work.
* help-cmd.c (print_generic_help): bikeshed paint tweak.
(print_version_info): new func
(svn_cl__help): call print_version_info if necessary.
* main.c (main): parse the -v option into opt_state.
* cl.h (svn_cl__opt_state_t): add boolean "version" flag.
* svn_ra.h (svn_ra_print_ra_libraries): new declaration
* ra_loader.c (svn_ra_print_ra_libraries): new func
* configure.in (AM_INIT_AUTOMAKE): more descriptive version.
* ra_plugin.c (ra_local_plugin): shorter description.
* session.c (dav_plugin): shorter description.
2001-03-30 10:14 Ben Collins-Sussman <sussman@collab.net>
* configure.in (1.75):
* configure.in (AC_INIT_AUTOMAKE): may as well start labeling the
build as M2, since we're close.
* help-cmd.c (print_generic_help): paint the bikeshed, similar to
CVS's shade.
2001-03-30 10:00 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_ra_dav/commit.c (1.42):
(commit_stream_close): fix a typo that was preventing compile.
2001-03-30 07:56 Greg Stein <gstein@lyra.org>
* subversion/libsvn_fs/nodes-table.c (1.17):
(svn_fs__new_node_id): make it more obvious that we return in one of
the failure branches.
2001-03-30 07:14 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/commit.c (1.41):
Continued work on committing.
PUT is now enabled (and the MKACTIVITY and CHECKOUT processes are
working).
(struct put_baton_t): new struct for holding the data for a PUT.
(simple_request): ensure the request is destroyed before returning
(create_activity): copy the activity_url that is returned by the
get_func. it doesn't have a pool, so we can't expand it to add a
component to it.
(checkout_resource): ensure the request is destroyed before
returning. only store the path portion of the working resource URL.
make sure to free() the location dup'd by http_duplicate_header.
(commit_stream_write): new function to drop the delta stream into a
tmp file.
(commit_stream_close): new function to take the saved delta stream
and deliver it to the server.
(commit_send_txdelta): removed
(commit_apply_txdelta): implement to use svn_txdelta_to_svndiff()
and the new commit_stream_write/close functions for deliverying the
delta to the server.
2001-03-30 07:06 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/options.c (1.3):
(svn_ra_dav__get_activity_url): make sure the request gets destroyed
(don't exit the function without destroying it)
2001-03-30 06:46 Greg Stein <gstein@lyra.org>
* subversion/libsvn_fs/dag.c (1.89):
Raise your hand if you tested putting binary data into the FS. Heh.
That's what I thought.
(svn_fs__dag_set_contents): use svn_fs__mem_atom for the (binary)
data.
Unrelated change:
(svn_fs__dag_make_copy): use apr_psprintf() rather than the
svn_string functions. Much simpler. Also reformat some lines.
2001-03-30 05:58 Greg Stein <gstein@lyra.org>
* subversion/libsvn_delta/svndiff.c (1.19):
Bug fix: the window handler did not return errors from closing the
stream. When ra_dav received the "close stream", it would send it
to the server; server errors need to be propagated back to the
driver of the window handler.
(window_handler): return the error
2001-03-30 04:03 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: util.c (1.9), version.c (1.18):
* util.c (dav_svn_simple_parse_uri): clean up the URI before parsing
it
* version.c (dav_svn_checkout): use the correct root (the txn root)
2001-03-29 17:41 Jim Blandy <jimb@redhat.com>
* subversion/libsvn_fs/trail.c (1.8):
* trail.c (commit_trail): Call txn_checkpoint each time we complete
a trail.
2001-03-29 17:31 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_wc.h (1.87), libsvn_client/delete.c
(1.8), libsvn_wc/adm_files.c (1.71), libsvn_wc/adm_ops.c (1.51),
libsvn_wc/entries.c (1.91), libsvn_wc/log.c (1.88), libsvn_wc/wc.h
(1.145):
* include/svn_wc.h
(svn_wc_delete): Renamed from svn_wc_delete_file, and changed the
FILE argument to PATH.
* libsvn_client/delete.c
(svn_client_delete): Renamed FILE argument to PATH, and changed to
call freshly renamed svn_wc_delete.
* libsvn_wc/adm_files.c
(svn_wc__adm_subdir): Implement this trivial function.
(svn_wc__adm_destroy): New function (with #if 0'd contents) for
future use (thought I needed it today for removing directories
from revision control, but we're putting off support for removing
directories until post-M2.
* libsvn_wc/adm_ops.h
(svn_wc_delete): Renamed from svn_wc_delete_file, and changed
accordingly.
* libsvn_wc/entries.c
(resolve_to_defaults): Re-instated (and fixed) some code to read
"this dir"'s flags from its entry in its parent's entries file so
long as we can accurately determine its name in the parent's
entries file. This will change in the future when we implement a
new policy regarding the reading of entries files (see notes that
Ben is supposed to be checking in soon).
* libsvn_wc/log.c
(remove_from_revision_control): Changed to accept flag for whether
or not to remove the working file. Also, modified to begin
support for removing directories from revision control.
(log_do_delete_entry): Changed call to remove_from_revision_control
to say, "Please clean up my working files."
(log_do_committed): Fixed to properly handle committed directories,
and changed call to remove_from_revision_control to say, "Um,
please don't mess with my working files."
* libsvn_wc/wc.h
(svn_wc__adm_destroy): New function prototype.
2001-03-29 17:30 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/id.c (1.19):
* libsvn_fs/id.c
(svn_fs_id_distance): Bug fix for slight logic mistake.
2001-03-29 09:31 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_fs/editor.c (1.33):
(decrement_dir_ref_count): prevent segfault when we recurse on a
NULL parent from the root dir baton.
Patch submitted by Daniel Stenberg <daniel@haxx.se>.
2001-03-29 09:24 Ben Collins-Sussman <sussman@collab.net>
* notes/dav_setup.txt (1.5):
Add permissions note.
2001-03-29 08:07 Ben Collins-Sussman <sussman@collab.net>
* notes/auth_proposal.txt (1.1, milestone-2):
An idea for an auth system.
2001-03-29 07:34 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/commit.c (1.40):
Big revmap to streamline the resource handling: unify
dir_baton/file_baton; toss add_resource; introduce add_child;
checkout_resource() takes a resource rather than a URL (and other
simplifications); revise all/most editor callbacks for new
checkout_resource and baton construction; pick up VR URLs from the
WC props; etc
2001-03-29 06:26 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/fetch.c (1.49):
Store the version URL for the collections, too.
2001-03-29 05:52 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/repos.c (1.43):
Ensure that we don't create paths like "//foo".
(dav_svn_do_walk): don't add "/" if the last character is already a
slash.
2001-03-29 05:36 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/options.c (1.2):
Remove some debugging stuff that was accidentally left in.
2001-03-29 04:52 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/commit.c (1.39):
Some tidbit cleanup before the real work begins.
(commit_ctx_t): add the callback funcs, the close_baton, and the
log_msg
(create_activity): use the get_func to fetch the activity_url
(svn_ra_dav__get_commit_editor): store the callbacks, close_baton,
log_msg
2001-03-29 04:23 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.24), repos.c (1.42),
version.c (1.17):
Add support for Working Baselines. This will (eventually) be used as
a way to attach the log message to a transaction.
* dav_svn.h (DAV_SVN_RESTYPE_WBL_COLLECTION): new define
(dav_svn_create_working_resource): remove redundant repos_path
argument
* repos.c (dav_svn_parse_wkr_baseline_uri): new function
(special_subdirs[]): added "wbl" subdir
(dav_svn_prep_working): handling working baselines by skipping out
on most of the code, since a working baseline does not have a
direct correspondence to an FS structure.
(dav_svn_create_working_resource): remove the repos_path argument.
add support for creating working baseline resources.
* version.c (dav_svn_checkout): remove repos_path argument to the
dav_svn_create_working_resource call.
2001-03-29 03:57 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.23), repos.c (1.41), util.c
(1.8), version.c (1.16):
Add a new function to parse URIs sent within a request body, and use
it to parse the "activity ID" out of a CHECKOUT request.
Validate that the version resource being checked out corresponds to
the "latest".
* dav_svn.h (struct dav_svn_uri_info, dav_svn_simple_parse_uri): new
definition and declaration
* repos.c: couple comments is all
* util.c (dav_svn_simple_parse_uri): new function
* version.c (dav_svn_checkout): parse the activity ID out of the
provided href. validate the VR being checked out is the "latest".
2001-03-29 02:17 Greg Stein <gstein@lyra.org>
* subversion/include/: svn_delta.h (1.149), svn_error.h (1.95),
svn_io.h (1.35), svn_types.h (1.60), svn_wc.h (1.86), svn_xml.h
(1.29):
Add some #includes to various headers to pick up the things that
they need, rather than implicitly depending on svn_types.h to do it.
Also shift some of the C++ stuff to its proper location.
svn_types.h should have some includes ripped out of it since the
header doesn't actually depend on them, but it creates too many
warnings across the code to deal with, so the includes are still
there for now.
2001-03-28 18:09 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/ra_dav.h (1.17):
whoops. one more change for latest RA interface.
2001-03-28 18:05 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/fetch.c (1.48):
sync with latest RA change
2001-03-28 18:02 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: fetch.c (1.47), ra_dav.h (1.16),
session.c (1.20):
Add support for RA->get_latest_revnum to enable "svn status" to
work.
* ra_dav.h (svn_ra_dav__get_latest_revnum): new declaration
* session.c (dav_plugin): add svn_ra_dav__get_latest_revnum into its
slot
* fetch.c (svn_ra_dav__get_latest_revnum): new function
2001-03-28 17:52 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_wc.h (1.85), libsvn_client/Makefile.am
(1.15, milestone-2), libsvn_client/commit.c (1.33),
libsvn_client/import.c (1.3):
Get a brain:
* include/svn_wc.h (svn_wc_import): Remove declaration.
* libsvn_client/import.c: Removed, code transferred to commit.c.
* libsvn_client/Makefile.am (libsvn_client_la_SOURCES): Removed
import.c.
* libsvn_client/commit.c (import): New internal func, was
svn_wc_import.
2001-03-28 17:49 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_error.h (1.94), include/svn_ra.h (1.53),
libsvn_client/update.c (1.15), libsvn_ra_local/ra_plugin.c (1.24),
libsvn_ra_local/update.c (1.5), libsvn_wc/adm_crawler.c (1.86):
Slight change to RA's "update" interface, as discussed with gstein.
* svn_ra.h (do_update): remove base_revision argument.
* ra_plugin.c (do_update): remove base_revision arg; don't create
the transaction here.
* update.c (svn_ra_local__set_path): create the initial transaction
*here* instead, assuming that the first call is on the update
target dir itself.
* adm_crawler.c (svn_wc_crawl_revisions): make sure that the very
first path we report is "".
* svn_error.h (SVN_RA_BAD_REVISION_REPORT): new errortype.
* update.c (svn_client_update): call do_update correctly.
Unrelated:
(get_common_path): remove this cruft, Kevin Pilch-Bisson wrote the
real thing.
2001-03-28 17:39 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error.h (1.93), include/svn_wc.h (1.84),
libsvn_client/import.c (1.2), libsvn_wc/adm_files.c (1.70):
Protect against importing "SVN/" subdirs.
* libsvn_client/import.c (svn_wc_import, import_dir): Check name
before importing.
* include/svn_wc.h (SVN_WC_ADM_DIR_NAME): New #define.
* libsvn_wc/adm_files.c (SVN_WC__ADM_DIR_DEFAULT): Removed in favor
of public SVN_WC_ADM_DIR_NAME.
(adm_subdir): Adjust for above.
* include/svn_error.h (svn_errno_t): New error
SVN_ERR_CL_ADM_DIR_RESERVED.
Fix related to the previous commit that moved import.c:
* libsvn_client/import.c: Don't #include "wc.h".
Notes on the first change:
This may or may not resolve Kevin Pilch-Bisson's recent bug report,
see
PR: 340
and these dev mails
<20010328114611.A20048@pilch-bisson.net>
<86ae65kdxt.fsf@newt.ch.collab.net>
<20010328123804.A20221@pilch-bisson.net>
<864rwdkban.fsf@newt.ch.collab.net>
I haven't closed the PR yet, as there may be more to this issue.
2001-03-28 17:20 Greg Stein <gstein@lyra.org>
* STACK (1.87):
clean up
2001-03-28 16:45 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_client/Makefile.am (1.14),
libsvn_client/import.c (1.1), libsvn_wc/Makefile.am (1.28,
milestone-2), libsvn_wc/import.c (1.3):
Put import.c in libsvn_client instead of libsvn_wc, as suggested by
Greg Stein:
* libsvn_wc/import.c: Moved to ../libsvn_client.
* libsvn_wc/Makefile.am (libsvn_wc_la_SOURCES): Removed import.c.
* libsvn_client/import.c: New file, copied from ../libsvn_wc.
Repository history not kept, as wasn't much anyway.
* libsvn_client/Makefile.am (libsvn_client_la_SOURCES): Added
import.c.
2001-03-28 15:56 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha_checklist (1.6):
Note need for 'svn revert': we can just copy the SVN/text-base/
file back out into the working copy, no repository communication
necessary.
2001-03-28 15:50 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_fs/editor.c (1.32):
Make the fs-commit editor match the subpooling/reference-counting
behavior of the wc-update editor. This allows efficient memory
usage (an independent pool for each dir and file baton), as well as
allowing the editor to be driven in a postfix-text-delta-ey way.
(struct dir_baton): add ref_count and subpool fields.
(delete_entry): use subpool.
(replace_root, add_directory, replace_directory): create a subpool
of parent's pool, allocate new dir_baton in there.
(replace_file, add_file): ditto.
(change_file_prop, change_dir_prop): duh, use baton's own subpool.
(decrement_dir_ref_count): new func.
2001-03-28 14:50 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.70):
(dir_deltas): Revert 1.65->1.66 change; i.e., don't use subpools.
The change didn't fix my bug, and anyway the subpools weren't really
addressing the intensive pool usage in the innermost loop.
2001-03-28 14:45 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha_checklist (1.5):
More things to discuss next week.
2001-03-28 12:38 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha_checklist (1.4):
Add another optimization to-do.
2001-03-28 12:23 Ben Collins-Sussman <sussman@collab.net>
* notes/dav_setup.txt (1.4):
Add extra FreeBSD note.
2001-03-28 11:40 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.69):
(test_funcs): re-enable dir_deltas test, so we can debug memory
issues with it.
2001-03-28 11:38 Karl Fogel <kfogel@collab.net>
* subversion/svnadmin/main.c (1.6):
(usage): Declare static.
2001-03-28 07:38 Kevin Pilch-Bisson <kevin@pilch-bisson.net>
* subversion/tests/libsvn_subr/: target-test.c (1.3),
target-test.sh (1.3):
Change this test to a version which compares the output to an
expected output. This should be better for checking whether
realpath works as expected on all platforms. NOTES:
(1) I have tested my implementation of condense_targets on
Linux, WinNT, and Solaris 8. Ben can you pay extra attention to
this test on your FreeBSD box?
(2) I am told that realpath is broken on older Solaris machines.
Maybe we should warn people using Solaris < 8 to run make check, and
ensure that this test passes.
(3) Anyone using BeOS, or OS2, I would expect this to fail, as I
have no implementation for svn_path_get_absolute for those
platforms.
All this realpath stuff should go away soon, because APR is going to
take care of it, but since M2 is this Sunday, I don't know whether
APR will be doing it by then or not, so I thought I would play it
safe.
2001-03-28 07:28 Kevin Pilch-Bisson <kevin@pilch-bisson.net>
* subversion/svnadmin/Makefile.am (1.3, milestone-2):
Let svnadmin be installed when make install is run
2001-03-28 05:58 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: commit.c (1.38), ra_dav.h (1.15):
Update to latest spec for RA->commit
2001-03-28 05:54 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra/ra_loader.c (1.4):
Some debug code that I used. Might be helpful for others.
2001-03-28 05:53 Greg Stein <gstein@lyra.org>
* subversion/include/svn_string.h (1.44):
Remove the __GNUC__ guards. APR handles __attribute__ for us, when
it isn't present, or is non-functional.
Move the C++ stuff to the proper location (we don't want it to apply
to other headers via a #include).
2001-03-28 05:51 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: Makefile.am (1.9), fetch.c (1.46),
options.c (1.1), ra_dav.h (1.14):
Add an OPTIONS request to fetch the collection where activities
should be created.
* options.c: new file.
(svn_ra_dav__get_activity_url): new function
* fetch.c (begin_checkout): use new svn_ra_dav__get_activity_url
function. remove old stub activity_url creation.
* ra_dav.h (svn_ra_dav__get_activity_url): new declaration
* Makefile.am: add new file (options.c)
2001-03-28 04:53 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/liveprops.c (1.18):
Enable the DAV:checked-in live property for REGULAR resources (those
in the "public" area, and in the Baseline Collections). This is
liveprop that provides the Version Resource URL to the client.
(dav_svn_insert_prop): add code to generate the DAV:checked-in prop
value
2001-03-28 04:52 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.22), util.c (1.7):
As part of the prior checkin, enable construction of the URL to the
activity-collection-set.
* dav_svn.h (DAV_SVN_BUILD_URI_ACT_COLLECTION): new enum value to
specify building the activity collection set URL
* util.c (dav_svn_build_uri): construct and return the new URL
2001-03-28 04:49 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/version.c (1.15):
Sync with the latest Apache/mod_dav changes (by John Vasta), and add
a response to the DAV:activity-collection-set OPTIONS request.
(dav_svn_set_target): removed. it is now "update" and is optional,
and we won't ever support it, so it goes away.
(dav_svn_add_label, dav_svn_remove_label): we won't provide support
for the LABEL method (although we will support DAV labels as
server-applied items), so these functions go away.
(dav_svn_hooks_vsn): revise the list of hook functions, per above.
(dav_svn_get_option): add response code for the
DAV:activity-collection-set OPTIONS request.
2001-03-28 03:35 Greg Stein <gstein@lyra.org>
* subversion/Makefile.am (1.26):
libsvn_ra_local is built conditionally. It is part of FS_BASED_DIRS
when the configure process decides to build it. This also puts
ra_local at the right spot in the sequence of building.
2001-03-28 01:20 Greg Stein <gstein@lyra.org>
* configure.in (1.74):
The ENABLE macros for --enable-debug and --enable-maintainer-mode
were wonked after the recent change from --with to --enable.
Specifically, the debug/maintainer modes were always being set(!).
2001-03-28 01:02 Greg Stein <gstein@lyra.org>
* www/testing-goals.html (1.1, milestone-2):
Draft document of goals for an automated test suite.
Submitted by: Mo DeJong <mdejong@cygnus.com>
2001-03-27 22:29 Greg Stein <gstein@lyra.org>
* configure.in (1.73):
no more tests/libsvn_ra_dav
2001-03-27 21:36 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_wc/import.c (1.2), tests/libsvn_fs/fs-test.c
(1.68):
Imports working, more edge testing still required:
* import.c (import_dir): Skip "." and ".." entries.
(svn_wc_import): Pass 0 instead of invalid revnum.
2001-03-27 21:33 Karl Fogel <kfogel@collab.net>
* subversion/svnadmin/main.c (1.5):
Print revision trees. Now we can inspect repositories from the
command line:
(print_tree, usage): New funcs.
(main): Added "youngest" and "lsrevs" commands. Use new usage()
func to print help.
2001-03-27 20:10 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.67):
(test_funcs): Comment out dir_deltas now, so make check doesn't
hang.
2001-03-27 20:09 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.66):
Whoa. When I ran fs-test.c:dir_deltas() independently via
$ ./fs-test 24
it runs okay, though a bit slow. When I run it as part of the full
test suite
$ ./fs-test
my machine grinds to a halt. Perhaps we have reached the limit of
using the same test pool for everything? The double loop that calls
svn_fs_dir_delta() might be quite a strain.
So:
* fs-test.c (dir_deltas): Use subpools.
Hmmmm. This doesn't seem to fix the grind-to-a-halt problem. Maybe
my diagnosis is wrong. On the other hand, this change didn't make
the symptoms worse. I'm committing, mainly so Mike Pilato will see
this log message and try to reproduce the problem. :-)
2001-03-27 19:18 Karl Fogel <kfogel@collab.net>
* subversion/tests/svn_tests_main.c (1.18):
(do_test_num): Newline in error message.
2001-03-27 19:13 Greg Stein <gstein@lyra.org>
* notes/dav_setup.txt (1.3):
a note about keeping Apache and SVN in sync.
2001-03-27 19:10 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_ra.h (1.52), libsvn_client/commit.c
(1.32), libsvn_ra_local/ra_plugin.c (1.23):
* svn_ra.h (svn_ra_plugin_t.get_commit_editor): Change contract --
any of get_func, set_func, and close_func may be null.
* commit.c (send_to_repos): Pass null for the commit help funcs in
the import case.
* ra_plugin.c (cleanup_commit): Check close_func exists before
calling it.
Note to Greg Stein and Ben: I didn't find any other callers to fix,
but may have missed some. You guys would probably know where they
are.
2001-03-27 19:02 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_wc/import.c (1.1):
Forgot to add these files in the last commit.
NOTE: Build may be broken right now; if so, it will be all right in
a jiffy.
2001-03-27 18:11 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_wc.h (1.83), libsvn_client/commit.c
(1.31), libsvn_wc/Makefile.am (1.27):
Import code in progress:
* include/svn_wc.h (svn_wc_import): Declare.
* libsvn_wc/import.c (svn_wc_import, import_dir, import_file,
send_file_contents): New file, new funcs.
* libsvn_wc/Makefile.am (libsvn_wc_la_SOURCES): Add import.c.
* client/import-cmd.c (svn_cl__import): New file, new func, still
skeletal.
* client/Makefile.am (svn_SOURCES): Add import-cmd.c.
* client/main.c (svn_cl__cmd_table): Add import command.
* client/cl.h (svn_cl__import): Declare.
Unrelated change:
* svn_wc.h (svn_wc_close_commit, svn_wc_crawl_local_mods):
Formatting fixes.
2001-03-27 17:56 Ben Collins-Sussman <sussman@collab.net>
* STACK (1.86), subversion/include/svn_wc.h (1.82),
subversion/libsvn_client/commit.c (1.30),
subversion/libsvn_wc/adm_ops.c (1.50):
Finish implementing WC props. This completes Change #3 in STACK.
* svn_wc.h (svn_wc_close_commit): remove this crufty old
declaration.
(svn_wc_get_wc_prop, svn_wc_set_wc_prop): new public declarations.
* adm_ops.c (svn_wc_get_wc_prop, svn_wc_set_wc_prop): implement.
* commit.c (send_to_repos): pass these two new funcs to the RA layer
* STACK: remove change #3.
2001-03-27 17:55 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/libsvn_ra_local/Makefile.am (1.5):
Suddenly tests/libsvn_ra_local/ won't build:
/usr/libexec/elf/ld: cannot find -lneon
Gstein, can you investigate? I'm temporarily disabling this dir's
build.
2001-03-27 17:23 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_ra.h (1.51), libsvn_client/commit.c
(1.29), libsvn_ra_local/ra_plugin.c (1.22):
Change RA interface for commits, supporting "WC props" fully.
* svn_ra.h (svn_ra_get_wc_prop_func_t): new RA function type.
(get_commit_editor): the client must now supply a third function of
the above type when fetching the commit editor.
* commit.c (send_to_repos): update call to get_commit_editor()
* ra_plugin.c (get_commit_editor): match new prototype.
2001-03-27 17:14 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/fetch.c (1.45):
stop passing a (fake) ancestor path to add_directory/add_file.
2001-03-27 17:02 Greg Stein <gstein@lyra.org>
* notes/dav_setup.txt (1.2):
Pointer for FreeBSD systems to get a working Apache 2.0. Other
tweaks.
2001-03-27 16:54 Greg Stein <gstein@lyra.org>
* subversion/tests/Makefile.am (1.15):
Toss all the libsvn_ra_dav "tests". They were actually little hacks
to do checkouts and commits, and have been superceded by the cmdline
client now being able to use libsvn_ra_dav.
2001-03-27 16:33 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_error.h (1.92), libsvn_delta/xml_parse.c
(1.152), libsvn_ra_local/checkout.c (1.5), libsvn_wc/get_editor.c
(1.171):
Fix bug 336; in reality, make the update editor's add_directory()
routine understand the new semantics of the "copyfrom" arguments.
(Note: gstein, I probably broke ra_dav checkouts. Make sure your
editor-driver is always passing *invalid* copyfrom args to
add_directory and add_file.)
PR: 336
* svn_error.h (SVN_ERR_UNSUPPORTED_FEATURE): new errortype
* get_editor.c (add_directory): enforce copyfrom_* argument
semantics, as described in the editor docstring. If copyfrom_args
are valid, return an UNSUPPORTED_FEATURE error. If they're
invalid, then derive them from the parent.
(add_or_replace_file): comment about future optimization.
* checkout.c (walk_tree): ra_local should pass only invalid
copyfrom args during a checkout.
* xml_parse.c (do_directory_callback): when parsing xml, pass only
invalid copyfrom args to add_directory().
2001-03-27 14:53 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/delta.c (1.32), libsvn_repos/delta.c
(1.32), tests/libsvn_fs/Makefile.am (1.15),
tests/libsvn_fs/dir-delta-editor.c (1.1),
tests/libsvn_fs/dir-delta-editor.h (1.1), tests/libsvn_fs/fs-test.c
(1.65), tests/libsvn_repos/dir-delta-editor.c (1.1),
tests/libsvn_repos/dir-delta-editor.h (1.1):
* libsvn_fs/delta.c
(replace_with_nearest): De-commissioned this function until further
notice.
(add_file_or_dir): Cosmetic changes only.
(replace_file_or_dir): Added base_revision validity check.
(delta_dirs): Changed to, instead of using the de-commissioned
replace_with_nearest, replace unrelated entries with a deleta/add
combo (with cheese, no pickles, onion rings, and Biggie-size that,
please).
* tests/libsvn_fs/dir-delta-editor.c
* tests/libsvn_fs/dir-delta-editor.h
New files for the svn_fs_dir_delta test case in fs-test.c, these
contain the implementation of an editor driven by svn_fs_dir_delta
to in turn use filesystem calls to modify the state of a
transaction tree.
* tests/libsvn_fs/Makefile.am
(dir-delta-editor.c) New file to build.
* tests/libsvn_fs/fs-test.c
#include dir-delta-editor.h and svn_delta.h now. Also, fixed some
comments in places where tree_test_entry_t's were used.
(tree_test_t): New structure for wrapping tree_test_entry_t items.
(txn_script_command_t): New structure for making quick-n-dirty edits
to a filesystem transaction.
(txn_script_exec): Function for executing the quick-n-dirty edits as
defined by the array of txn_script_command_t's.
(dir_deltas): New test case for svn_fs_dir_delta().
(test_funcs): Added reference to new test dir_deltas.
2001-03-27 13:15 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_wc.h (1.81), libsvn_client/commit.c
(1.28), libsvn_wc/adm_crawler.c (1.85),
tests/libsvn_wc/commit-test.c (1.23):
* commit.c (send_to_repos): Continuing to spec out import case.
* svn_wc.h, adm_crawler.c (svn_wc_crawl_local_mods): Don't take
target hash pointer any more, it is a vestige of old callers. Just
keep the hash internally instead. All callers changed.
2001-03-27 12:38 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_client.h (1.31), include/svn_wc.h
(1.80), libsvn_client/commit.c (1.27):
* svn_client.h, commit.c (svn_client_import): Interface fix.
* commit.c (send_to_repos): Adjust for above.
(svn_client_import, svn_client_commit): Adjust for above.
* svn_wc.h (svn_wc_crawl_local_mods): Doc cleanups, in preparation
for import changes.
2001-03-27 12:05 Ben Collins-Sussman <sussman@collab.net>
* notes/dav_setup.txt (1.1):
mod_dav_svn: try it at home, kids\!
2001-03-27 11:59 Ben Collins-Sussman <sussman@collab.net>
* subversion/tests/Makefile.am (1.14):
Comment out libsvn_ra_dav temporarily.
gstein, something you did last night prevents tests/libsvn_ra_dav
from linking. But I don't have time to figure it out. :)
2001-03-27 11:40 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.67):
(svn_fs_merge): Clarify issues in a todo item.
2001-03-27 08:32 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: fetch.c (1.44), props.c (1.2),
session.c (1.19):
Get DAV-based checkouts to work. (yeah!)
* fetch.c (starting_props[]): fetch the resourcetype so we can
verify that the accessed resource is a collection.
(fetch_file): add a placeholder error return to catch problems
(begin_checkout): add placeholder error returns. print out the
intermediate URLs as we track down the BC.
(svn_ra_dav__do_checkout): compare against bc_root rather than
ras->root to determine whether we're at/in the root.
* props.c (create_private): clean trailing slashes from the URL; use
a non-const variable (url_path) while working on the URL, then copy
into r->url.
(end_element): restructure so that we don't punt on DAV_ELM_href
right off the bat. we need to process that special. *then* look up
non-href elements' definitions.
(svn_ra_dav__get_props): set up the pool variable in the context.
use APR_EGENERAL in the placeholder errors rather than 0 (which is
success).
(svn_ra_dav__get_props_resource): use "url" consistently rather than
ras->root.
* session.c (svn_ra_open): clean trailing slashes from the root
path.
2001-03-27 08:19 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.21), liveprops.c (1.17),
repos.c (1.40), util.c (1.6):
Various bugfixes.
* dav_svn.h (dav_svn_build_uri): add new "add_href" parameter
* liveprops.c (SVN_PROPID_baseline_relative_path): start this value
at 1 rather than zero. The latter means "not found" (so the property
wasn't working at all)
(dav_svn_insert_prop): use new add_href parameter to
dav_svn_build_uri
* repos.c (dav_svn_prep_version): use new add_href parameter
(dav_svn_walk): repos_path can be null for resources without a
corresponding FS resource. watch out when we try to walk these.
note that a "walk" is implicitly depth==0; these resources have
no children since they are purely logical.
* util.c (dav_svn_build_uri): implement new "add_href" parameter.
this will wrap the constructed URI in DAV:href elements.
2001-03-27 05:59 Greg Stein <gstein@lyra.org>
* subversion/: libsvn_ra_dav/Makefile.am (1.8),
libsvn_ra_local/Makefile.am (1.6):
when linking shared-lib forms, ensure they reference their dependent
libs
2001-03-27 04:28 Greg Stein <gstein@lyra.org>
* autogen.sh (1.37):
track the rename of the suggested switches for developers.
2001-03-27 04:27 Greg Stein <gstein@lyra.org>
* configure.in (1.72):
Rename --with-debug and --with-maintainer-mode to --enable-debug and
--enable-maintainer-mode.
Submitted by: Mo DeJong <mdejong@redhat.com>
2001-03-27 03:57 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/: Makefile.am (1.7), fetch.c (1.43),
props.c (1.1), ra_dav.h (1.13):
Major revamp for the checkout process.
Specifically, we no longer check out from the "public" space since
the revisions could bump during our checkout. Instead, we head off
to a baseline and check that out (baseline == FS revision tree).
Refactored property fetching out into props.c.
==> UNTESTED
* Makefile.am: add new props.c file
* fetch.c (starting_props[], vcc_props[], baseline_props[]): new
sets of props to fetch from various resources.
(fetch_elems[], struct resource_t, fetch_ctx_t, create_private,
pfind_results, validate_element, start_element, end_element):
nuked (struct subdir_t): new structure for tracking subdirs to
process (struct file_read_ctx_t): new structure for use during file
download
(get_vsn_url): new function
(fetch_dirents): new parameter set (rather than passing via "fc").
use new svn_ra_dav__get_props() and process its results.
(fetch_file_reader): use new file_read_ctx_t
(fetch_file): new parameter set (rather than passing via "fc").
use new file_read_ctx_t. switch to svn_ra_dav_resource_t. vsn_url
is now retrieved by get_vsn_url rather than available in the
resource structure.
(begin_checkout): implement
(svn_ra_dav__do_checkout): revamp for all of above
(svn_ra_dav__do_update): update params to latest spec
* ra_dav.h (svn_ra_dav__do_update): update params to latest spec
(SVN_RA_DAV__PROP_*): new defines
(struct svn_ra_dav_resource_t): new structure to hold property and
resource information discovered during a PROPFIND.
(svn_ra_dav__get_props, svn_ra_dav__get_props_resource): new
declarations
2001-03-27 03:25 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/repos.c (1.39):
Fix the walking when a REGULAR resource occurs at arbitrary points
in the URL namespace. Specifically, they occur in the "public" URL
space and also as part of the Baseline Collections. In this case,
repos_path != uri_path, so we need to track them separately when
walking the tree.
(struct dav_svn_walker_context): add repos_path string member for
telescoping the repository path.
(dav_svn_do_walk): handle the new repos_path member
(dav_svn_walk): prepare the new repos_path member
2001-03-27 03:08 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.20), repos.c (1.38):
Process Baseline resource URIs.
* dav_svn.h (DAV_SVN_RESTYPE_BLN_COLLECTION): new enumerated
constant
* repos.c (dav_svn_parse_baseline_coll_uri): don't tweak if we don't
find a slash character. it means they are referring to the root.
(dav_svn_parse_baseline_uri): new function
(special_subdirs[]): add entry for the baselines
2001-03-27 03:05 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/deadprops.c (1.10):
(dav_svn_db_nextkey): make sure that a hash index is available
before skipping to the next one. (if the hash was empty, then
firstkey ends up setting db->hi == NULL)
2001-03-27 01:53 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/liveprops.c (1.16):
(dav_svn_insert_prop): handle the DAV:checked-in property for VCCs
2001-03-26 18:32 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/: adm_crawler.c (1.84), entries.c (1.90),
status.c (1.27):
We have a convention about how working-copy entry info is stored.
Make *retrieval* match this convention.
- If the object is a file, then *all* info is in its entry. Any
missing URL or revision info is implicitly inherited from
THIS_DIR.
- If the object is a dir, but not THIS_DIR, then the entry should
contain *only* a "name" and "kind" field, and optionally some
state flags (ADD, DELETE, etc.)
- If the object is THIS_DIR, all ancestry is *required*. This is
also where to find timestamps and other info. (The reason its
flags are in the parent are because adds/deletes are changes to
the parent, not the dir.)
PR: 325 It also paves the way for 'svn cp' to work correctly
someday.
* entries.c (resolve_to_defaults): take a path argument, the one
that produced the *entries hash. Add better logic for deriving
ancestry at the bottom of this routine.
(read_entries): take new boolean arg, indicating whether it's okay
to search up and down for missing entry info.
(svn_wc_entries_read): call read_entries with TRUE flag.
* adm_crawler.c (report_local_mods): when committing an added dir,
be sure to supply "copyfrom" args that are either both invalid or
both valid. Also be sure not to look for ADD/DELETE flags on a
THIS_DIR entry. Those should only be honored in a parent entry.
* status.c (svn_wc_statuses): make this routine recurse and build
the hash of statuses correctly, given what svn_wc_entries_read()
returns now.
2001-03-26 18:14 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_client.h (1.30), libsvn_client/commit.c
(1.26):
* commit.c (send_to_repos): New internal func for shared internals
of commit and import, the latter in progress.
(commit): Use above.
(import): New func, use above.
2001-03-26 17:02 Karl Fogel <kfogel@collab.net>
* subversion/tests/clients/cmdline/: README (1.1), common.sh (1.1):
Starting automated cmdline client test system. This may or may not
be the final form of this test system, but we need something right
now, because the cmdline client functionality has long since
ballooned to the point of needing automated tests.
2001-03-26 16:43 Karl Fogel <kfogel@collab.net>
* notes/testing_framework.txt (1.6):
Removed this redundant copy of ../subversion/tests/README.
2001-03-26 13:59 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.66):
(svn_fs_merge): Finished. This was accidentally left out of the
last commit.
2001-03-26 13:55 Karl Fogel <kfogel@collab.net>
* notes/multi-args.txt (1.2):
Added one more action item for the multi-arg drive this week.
2001-03-26 13:35 Karl Fogel <kfogel@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.64):
Cleanups to remove compile warnings and make internal interfaces
more consistent:
(fetch_youngest_rev, merge_trees): Finish.
(test_funcs): Invoke the above two tests.
(attempt_merge, test_commit_txn): Doc and interface fixes. Don't
bother to accept a conflict pointer, since no caller ever used it;
instead, just use own internal conflict holder. All callers
changed.
2001-03-26 11:04 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_fs.h (1.73), libsvn_fs/delta.c (1.31),
libsvn_repos/delta.c (1.31):
* libsvn_fs/delta.c
(get_revision_from_hash): Bug fixes to bug fixes.
(struct context): Added 'const' to editor field.
* libsvn_fs/delta.c
* include/svn_delta.h
(svn_fs_dir_delta): Added 'const' to editor argument.
2001-03-26 04:05 Greg Stein <gstein@lyra.org>
* subversion/mod_dav_svn/: dav_svn.h (1.19), deadprops.c (1.9),
liveprops.c (1.15), repos.c (1.37), util.c (1.5):
Add Version-Controlled Configurations (VCCs), Baselines, Baseline
Collections (BCs), and some live property support to enable
checkouts.
* dav_svn.h (DAV_SVN_DEFAULT_VCC_NAME): new define
(enum dav_svn_private_restype): add values for the root
collection, the collection of VCCs, the collection of BCs, and
individual VCCs. (enum dav_svn_build_what, dav_svn_build_uri): new
enum and func decl.
* deadprops.c (dav_svn_db_open): many resource types don't have dead
props, so don't "open" a propdb for them.
(dav_svn_db_fetch): detect and handle missing props
* liveprops.c (dav_svn_namespace_uris[]): add an "SVN:" namespace
(DAV_SVN_NAMESPACE_URI): new define
(DAV_SVN_NAMESPACE_URI_DAV): renamed from DAV_SVN_URI_DAV
(SVN_RO_DAV_PROP2, SVN_RW_DAV_PROP2, SVN_RO_SVN_PROP,
SVN_RW_SVN_PROP): new macros for declaring live props.
(SVN_PROPID_baseline_relative_path): new enum value
(dav_svn_props[]): new property specs
(dav_svn_insert_prop): respond to some (new) live props. use an
"empty" elem if the value is an empty string.
(dav_svn_insert_all_liveprops): use dav_svn_props[] to figure out
which liveprops to insert.
* repos.c (dav_svn_parse_version_uri, dav_svn_parse_history_uri,
dav_svn_parse_working_uri, dav_svn_parse_activity_uri,
dav_svn_parse_uri): add new "label" and "use_checked_in"
parameters.
(dav_svn_parse_vcc_uri): new function to parse VCC URLs
(dav_svn_parse_baseline_coll_uri): new function to parse BC URLs
(struct special_defn): "parse" member takes additional "label" and
"use_checked_in" parameters.
(special_subdirs[]): new entries for VCCs and BCs
(dav_svn_parse_uri): /$svn/ should be labeled as the
ROOT_COLLECTION. other PRIVATE resources should labeled
similarly.
(dav_svn_prep_regular): only fetch the "youngest" revnum if one
hasn't been specified.
(dav_svn_prep_version): implement, considering regular VRs and
Baselines.
(dav_svn_get_resource): fix processing of "relative" local var,
which propagates into "uri_path" (it was plain busted for the root
collection).
(dav_svn_getetag): many resources don't (yet) have etags. skip
them.
(dav_svn_do_walk): don't (yet) allow walking into non-REGULAR
resources
(dav_svn_walk): defer restriction of non-REGULAR walking to
dav_svn_do_walk when attempting to *descend* into the resource
(this allows "walking" a single resource (depth==0)).
* util.c (dav_svn_build_uri): new utility to build a private/special
URI.
2001-03-25 12:25 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.83):
* adm_crawler.c (report_local_mods): Bugfix: when committing, don't
assume that just because a file has been added its contents must
be sent. This is only true for *new* files. If an added file has
non-NULL history, do a real local-mod check to decide.
2001-03-25 11:33 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_ops.c (1.49):
* adm_ops.c (svn_wc_set_revision): Bugfix. After committing a
directory, remember to modify its *parent's* entry; this entry
needs to have its ADD flag removed (if present) as well as its
revision attribute updated.
2001-03-24 16:24 Greg Stein <gstein@lyra.org>
* subversion/libsvn_ra_dav/fetch.c (1.42):
track some recent reporter changes. still stubbed, tho.
2001-03-24 09:16 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_error.h (1.91), libsvn_client/add.c
(1.8):
* add.c (svn_client_add): if file or dir doesn't exist on disk,
return a polite error.
* svn_error.h (SVN_ERR_WC_PATH_NOT_FOUND): new error type.
2001-03-23 17:29 Karl Fogel <kfogel@collab.net>
* notes/multi-args.txt (1.1):
Notes for what we're starting Monday morning.
2001-03-23 17:19 Ben Collins-Sussman <sussman@collab.net>
* www/project_status.html (1.13):
oops, get the date right.
2001-03-23 17:19 Ben Collins-Sussman <sussman@collab.net>
* www/project_status.html (1.12):
update this weeks' status page.
2001-03-23 14:24 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/id.c (1.18):
* libsvn_fs/id.c
(distance_from_prefix): Bug fix: this for loop should be paying
attention only to every -other- token in the id array.
2001-03-23 13:35 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.82):
* adm_crawler.c (report_revisions): oops, majorly wrong logical
assumptions about the kinds of paths it was supposed to send to
the reporter. Rewrite.
(svn_wc_crawl_revisions): call report_revisions correctly.
2001-03-23 13:14 Kevin Pilch-Bisson <kevin@pilch-bisson.net>
* HACKING (1.27), svn_private_config.hw (1.2):
Update with a little bit of new stuff.
2001-03-23 12:28 C. Michael Pilato <cmpilato@collab.net>
* subversion/: libsvn_fs/delta.c (1.30), libsvn_repos/delta.c
(1.30):
* libsvn_fs/delta.c
Updated notes comment to reflect that this suite of functions should
no longer have a problem with the case where we nodes of the same
node but of differing node types (dirs vs. files).
(replace_with_nearest): Renamed from `replace'.
(delta_dirs): Little logic optimization.
2001-03-23 11:02 Ben Collins-Sussman <sussman@collab.net>
* subversion/: libsvn_client/update.c (1.14), libsvn_wc/adm_ops.c
(1.48), libsvn_wc/get_editor.c (1.170), libsvn_wc/wc.h (1.144):
Fix longstanding bug: after an update, *all* paths below the updated
path need to have their revisions bumped to the new revision --
whether they were patched or not.
* update.c (svn_client_update): svn_fs_dir_delta dosen't call
close_edit(), so this function has to do it.
* get_editor.c (close_edit): if this edit was an update, call
svn_wc__ensure_uniform_revision() before quitting.
* wc.h (svn_wc__ensure_uniform_revision): declare.
* adm_ops.c (svn_wc__ensure_uniform_revision): implement.
2001-03-23 09:11 C. Michael Pilato <cmpilato@collab.net>
* subversion/tests/libsvn_fs/fs-test.c (1.63):
* tests/libsvn_fs/fs-test.c
(tree_test_entry_t): Removed is_dir field. A NULL contents field
will now signify a directory (thanks for the suggestion, Karl).
Multivarious users of this structure throughout this file were
modified, using bounded M-x replace-string commands:
'0, "' -> '"'
'1, ""' -> '0'
2001-03-22 20:03 Ben Collins-Sussman <sussman@collab.net>
* subversion/: libsvn_fs/delta.c (1.29), libsvn_repos/delta.c
(1.29):
Updating file contents now works.
* delta.c (replace): fix logic bug; save best_entry as we loop.
Fix from Karl. :)
2001-03-22 19:21 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error.h (1.90), include/svn_fs.h (1.72),
libsvn_fs/tree.c (1.65), tests/libsvn_fs/fs-test.c (1.62):
As requested by Greg Stein <gstein@lyra.org>, and designed by Jim
Blandy <jimb@redhat.com>...
(...I am but a vessel...)
Provide read-only access to node revisions by ID:
* svn_fs.h, tree.c (svn_fs_id_root, svn_fs_is_id_root): New public
functions.
(svn_fs_is_different): Fix typo `svs_fs_is_different'. Add early
check for same IDs.
* tree.c: #include assert.h.
(root_kind_t): Add `id_root' kind.
(open_path): Handle id roots.
* svn_error.h (svn_errno_t): new error SVN_ERR_FS_NOT_ID.
* fs-test.c (fetch_by_id): New test.
(test_funcs): Add it.
2001-03-22 19:14 Ben Collins-Sussman <sussman@collab.net>
* subversion/: libsvn_fs/delta.c (1.28), libsvn_repos/delta.c
(1.28):
* delta.c (get_revision_from_hash): fix the way revnum values were
being pulled from the hash. Trying to forcefully cast NULL into a
(svn_revnum_t *) was causing a segfault.
2001-03-22 18:32 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_wc.h (1.79), libsvn_ra_local/update.c
(1.4), libsvn_wc/adm_crawler.c (1.81):
Gimme updates. Please.
* svn_wc.h (svn_wc_entries_read): better documentation on exactly
what this routine returns.
* adm_crawler.c (report_revisions): bugfix. rewrite according to
the promises of svn_wc_entries_read().
* update.c (svn_ra_local__finish_report): DOH! Try
**uncommenting** the call to svn_fs_dir_delta. That might help make
updates work. :)
2001-03-22 17:34 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_wc/adm_crawler.c (1.80):
Updates, updates, updates.
* adm_crawler.c (svn_wc_crawl_revisions): all new code.
(report_revisions): the recursive crawler.
2001-03-22 17:14 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha_checklist (1.3):
Add more shtuff.
2001-03-22 17:14 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/tree.c (1.64):
* libsvn_fs/tree.c
(merge): Companion to previous bug fix: notice previously merged
changes.
2001-03-22 17:00 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/tree.c (1.63):
* libsvn_fs/tree.c
(merge): Bug fix: notice previously merged changes.
2001-03-22 15:57 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_client.h (1.29), include/svn_wc.h
(1.78), libsvn_client/commit.c (1.25), libsvn_client/update.c
(1.13), libsvn_wc/adm_crawler.c (1.79):
Sprinting towards updates, <pant pant>...
* svn_client.h (svn_client_update): update interface/docstring for
M2. Also add comment on multiple target issue.
* checkout.c (svn_client_checkout): remove old comment.
* update.c (svn_client_update): total rewrite for M2.
* svn_wc.h (svn_wc_crawl_local_revisions): update interface for M2.
Also #include svn_ra.h so that it gets the svn_ra_reporter_t type.
* adm_crawler.c (svn_wc_crawl_local_revisions): update interface;
no code yet.
2001-03-22 15:45 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_test.h (1.11), tests/svn_test_editor.c
(1.21), tests/libsvn_delta/deltaparse-test.c (1.64),
tests/libsvn_wc/commit-test.c (1.22):
(svn_test_get_editor): Take new indentation and writeable stream
args, instead of forcing everyone to use the same indentation and
printing to stdout. Document output format.
All callers changed.
2001-03-22 15:28 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_ra/ra_loader.c (1.3):
* libsvn_ra/ra_loader.c
(ra_lib_defn): If initfunc is a svn_ra_init_func_t, which is a
pointer to a function, it doesn't need to be declared as *initfunc
(which is a double-pointer. Users modified. Segfaults removed.
;-)
2001-03-22 14:31 Ben Collins-Sussman <sussman@collab.net>
* notes/alpha_checklist (1.2):
Add more stuff, letter-ize the list. Oy, this list is starting to
scare me. :)
2001-03-22 13:32 Jim Blandy <jimb@redhat.com>
* subversion/include/svn_fs.h (1.71):
Doc fix.
2001-03-22 11:05 C. Michael Pilato <cmpilato@collab.net>
* STACK (1.85):
Gimme the track, get back and let me rip this up No jive, no shuck,
as I truck loads of funk for your rump So pump your fist and come
and get a bump of this.
2001-03-21 23:31 C. Michael Pilato <cmpilato@collab.net>
* subversion/: include/svn_error.h (1.89), include/svn_fs.h (1.70),
libsvn_fs/Makefile.am (1.38), libsvn_fs/delta.c (1.27),
libsvn_repos/delta.c (1.27):
* include/svn_error.h
(SVN_ERR_FS_NOT_REVISION_ROOT): New error.
* include/svn_fs.h
(svn_fs_dir_delta): Added hash argument sourth_rev_diffs to this
interface.
* libsvn_fs/delta.c
Geez. Massive rewrite of nearly everything in this file to use the
current filesystem and editor interfaces. A test-case (and I'm
sure a dozen or so bug fixes for obvious goof-ups and
not-so-obvious mistakes) is forthcoming, Karl sez. Hey, it
compiles, and it doesn't really deviate from JimB's original plan
for this suite of functions...amazing foresight this guy has, I
swear.
The following symbols were tweaked as a part of this edit:
(struct context, proplist_change_fn_t): Edited typedefs
(struct dirent_plist_baton): Removed typedefs
(file_from_scratch, dir_from_scratch, replace_related,
replace_from_scratch, add): Removed functions
(get_revision_from_hash, change_dir_prop, change_file_prop,
replace_file_or_dir, add_file_or_dir): Added functions
(delta_file_props, delta_dir_props, delta_proplists,
send_text_delta, delta_files, delete, replace, delta_dirs,
svn_fs_dir_delta, svn_fs_file_delta): Edited functions
* libsvn_fs/Makefile.am
Re-added delta.c to the build system.
2001-03-21 14:48 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.62):
Check that roots are txns, where required, as suggested by Yoshiki
Hayashi <yoshiki@xemacs.org>:
* tree.c (not_txn): New error constructor for roots.
(svn_fs_change_node_prop, svn_fs_merge, svn_fs_make_dir,
txn_body_delete, svn_fs_copy): Use it.
2001-03-21 14:21 Karl Fogel <kfogel@collab.net>
* subversion/include/svn_fs.h (1.69):
(svn_fs_merge): Doc fix.
2001-03-21 14:19 Karl Fogel <kfogel@collab.net>
* subversion/: libsvn_fs/tree.c (1.61), tests/libsvn_fs/fs-test.c
(1.61):
Bug fix:
* tree.c (merge): Construct conflict path(s) correctly.
Test it:
* fs-test.c (test_commit_txn): Take expected conflict path instead
of boolean, check that expected conflict matches received conflict.
All callers changed. Also, document this function.
2001-03-21 11:18 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.60):
More changes to support commits from non-single-revision trees:
(merge_args): Split `node' field into `ancestor_node' and
`source_node' fields. Document all fields.
(txn_body_merge): Use new field.
(svn_fs_commit_txn): Initialize new field.
(svn_fs_merge): Start to implement.
Bug fix:
(merge): Use svn_fs__dag_delete_tree instead of svn_fs__dag_delete,
when deleting unmodified subtrees from the txn.
2001-03-21 11:14 Ben Collins-Sussman <sussman@collab.net>
* subversion/libsvn_ra_local/: ra_local.h (1.13), ra_plugin.c
(1.21), update.c (1.3):
Preparing for the hashtable that will be required by
svn_fs_dir_delta.
* ra_local.c (svn_ra_local__report_baton_t): add a hashtable to the
baton.
* ra_plugin.c (do_update): initialize the baton's hashtable.
* update.c (svn_ra_local__set_path): add to hashtable as we go.
2001-03-20 19:06 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.59):
(merge): Remove duplicate error check.
2001-03-20 19:00 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.58):
(merge): Remove all references to caller's circumstances, in
preparation for larger changes that will make commits against
non-single-revision trees work.
2001-03-20 16:42 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_fs.h (1.68), libsvn_fs/tree.c (1.57),
tests/libsvn_fs/fs-test.c (1.60):
* svn_fs.h, tree.c (svn_fs_commit_txn): Allow null conflict_p.
* fs-test.c (delete): Just pass null, since we're ignoring the
conflict info anyway.
2001-03-20 16:26 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_ra.h (1.50), libsvn_ra_local/ra_local.h
(1.12), libsvn_ra_local/ra_plugin.c (1.20),
libsvn_ra_local/update.c (1.2):
* svn_ra.h (svn_ra_reporter_t): merge two func declarations into
one.
* update.c (svn_ra_local__set_path): renamed from set_directory.
(svn_ra_local__set_file): deleted.
* ra_plugin.c (ra_reporter): remove set_file.
* ra_local.h (svn_ra_local__set_path): same changes as in update.c
above.
2001-03-20 16:12 Karl Fogel <kfogel@collab.net>
* subversion/: include/svn_error.h (1.88), libsvn_fs/dag.c (1.88),
libsvn_fs/dag.h (1.41), libsvn_fs/tree.c (1.56), libsvn_fs/txn.c
(1.38), tests/libsvn_fs/fs-test.c (1.59):
Fix deletion bug reported by Yoshiki Hayashi...
From: Yoshiki Hayashi <yoshiki@xemacs.org>
To: dev@subversion.tigris.org
Subject: svn_fs_delete_tree bug fix.
Date: 19 Mar 2001 14:42:21 +0900
Message-ID: <87wv9miabm.fsf@sodan.org>
... based on the patch he submitted in that bug report:
* dag.c (delete_args, txn_body_delete): New `delete_tree' field
replaces `require_empty_dir', use to decide which dag deletion
function to call.
(svn_fs__dag_delete, svn_fs__dag_delete_tree): Adjust for above.
* dag.h, dag.c (svn_fs__dag_delete_if_mutable): New public
incarnation of delete_from_id, formerly of txn.c.
(svn_fs__dag_delete): Doc fix -- change promise: directories get
deleted only if empty, mutability is irrelevant now.
(svn_fs__dag_delete_tree): New func, delete directories even if
non-empty.
* txn.c (delete_from_id): Moved to dag.c and now called
svn_fs__dag_prune_mutable.
* svn_error.h (SVN_ERR_FS_NOT_TXN_ROOT): New error.
* fs-test.c (delete): New func, test successful and unsuccessful
deletions of individual nodes and subtrees.
2001-03-20 13:51 Greg Stein <gstein@lyra.org>
* STACK (1.84):
"They're shooting at the oilcans!"
2001-03-20 12:35 Greg Stein <gstein@lyra.org>
* subversion/: include/svn_delta.h (1.148), include/svn_fs.h
(1.67), include/svn_io.h (1.34), include/svn_ra.h (1.49),
libsvn_delta/compose_editors.c (1.15),
libsvn_delta/default_editor.c (1.6), libsvn_delta/svndiff.c (1.18),
libsvn_delta/text_delta.c (1.30), libsvn_delta/track_editor.c
(1.3), libsvn_delta/xml_output.c (1.35), libsvn_delta/xml_parse.c
(1.151), libsvn_fs/editor.c (1.31), libsvn_fs/tree.c (1.55),
libsvn_ra_dav/commit.c (1.37), libsvn_ra_dav/fetch.c (1.41),
libsvn_ra_dav/ra_dav.h (1.12), libsvn_ra_local/checkout.c (1.4),
libsvn_ra_local/ra_local.h (1.11), libsvn_subr/io.c (1.34),
libsvn_wc/adm_crawler.c (1.78), libsvn_wc/get_editor.c (1.169),
mod_dav_svn/repos.c (1.36), tests/svn_test_editor.c (1.20),
tests/libsvn_delta/random-test.c (1.20),
tests/libsvn_delta/svndiff-test.c (1.11),
tests/libsvn_delta/xml-output-test.c (1.13),
tests/libsvn_fs/fs-test.c (1.58):
Some typedefs were "functions" and others were "pointers to
functions." Unify on the latter, which also helps SWIG (it doesn't
understand the former).
* svn_delta.h (svn_txdelta_window_handler_t): make this a pointer to
a function, rather than a function typedef. Change all users.
(enum svn_delta_action): new enum, split out from the struct
svn_txdelta_op_t definition.
(svn_bump_func_t): new typedef. use in
svn_delta_get_commit_track_editor
* svn_io.h (svn_read_fn_t, svn_write_fn_t, svn_close_fn_t): change
to ptr-to-func. Change all users.
* svn_ra.h (svn_ra_close_commit_func_t, svn_ra_set_wc_prop_func_t,
svn_ra_init_func_t): change to ptr-to-func. Change all users.
* libsvn_ra_dav/commit.c (svn_ra_dav__get_commit_editor): fix
definition to match most recent decl in svn_ra.h
* libsvn_ra_dav/fetch.c (svn_ra_dav__do_checkout): fix definition to
match most recent decl in svn_ra.h
* libsvn_ra_dav/ra_dav.h (svn_ra_dav__get_commit_editor,
svn_ra_dav__do_checkout): fix declaration to match most recent
decl in svn_ra.h
2001-03-20 12:17 Greg Stein <gstein@lyra.org>
* subversion/include/svn_error.h (1.87):
* shift the C++ protection to the right place (after other headers;
we don't want to impose C naming on other headers)
* revise some of the includes
* no need to __GNUC__ the __attribute__ usage. APR will stub the
thing if it isn't available. note that NeXT says GNUC but doesn't
have __attribute__, so the test was incorrect anyways.
2001-03-20 11:20 Karl Fogel <kfogel@collab.net>
* subversion/libsvn_fs/tree.c (1.54):
(txdelta_baton_t): Comment fix.
2001-03-20 10:55 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/tree.c (1.53):
* libsvn_fs/tree.c
(txn_body_copy): Geepers...freakin' typos... (bug fix)
2001-03-19 21:24 Ben Collins-Sussman <sussman@collab.net>
* subversion/: include/svn_ra.h (1.48), libsvn_fs/delta.c (1.26),
libsvn_ra_local/Makefile.am (1.5), libsvn_ra_local/ra_local.h
(1.10), libsvn_ra_local/ra_plugin.c (1.19),
libsvn_ra_local/update.c (1.1), libsvn_repos/delta.c (1.26):
Starting hacking out a code path for updates. (This commit should
cover everything ra_local needs to do for an update.)
* svn_ra.h (do_update): change declaration and promises of RA
routine. We don't need to pass in a list of targets to update;
instead, the RA layer will update *one* target: whatever path
happens to be in the session URL. (If the client has many targets
to update, it can open an independent RA session & update for each
one. Remember that an update command isn't atomic; only commits
are.)
* ra_local.h (svn_ra_local__set_directory, svn_ra_local__set_file,
svn_ra_local__finish_report): declare in private header.
(svn_ra_local__report_baton_t): new baton type for reporter vtable.
* ra_plugin.c (set_directory, set_file, finish_report): remove
declarations.
(ra_local_reporter): use new function names.
(do_update): flesh this out for the first time.
* update.c: new file.
(svn_ra_local__set_directory): new func, adds to the transaction.
(svn_ra_local__set_file): new func, adds to the transaction.
Note: we should merge the above 2 funcs into set_path(), unless
gstein objects. No need for both of them.
(svn_ra_local__finish_report): new func, calls svn_fs_dir_delta to
drive the update editor, then aborts the transaction.
* Makefile.am: compile update.c
* delta.c (svn_fs_dir_delta): put some reminder comments in here.
2001-03-19 15:26 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/: editor.c (1.30), tree.c (1.52):
* libsvn_fs/editor.c
(replace_directory, replace_file): No need to delete before doing
the svn_fs_copy (anymore).
* libsvn_fs/tree.c
(txn_body_copy): Fixed to not restrict copies to only things that
didn't previously exist. A bit too much aggression on my part, I
must confess.
2001-03-19 12:39 C. Michael Pilato <cmpilato@collab.net>
* subversion/libsvn_fs/editor.c (1.29):
* libsvn_fs/editor.c
(close_edit): Bug fix. If an attempt to commit fails, we should
probably return that failure to the caller.
2001-03-19 06:58 Ben Collins-Sussman <sussman@collab.net>
* STACK (1.83):
Bug trackin for M2.
2001-03-19 |