Edgewall Software

Changes between Version 4 and Version 5 of TracRepositoryAdmin


Ignore:
Timestamp:
Jul 8, 2010, 11:41:58 AM (14 years ago)
Author:
vincent@…
Comment:

Added section "Mercurial Repositories"

Legend:

Unmodified
Added
Removed
Modified
  • TracRepositoryAdmin

    v4 v5  
    8585There 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.
    8686
     87=== Mercurial Repositories ===
     88Please note that at the time of writing, no initial resynchronization or any hooks are necessary for Mercurial repositories - see #9485 for more information.
     89
    8790=== Explicit synchronization === #ExplicitSync
    8891This is the preferred method of repository synchronization. It requires setting the `[trac]  repository_sync_per_request` option in [wiki:TracIni#trac-section trac.ini] to an empty value, and adding a call to `trac-admin` in the post-commit hook of each repository. Additionally, if a repository allows changing revision metadata, a call to `trac-admin` must be added to the post-revprop-change hook as well.