Edgewall Software

Changes between Version 12 and Version 13 of 0.12/TracRepositoryAdmin


Ignore:
Timestamp:
Apr 1, 2010, 6:11:38 AM (14 years ago)
Author:
mark.m.mcmahon@…
Comment:

Try and make the reasoning for the requiring hooks in 0.12 clearer (thanks to rblank for the clarification)

Legend:

Unmodified
Added
Removed
Modified
  • 0.12/TracRepositoryAdmin

    v12 v13  
    8181
    8282== Repository synchronization == #Synchronization
    83 Prior to 0.12, Trac synchronized its cache with the repository on every request. This approach is not practical anymore with multiple repositories. For this reason, explicit synchronization through post-commit hooks was added. This also provides new functionality in the form of a repository listener extension point that is called when a changeset is added or modified, and can be used by plugins to perform actions on commit.
     83Prior to 0.12, Trac synchronized its cache with the repository on every HTTP request. This approach is not very efficient and not practical anymore with multiple repositories. For this reason, explicit synchronization through post-commit hooks was added.
     84
     85There is also new functionality in the form of a repository listener extension point ''(IRepositoryChangeListener)'' that is triggered by the post-commit hook when a changeset is added or modified, and can be used by plugins to perform actions on commit.
    8486
    8587=== Explicit synchronization === #ExplicitSync