Page 1 of 1 |
|
Posted: Mon, 24th May 2010 04:00 Post subject: How do I pull all the contents of a Subversion repository ? |
|
 |
It's about a Google Code project, if it matters. I just want to pull everything neatly in one folder on my PC. I have anonymous read-only permission. I mean, no login is needed, I can get individual files.
|
|
Back to top |
|
 |
|
Posted: Mon, 24th May 2010 14:33 Post subject: |
|
 |
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Mon, 24th May 2010 14:54 Post subject: |
|
 |
Tortoise or "svn co http://path.to/repository/ local_folder_path" if you've got the cmdline installed already.
|
|
Back to top |
|
 |
|
Posted: Mon, 24th May 2010 15:17 Post subject: |
|
 |
I installed it but where is that svn ? Running from command prompt doesn't find it, and there's not such a fucking "svn" file in its installation folder.
Where the shit do I run all these svn commands ? I don't wanna spend an hour reading through manuals.
EDIT: Wait, just noticed the damn context menu. I got this now.
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73265
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Mon, 24th May 2010 15:21 Post subject: |
|
 |
With TortoiseSVN, just make a new folder, and right click on it, and select SVN checkout. Then just paste the url, and it will download everything.
|
|
Back to top |
|
 |
|
Posted: Mon, 24th May 2010 15:29 Post subject: |
|
 |
I created a new repository in an empty folder, Tortoise put some placeholders in there and now I'm trying to "Import" using the url :
http://blahblahprojectname.googlecode.com/svn/trunk/
But I get :
Server sent unexpected return value (405 Method Not Allowed) in response to
MKACTIVITY request for '/svn/!svn/act/7d7cd4e7-e56f-5549-9ba0-e1ccc39ce8a3'
Come on, this is embarassing, the files are right there, I could download them one by one, they're too many though, lol. Help ?
EDIT: Oh, works with Checkout, thanks Inatan !
Last edited by VGAdeadcafe on Mon, 24th May 2010 15:31; edited 1 time in total
|
|
Back to top |
|
 |
|
Posted: Mon, 24th May 2010 15:29 Post subject: |
|
 |
If it's about a VisualStudio project I recommend the AnkhSVN plugin. It adds a "Subversion Project" entry to the File\open menu of VS and allows commits and updates from within VS.
|
|
Back to top |
|
 |
|
Posted: Mon, 24th May 2010 15:33 Post subject: |
|
 |
me7 wrote: | If it's about a VisualStudio project I recommend the AnkhSVN plugin. It adds a "Subversion Project" entry to the File\open menu of VS and allows commits and updates from within VS. |
It's not, but thanks. I think I'm fine now, it's downloading the whole shiznit.
Now compiling that big project is gonna be another ordeal, with that bullshit gcc madness.
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73265
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Mon, 24th May 2010 15:44 Post subject: |
|
 |
No, you silly goose, you need the "svn://..." url. 
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73265
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Mon, 24th May 2010 15:57 Post subject: |
|
 |
With the svn:// you can only get the trunk lol
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Mon, 24th May 2010 17:00 Post subject: |
|
 |
You don't need an svn:// URL, SVN can be offered through HTTP as well
Why download the entire thing btw? Should've just checked out the proper branch or the trunk 
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Mon, 24th May 2010 19:57 Post subject: |
|
 |
Well you still need an SVN client, but it doesn't have to be through the SVN protocol, most webservers have an SVN plugin (dav for apache for example). That's why the Google checkout locations are http 
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |