代码之家  ›  专栏  ›  技术社区  ›  Mac

提交后挂钩和跟踪

  •  0
  • Mac  · 技术社区  · 17 年前

    我的post commit hook脚本和track有一些问题-希望有人能帮助我。

    这些脚本都运行良好-没有错误-但是由于某些原因trac没有更新。我打开日志发现:

    Trac[svn_fs] DEBUG: Subversion bindings imported
    Trac[cache] INFO: repos rev [363] != cached rev [362]
    2 Trac[cache] INFO: Trying to sync revision [363]
    Trac[cache] DEBUG: Caching node change in [363]: (u'Max/test2.txt.txt', 'file', 'edit', u'Max/test2.txt.txt', 362)
    Trac[main] DEBUG: Dispatching <Request "GET u'/report'">
    Trac[report] DEBUG: Executing report with SQL "SELECT id AS report, title, 'report' as _realm FROM report ORDER BY report"
    Trac[report] DEBUG: Request args: {}
    Trac[chrome] DEBUG: Prepare chrome data for request
    Trac[session] DEBUG: Retrieving session for ID u'max'
    Trac[main] DEBUG: 173 unreachable objects found.
    

    但是票上没有更新吗?为此,使用trac本身的标准脚本等进行提交后挂接 http://svn.edgewall.com/repos/trac/branches/0.11-stable/contrib/ 是吗?

    有什么想法吗?

    编辑:我有3个用户是TRAC_ADMIN-不确定是否存在权限问题即没有匿名用户等

    1 回复  |  直到 16 年前
        1
  •  1
  •   retracile    16 年前

    检查提交后挂钩上的execute位。验证钩子是否按svn指定的名称命名。(阅读 section on hooks 在 svn book (第三章)

    推荐文章