Edgewall Software

Changes between Version 3 and Version 4 of Ubuntu-11.04-Subversion


Ignore:
Timestamp:
Dec 16, 2010, 9:48:14 PM (13 years ago)
Author:
gacevedo@…
Comment:

Adding info about sincronization

Legend:

Unmodified
Added
Removed
Modified
  • Ubuntu-11.04-Subversion

    v3 v4  
    139139==== Explicit syncronization ====
    140140
     141'''Note''': For more information about the Explicit Syncronization method, plesae read TracRepositoryAdmin#ExplicitSync
     142
     143First, edit the '''trac.ini''' file, located in ''/var/lib/trac/YourProject/conf/''. Modify the "repository_sync_per_request" directive and set it to an empty value.
     144
     145Now you need to create the Subversion hooks. First, create the post-commit hook the in ''/var/lib/svn/YourProject/hooks/'' directory, with the following content:
     146{{{
     147#!/bin/sh
     148export PYTHON_EGG_CACHE="/path/to/dir"
     149/usr/bin/trac-admin /path/to/env changeset added "$1" "$2"
     150}}}
     151
    141152===== Automatic reference to the SVN changesets in Trac tickets =====
    142153