开发者

Trac Repository synchronization

开发者 https://www.devze.com 2023-03-30 20:46 出处:网络
I just updated the trac from 0.11 to 0.12 because the multi repository brow开发者_如何学编程sing. Before the svn synchronization worked automatically, but now I have to the admin panel and type the re

I just updated the trac from 0.11 to 0.12 because the multi repository brow开发者_如何学编程sing. Before the svn synchronization worked automatically, but now I have to the admin panel and type the repository resync * command, is there any way to do this automatically?


You should read TracRepositoryAdmin and follow the instructions there. Basically, you have two options:

  • Either you keep the automatic sync on every request, which becomes a performance hog pretty quickly if you have multiple repositories.
  • Or you call trac-admin $ENV changeset added in the post-commit hook of each repository. This is the preferred option.
0

精彩评论

暂无评论...
验证码 换一张
取 消