tags:

views:

39

answers:

1

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).

+1  A: 

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.

retracile
The tree itself cannot be downloaded (at least in this case), but the changeset can, so I had to use a little for-loop and wget (as mentioned in my comment). Using zip instead of patchfiles did however circumvent my [other problem](http://stackoverflow.com/questions/3377873/how-to-apply-a-patchfile-such-that-it-creates-new-files-if-needed)
Tobias Kienzler