Trac Repository synchronization
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.
精彩评论