Download an SVN repository exposed by ViewVC

前端 未结 2 1775
南笙
南笙 2021-01-18 19:17

Is there a simple way to download an SVN repository that is exposed on the web using ViewVC?

2条回答
  •  借酒劲吻你
    2021-01-18 19:59

    It seems that ViewVC allows you to download the (recursive) contents on any directory within a repository, but not the whole repository itself. (This may not matter much if you e.g. just want the latest trunk version of a project, located at /trunk/.)

    From ViewVC configuration:

    ViewVC can generate a tarball (.tar.gz) from a repository on the fly. This option allows (you/anyone) to download a tarball of the current directory.

    Allow automatic tarball generation? [Yes / No]

    To get to this option on Ubuntu/Debian, you'd simply do sudo dpkg-reconfigure viewvc (right now I'm not sure about other platforms).

提交回复
热议问题