How to download an svn archive from a trac tree?

♀尐吖头ヾ 提交于 2019-12-10 14:59:23

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!