How do I download code using SVN/Tortoise from Google Code?

88

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.

...Ed (@emcpadden)

This question is tagged with svn tortoisesvn google-code

~ Asked on 2008-09-03 14:19:55

9 Answers


99

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".

~ Answered on 2008-09-03 14:23:27


16

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).

~ Answered on 2008-09-03 14:21:45


12

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

~ Answered on 2011-06-03 10:16:51


7

Select Tortoise SVN - > Settings - > NetWork

Fill the required proxy if any and then check.

~ Answered on 2010-09-29 05:20:28


4

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).

~ Answered on 2008-09-03 14:22:57


1

~ Answered on 2008-09-03 14:20:58


1

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.

~ Answered on 2010-07-08 19:20:20


1

If you have Tortoise SVN, like I do, take the google link, and ONLY copy the URL.

Regular- (svn checkout http://wittytwitter.googlecode.com/svn/trunk/ wittytwitter-read-only)

Modified to URL- (http://wittytwitter.googlecode.com/svn/trunk/ wittytwitter)

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.

Misanthropy

~ Answered on 2009-04-07 06:08:58


1

  • Download the svn binaries
  • unpack them somewhere and add the bin folder to your PATH environment variable
  • open a command line console (cmd.exe)
  • enter than "svn checkout ...." command there
    • make sure to first cd to the place where you want to download (i.e checkout) the projects' code.

~ Answered on 2009-04-07 06:23:59


Most Viewed Questions: