Please keep the discussion on-list, thanks. pserik wrote: > Hallo Remy, > > I added following code to my trac.ini: > > [repositories] > .alias = svn_test_6 > svn_test_6.dir = /opt/tests/project/svn_test_6/svn/ > svn_test_6.name = svn_test_6 > type = svn > > and following lines to the post-commit and post-revprop-change hooks: > > #!/bin/sh > REPOS="$1" > REV="$2" > USER="$3" > PROPNAME="$4" > ACTION="$5" > /usr/bin/trac-admin /opt/tests/project/svn_test_6/trac changeset added > "$REPOS" "$REV" > /usr/bin/trac-admin /opt/tests/project/svn_test_6/trac changeset > modified "$REPOS" "$REV" "$USER" "$PROPNAME" "$ACTION" > > and it still does not work for me, have no idea what can be wrong on > this... Is it wrong version of trac to do this? > I'm using the Trac 0.12multirepos-r8747. > > p.s. sorry for answering to you private addres, i don't know how to > add a respose to the end of diskussion.
I suggest you upgrade to the recently-released 0.12b1, and start reading: http://trac.edgewall.org/wiki/TracRepositoryAdmin#ExplicitSync -- Remy
signature.asc
Description: OpenPGP digital signature
