Search code examples
svnsynchronizationrepositorytrac

Trac Repository synchronization


I just updated the trac from 0.11 to 0.12 because the multi repository browsing. 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?


Solution

  • 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.