Changes between Version 16 and Version 17 of TracRepositoryAdmin
- Timestamp:
- Jun 15, 2011, 9:50:03 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracRepositoryAdmin
v16 v17 129 129 }}} 130 130 131 For Mercurial, add the following entries to the `.hgrc` file of each repository accessed by Trac (replacing `<my-repository>` with the name of the repository in Trac): 132 {{{ 133 [hooks] 134 commit = trac-admin /path/to/env changeset added <my-repository> $HG_NODE 135 changegroup = hg log -r $HG_NODE: --template "{node} " | xargs trac-admin /path/to/env changeset added <my-repository> 136 }}} 137 131 138 The Unix variants above assume that the user running the Subversion commit has write access to the Trac environment, which is the case in the standard configuration where both the repository and Trac are served by the web server. If you access the repository through another means, for example `svn+ssh://`, you may have to run `trac-admin` with different privileges, for example by using `sudo`. 132 139