Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Download an SVN repository?

I'm looking for an online tool that will allow me downloading an online SVN repository (google code etc.).

Do you know of anything?

Update
I want to download the top parent folder and all its subfolders and content, without installing anything on my computer.

like image 370
Shimmy Weitzhandler Avatar asked Dec 05 '11 14:12

Shimmy Weitzhandler


People also ask

How do I download and install TortoiseSVN?

TortoiseSVN comes with an easy to use installer. Double click on the installer file and follow the instructions. The installer will take care of the rest. Don't forget to reboot after installation.

How do I clone a SVN repository?

# Clone a repo with standard SVN directory layout (like git clone): git svn clone http://svn.example.com/project --stdlayout --prefix svn/ # Or, if the repo uses a non-standard directory layout: git svn clone http://svn.example.com/project -T tr -b branch -t tag --prefix svn/ # View all branches and tags you have ...

Where can I download TortoiseSVN?

TortoiseSVN download | SourceForge.net.


1 Answers

If you want to download SVN repository online (e.g. Google Code) without installing anything, you can use wget:

wget -m -np http://myproject.googlecode.com/svn/myproject/trunk/

If authorization is required, you can use the --user and --ask-password flags, which will prompt you for your password:

wget --user=yourusername --ask-password -m -np http://myproject.googlecode.com/svn/myproject/trunk/

Explaining what the parameter does:

-m, --mirror:

Turn on options suitable for mirroring. This option turns on recursion and time-stamping, sets infinite recursion depth and keeps FTP directory listings. It is currently equivalent to -r -N -l inf --no-remove-listing.

-np, --no-parent:

Do not ever ascend to the parent directory when retrieving recursively. This is a useful option, since it guarantees that only the files below a certain hierarchy will be downloaded.

like image 145
niutech Avatar answered Sep 22 '22 09:09

niutech