pserik wrote:
> Oh, sorry. Yes, i'm using Subversion and Multirepos version of trac.

Please read the following sections about hooks in Subversion:

http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposadmin.create.hooks
http://svnbook.red-bean.com/nightly/en/svn.ref.reposhooks.post-commit.html

Now you should know how to add a post-commit hook to your repository.
The last step is adding a call to "trac-admin" in you post-commit hook,
like so:

  trac-admin /path/to/env changeset added reponame $2

(or the equivalent for Windows) Replace "reponame" with the name of your
repository.

I'm only just writing the documentation for this here, so stay tuned for
more complete instructions:

  http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin

Alternatively, have a look at this script (for *nix), which has more
detailed instructions:

http://trac.edgewall.org/browser/sandbox/multirepos/contrib/trac-svn-hook

-- Remy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to