问题
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)
回答1:
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".
回答2:
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).
回答3:
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
回答4:
Select Tortoise SVN - > Settings - > NetWork
Fill the required proxy if any and then check.
回答5:
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).
回答6:
The manual explains how to checkout code:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-checkout.html
回答7:
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
回答8:
- 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.
- make sure to first
回答9:
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.
来源:https://stackoverflow.com/questions/41766/how-do-i-download-code-using-svn-tortoise-from-google-code