Opened 11 years ago

Closed 8 years ago

# svn links in Trac automatically check out the svn files

Reported by: Owned by: THALES Australia anybody normal Request-a-Hack normal subversion svn trac check out hyperlink download 0.10

### Description

I was wondering if it would be possible to write a plugin that would allow hyperlinks to subversion repositories to simply download that directory instead of opening the directory to browse.

It seems like something that this site (Trac Hacks) could also really benefit from. Instead of giving instructions that say: Open subversion and type in the following url, just clicking on the link would run subversion with the intent to check out the relevant directory.

If anyone can help me out, it would be much appreciated.

### comment:1 Changed 11 years ago by anonymous

Okay, this is totally dependent on you using Windows, Tortoise SVN and firefox, but if you do the following:

• First, do the suggestion in #227 (may need to tweak it a little for .10)
• Get TortoiseSVN installed on your windows machine
• Get Firefox installed on your windows machine
• install the TSVN plugin for firefox

You can then use firefox to browse source on your trac instance, right click on whatever SVNLink you want to use and use the Tortoise menu to check out.

### comment:2 Changed 11 years ago by THALES Australia

Thanks a lot, anonymous - thats a great way to solve the problem. I think it will be the solution I end up using for the windows machines at the very least. However, I would like to find another way to fix this on computers that use linux as an operating system. There is no tortoise SVN for linux ,although I did find some alternatives: but I haven't found a browser plugin for any of them yet.

What I would ideally like to do, however, is make the changes to the server rather than having to install and update a whole network of computers. The network we are working with is quite large, and it would be best if we were able to confine the work to the trac/subversion server.

Thanks for your help though - realistically, it is probably the approach we will end up using.

### comment:3 Changed 8 years ago by Ryan J Ollos

Resolution: → fixed new → closed

If you want to allow a directory to be downloaded in ZIP format, this can be done on Trac 0.11. In the [browser] section, configure downloadable_paths. See the documentation for details.