You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jack Repenning <jr...@collab.net> on 2003/08/12 17:28:13 UTC

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

At 8:56 AM -0700 8/12/03, John Locke wrote:
>
>You can also compile Subversion with static links, then just copy the
>executable to your other computers

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.
-- 
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: 650.228.2562
c: 408.835-8090

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by John Locke <ma...@freelock.com>.
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.

Cheers,
John


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org