If the WC walker could actually compile, and if it worked, then ra-dav-test
is effectively "svn checkout REPOSITORY-URL". It will suck down a copy of a
repository.
Internally, this is managed by svn_ra_checkout(). Not sure about the params
to that func, but that will be fine-tuning for later as the client truly
develops.
SVN's "hello world" also requires the ability to add and commit files. So...
the commit work comes next. Then it is off to the server to get that work
done.
Note: the Neon library is a little bit of a bear to get built and used. I
submitted some patches to Neon to Joe Orton last night. They should make
Neon fit right into SVN. If you don't care to mess with this, then disable
libsvn_ra_dav from the Makefile's SUBDIRS; if it remains enabled, then you
will need Neon to be in /svn/neon, and built.
Cheers,
-g
On Thu, Aug 31, 2000 at 01:52:28PM -0000, gstein@tigris.org wrote:
> User: gstein
> Date: 00/08/31 06:52:28
>
> Modified: subversion/include svn_ra.h
> subversion/libsvn_ra_dav Makefile.am fetch.c
> subversion/libsvn_ra_dav/tests ra-dav-test.c
> Added: subversion/libsvn_ra_dav commit.c
> Log:
> continued development.
> fetch.c:
> - added my_basename() to get the basename of a char* into an svn_string
> - added fetch_file() to grab files from the server
> - added logic to call walker callbacks to create the working copy
> - fetch_data is history: it becomes svn_ra_checkout()
> - svn_ra_update() is gone. the algorithm will use a walker returned by
> svn_ra_get_update_walker()
> - added svn_ra_get_update_walker() and associated functions (unused)
> commit.c:
> - added svn_ra_get_commit_walker() and associated functions (unused)
> ra-dav-test.c:
> - can't use svn_wc_get_change_walker(), so we add a temporary, internal
> debug walker to use.
> Makefile.am:
> - build commit.c and tests subdir
> svn_ra.h:
> - bring up to date with new design
--
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:07 2006