Edgewall Software

Changes between Version 45 and Version 46 of TracRepositoryAdmin


Ignore:
Timestamp:
Apr 16, 2017, 4:30:30 AM (5 years ago)
Author:
Ryan J Ollos
Comment:

No need to export TRAC_ENV variable.

Legend:

Unmodified
Added
Removed
Modified
  • TracRepositoryAdmin

    v45 v46  
    133133To configure `trac-svn-hook`, follow the help in the documentation header of the script. Configuring the hook environment variables is made easier in Subversion 1.8 by using the [http://svnbook.red-bean.com/en/1.8/svn.reposadmin.create.html#svn.reposadmin.hooks.configuration hook script environment] configuration. Rather than directly editing `trac-svn-hook` to set the environment variables, they can be configured through the repository `conf/hooks-env` file. Replace the [trac:source:trunk/contrib/trac-svn-hook@:65-67#L61 configuration section] with:
    134134{{{#!bash
    135 export TRAC_ENV
    136135export PATH=$PYTHON_BIN:$PATH
    137136export LD_LIBRARY_PATH=$PYTHON_LIB:$LD_LIBRARY_PATH