Changes between Version 6 and Version 7 of TracRepositoryAdmin
- Timestamp:
- Jul 14, 2010, 11:07:33 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracRepositoryAdmin
v6 v7 99 99 The `<repos>` argument can be either a repository name (use "`(default)`" for the default repository) or the path to the repository. 100 100 101 Note that you may have to set the environment variable PYTHON_EGG_CACHE to the same value as was used for the web server configuration before calling trac-admin, if you changed it from its default location. 102 101 103 The following examples are complete post-commit and post-revprop-change scripts for Subversion. They should be edited for the specific environment, marked executable (where applicable) and placed in the `hooks` directory of each repository. On Unix (`post-commit`): 102 104 {{{ 103 105 #!sh 104 106 #!/bin/sh 107 export PYTHON_EGG_CACHE="/path/to/dir" 105 108 /usr/bin/trac-admin /path/to/env changeset added "$1" "$2" 106 109 }}} … … 115 118 #!sh 116 119 #!/bin/sh 120 export PYTHON_EGG_CACHE="/path/to/dir" 117 121 /usr/bin/trac-admin /path/to/env changeset modified "$1" "$2" 118 122 }}}