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

SvnTortoisesvnGoogle Code

Svn Problem Overview


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)

Svn Solutions


Solution 1 - Svn

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

Solution 2 - Svn

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

Solution 3 - Svn

See my answer to a very similar question here: https://stackoverflow.com/questions/1900786/how-to-download-checkout-a-project-from-google-code-in-windows/5493172#5493172

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

Solution 4 - Svn

Select Tortoise SVN - > Settings - > NetWork

Fill the required proxy if any and then check.

Solution 5 - Svn

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

Solution 6 - Svn

Solution 7 - Svn

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

Solution 8 - Svn

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

Solution 9 - Svn

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionemcpaddenView Question on Stackoverflow
Solution 1 - SvnJoel CoehoornView Answer on Stackoverflow
Solution 2 - SvnjodonnellView Answer on Stackoverflow
Solution 3 - SvnTom ChantlerView Answer on Stackoverflow
Solution 4 - SvnVickyView Answer on Stackoverflow
Solution 5 - SvnTim HowlandView Answer on Stackoverflow
Solution 6 - Svnmatt bView Answer on Stackoverflow
Solution 7 - SvnMisanthropyView Answer on Stackoverflow
Solution 8 - SvnhasenView Answer on Stackoverflow
Solution 9 - SvnMarcosView Answer on Stackoverflow