#1118 closed defect (fixed)
svn links in Trac automatically check out the svn files
Reported by: | THALES Australia | Owned by: | anybody |
---|---|---|---|
Priority: | normal | Component: | Request-a-Hack |
Severity: | normal | Keywords: | subversion svn trac check out hyperlink download |
Cc: | Trac Release: | 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.
Attachments (0)
Change History (3)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
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 15 years ago by
Resolution: | → fixed |
---|---|
Status: | 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.
Please reopen the ticket if this does not satisfy your requirements.
Okay, this is totally dependent on you using Windows, Tortoise SVN and firefox, but if you do the following:
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.