问题
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:
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.
来源:https://stackoverflow.com/questions/3377729/how-to-download-an-svn-archive-from-a-trac-tree