How do I download code using SVN/Tortoise from Google Code?
I just saw a really cool WPF twitter client that I think is developed by the Herding Code podcast guys HerdingCode called Witty. (or at least, I see a lot of those guys using this client). This project is currently posted up on Google Code.
Many of the projects on Google Code use Subversion as the version control system (including Witty). Having never used Subversion, I’m not sure what to do to download the code.
On the source page for this project (google code witty source) it gives the following instruction:
Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://wittytwitter.googlecode.com/svn/trunk/ wittytwitter-read-only
I’m confused as to where I am supposed to enter the above command so that I can download the code.
I have installed SVN and Tortoise (which I know almost nothing about).
Thanks for any help or simply pointing me in the right direction.
9 Solutions collect form web for “How do I download code using SVN/Tortoise from Google Code?”
After you install Tortoise (separate SVN client not required), create a new empty folder for the project somewhere and right click it in Windows. There should be an option for
SVN Checkout. Choosing that option will open a dialog box. Paste the URL you posted above in the first textbox of that dialog box and click “OK”.
Create a folder where you want to keep the code, and right click on it. Choose SVN Checkout… and type http://wittytwitter.googlecode.com/svn/trunk into the URL of repository field.
You can also run
svn checkout http://wittytwitter.googlecode.com/svn/trunk
from the command line in the folder you want to keep it (svn.exe has to be in your path, of course).
See my answer to a very similar question here: How to download/checkout a project from Google Code in Windows?
In brief: If you don’t want to install anything but do want to download an SVN or GIT repository, then you can use this: http://downloadsvn.codeplex.com
Tortoise SVN - > Settings - > NetWork
Fill the required proxy if any and then check.
Right click on the folder you want to download in, and open up
tortoise-svn -> repo-browser.
Enter in the URL above in the next window.
right click on the
trunk folder and choose either
checkout (if you want to update from SVN later) or
export (if you just want your own copy of that revision).
The manual explains how to checkout code:
If you have Tortoise SVN, like I do, take the google link, and ONLY
copy the URL.
(svn checkout http://wittytwitter.googlecode.com/svn/trunk/ wittytwitter-read-only)
Modified to URL-
Create a folder, right click the empty space.
You can Browse Repo or just download it all via checkout.
I don’t know whether you have to be a Google member or not, but
I signed up just in case.
Have fun with the code.
- Download the svn binaries
- unpack them somewhere and add the
binfolder to your PATH environment variable
- open a command line console (cmd.exe)
- enter than “svn checkout ….” command there
- make sure to first
cdto the place where you want to download (i.e checkout) the projects’ code.
- make sure to first
If you are behind a firewall you will have to configure the Tortoise client to connect to it. Right click somewhere in your window, select “TortoiseSVN”, select “settings”, and then select “network” on the left side of the panel. Fill out all the required fields. Good luck.