【问题标题】:Get info about svn root repository structure获取有关 svn 根存储库结构的信息
【发布时间】:2010-04-16 09:29:28
【问题描述】:

我想知道如何使用 svn api 获取有关 svn 根存储库结构的信息。

例如,我有以下结构:

http:///
/项目1
/项目2

我试过了:
svn list http:///svn 也 svn list -v http:///svn

作为回应,我只得到:./

如何递归获取信息?

提前谢谢你。

【问题讨论】:

    标签: svn


    【解决方案1】:

    svn list 似乎对我有用:

    tomislav@malik:~$ svn list http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x
    .gdbinit
    ABOUT_APACHE
    Apache.dsw
    BuildAll.dsp
    BuildBin.dsp
    CHANGES
    INSTALL
    InstallBin.dsp
    LAYOUT
    LICENSE
    Makefile.in
    Makefile.win
    NOTICE
    NWGNUmakefile
    README
    README-win32.txt
    README.platforms
    ROADMAP
    STATUS
    VERSIONING
    acinclude.m4
    build/
    buildconf
    config.layout
    configure.in
    docs/
    emacs-style
    httpd.dsp
    include/
    libhttpd.dsp
    modules/
    os/
    server/
    srclib/
    support/
    test/
    tomislav@malik:~$ 
    

    用于递归列表的 -R 标志也可用(参见svn help 列表)。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-03-28
    • 2012-04-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-18
    相关资源
    最近更新 更多