如何在svn ci之后自动增加trac的changeset
1.
设置trac.ini中空
[trac]
repository_sync_per_request =
2.
luther@gliethttp:~$
sudo vim /vobs/svn_repos/sandbox/hooks/post-commit 加入如下2行内容
#!/bin/sh
trac-admin
/vobs/trac_repos/trac_gliethtttp changeset added "$1" "$2"
luther@gliethttp:~$
sudo chmod +x /vobs/svn_repos/sandbox/hooks/post-commit
阅读(1428) | 评论(0) | 转发(0) |