Edgewall Software

Changes between Version 13 and Version 14 of TracRepositoryAdmin


Ignore:
Timestamp:
Mar 2, 2011, 1:37:42 PM (11 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracRepositoryAdmin

    v13 v14  
    123123}}}
    124124
     125Git hooks can be used in the same way for explicit syncing of git repositories.  Try in `.git/hooks/post-commit`
     126{{{
     127REV=$(git rev-parse HEAD)
     128trac-admin /path/to/env changeset added <my-repository> $REV
     129}}}
     130
    125131The 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`.
    126132