Well sometimes you could need to download software that it is available just for svn checkouts, without having or using any svn client.
For example I’m on a machine where I cannot install subversion but I have wget wich, at the end, it is just a normal http client just like a browser or subversion itself, without all the svn-related stuff (checkin, checkout, lock, etc.).
Anyway let’s play with a concrete example from real life:
I want to download this checklist management software in php but it is not available as a compressed archive, it is just available from google code svn, as the project page states:
Non-members may check out a read-only working copy anonymously over HTTP. svn checkout http://checklist-082.googlecode.com/svn/trunk/ checklist-082-read-only
thus, right after opening a new shell, what i’ve done was creating a folder for this software (I’m on my mac, but these commands, will work on every linux box until wget is available.), then cd into the new created dir, and then download with wget, as follows
mkdir flat_checklist cd flat_checklist/ wget -r http://checklist-082.googlecode.com/svn/trunk
now you should see several download made by wget, this because we used the -r switch wich enables the recursion, wich follows any link (I can’t recall how many levels deep it goes, or if we need to specify some unless we want all levels to be recursed… just check on wget man page).
This will end up with a new folder called “checklist-082.googlecode.com” and then inside the folder you will find all the trunk contents still warm 🙂
Incoming search terms:
- wget svn (23)