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

Re: Wishlist -> very lightweight tool for GETing files from a svn repo

From: John Locke <mail_at_freelock.com>
Date: 2003-08-12 20:15:23 CEST

Jack Repenning wrote:

> If your repository is set up for WebDAV access ("svn ls
> htp://host/blah/blah"), you can use wget or curl to fetch individual
> files.
> Unfortunately, wget (at least) doesn't seen to work recursively,
> because the directories keep getting redirected to index.html, so they
> aren't directories any more, so it doesn't search them for other
> stuff. Anybody know how to turn that off from the client side? I
> couldn't spot it in the man page.

I was thinking along the same lines, but these are hard to manage. Curl
doesn't give you a directory listing or recursive behavior--you could
automate it by keeping a list of all the files in a separate file, and
get it to fetch the entire list, which is probably the best option...

The problem with wget is that it follows the links in each page to get
other pages to download--and these may not resolve correctly. But if you
set up all of the HTML files with svn:mime-type = text/html, and
consistently used relative links, you could probably get wget to work
for you for static HTML and very simple PHP/active pages. If you do
anything complex with server generated pages, I think you're back to
managing a list of files, or using svn/another WebDav client.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 12 20:16:41 2003

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