How to download an svn archive from a trac tree?

Tobias Kienzler picture Tobias Kienzler · Jul 31, 2010 · Viewed 7.8k times · Source

There is a project which had an svn server that is down now, but the trac-browser is still available. Is there a simple way to acces that tree as if it was an svn server? Preferably I'd just donwload the whole repo via git-svn, but a wget solution for the current revision would also be great (the trouble with the latter is that simply crawling will download including trac's wrapped around html).

Answer

retracile picture retracile · Aug 2, 2010

Depending on the Trac server configuration, you may find a "zip" link at the bottom of the source browser for the trunk directory and the branches and tags subdirectories. That will give you a zip archive of that tree at the given revision.

I know I've seen someone write a tool to download a source tree from the Trac browser, but I can't seem to find it. Might have been a post to the trac-dev mailing list.