[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Light weight client question.

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-06-28 08:09:55 CEST

Ross Mark <rossm@controllingedge.com.au> writes:

> I'm after a light weight version of the svn+http client. This client
> would only allow checkout's and updates (switch too as it is just a
> type of update). There is absolutely no need to do a checkin. Given
> this case the problems that normally arise from having a working copy
> and the original file should not be an issue since the original is
> only needed for determining the delta on a checkin.

The trick here is to somehow issue http requests to gather
information, but not use libsvn_wc at all; no .svn/ directories to
manage working copy metadata.

If you just want a checkout of HEAD, you can practically do a
recursive 'wget' on the repository URL. All you need to do is issue a
bunch of GET requests with any old http client.

The result, however, will be an unversioned tree... just as if you had
run 'svn export'.

If you want to be able to *update*, then something needs to record the
exact revision you checked out. Your lightweight client would then
send an http REPORT request with a short svn-specific xml body, and
have to learn to parse the xml response which describes exactly which
files need to be "fetched" (via GET) to update to HEAD.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 28 10:10:43 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.