Jesse Jacobs wrote:
> 2010-10-15 14:13:24,726 Trac[api] DEBUG: Event changeset_added on  for
> changesets ()

Ah, that's the issue. Your post-commit hook is not configured correctly.
You must call the "changeset added" command with the repository name or
path and the revision name. The log message above shows that no revision
was given.

The post-commit hook should call:

  trac-admin $ENV changeset added $REPOS $REV

where $ENV is the path to your Trac environment (which seems to be
correct already), $REPOS is the path to your repository (given by the
first argument to the SVN post-commit hook) and $REV is revision number
of the new changeset (given by the second argument to the SVN
post-commit hook).

> 2010-10-15 14:13:24,753 Trac[cache] INFO: repos rev [50] != cached rev [49]
> 2010-10-15 14:13:24,755 Trac[cache] INFO: Trying to sync revision [50]
> 2010-10-15 14:13:24,757 Trac[cache] DEBUG: Caching node change in [50]:
> (u'testfile50', 'file', 'add', None, -1)

There is an implicit repository sync for every "changeset added", even
if no revision number is given. That's why you still see your changesets
in Trac.

-- Remy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to