How do I pull all the contents of a Subversion repository ?
Page 1 of 1
VGAdeadcafe




Posts: 22230
Location: ★ ಠ_ಠ ★
PostPosted: 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
FriendlyBus




Posts: 228

PostPosted: Mon, 24th May 2010 14:33    Post subject:
TortoiseSVN?
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: 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
VGAdeadcafe




Posts: 22230
Location: ★ ಠ_ಠ ★
PostPosted: 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 🇮🇱
PostPosted: 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.


NOT FLAT ENOUGH.

My IMDb Ratings | Fix NFOHump Cookies | Hide Users / Threads | Embedded Content (Videos/GIFs/Twitter/Reddit) | The Derps Collection

Death smiles at us all; all we can do is smile back.
Back to top
VGAdeadcafe




Posts: 22230
Location: ★ ಠ_ಠ ★
PostPosted: 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'

Sad

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
me7




Posts: 3942

PostPosted: 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
VGAdeadcafe




Posts: 22230
Location: ★ ಠ_ಠ ★
PostPosted: 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 🇮🇱
PostPosted: Mon, 24th May 2010 15:44    Post subject:
No, you silly goose, you need the "svn://..." url. Laughing


NOT FLAT ENOUGH.

My IMDb Ratings | Fix NFOHump Cookies | Hide Users / Threads | Embedded Content (Videos/GIFs/Twitter/Reddit) | The Derps Collection

Death smiles at us all; all we can do is smile back.
Back to top
VGAdeadcafe




Posts: 22230
Location: ★ ಠ_ಠ ★
PostPosted: Mon, 24th May 2010 15:48    Post subject:
http://blahblahblah.googlecode.com/svn/
worked fine I think. Holy shit, it downloaded 70,000 files, 800mb !

Did it download them compressed, cause there's no way it got finished that quickly with my connection, lol. I even got the wiki pages Laughing

I'm just gonna keep the branch I'm interested in.
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73265
Location: Ramat HaSharon, Israel 🇮🇱
PostPosted: Mon, 24th May 2010 15:57    Post subject:
With the svn:// you can only get the trunk lol


NOT FLAT ENOUGH.

My IMDb Ratings | Fix NFOHump Cookies | Hide Users / Threads | Embedded Content (Videos/GIFs/Twitter/Reddit) | The Derps Collection

Death smiles at us all; all we can do is smile back.
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Mon, 24th May 2010 17:00    Post subject:
You don't need an svn:// URL, SVN can be offered through HTTP as well Smile

Why download the entire thing btw? Should've just checked out the proper branch or the trunk
Back to top
VGAdeadcafe




Posts: 22230
Location: ★ ಠ_ಠ ★
PostPosted: Mon, 24th May 2010 19:36    Post subject:
pwerelds wrote:
SVN can be offered through HTTP as well Smile

How ?

I've never dealt with SVNs before.
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: 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 Wink
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Applications
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group