I've set up a post-commit hook for SVN that calls Trac, and it seems to work
just fine - I get the right log messages in the log (see below), and the
timeline in Trac is updated as well.

However, when I add the text 'fixes #1337', which, according to the
documentation, will set issue #1337 to fixed and closed, this doesn't seem
to do anything to said issue.

Is there a setting I'm missing, or something I'm doing wrong? Below is the
log and some screens. Note that this is for Trac 0.12b1.

2010-05-06 13:52:16,776 Trac[api] DEBUG: Event changeset_added on
C:\svn\repositories\boeken for changesets (u'2669',)
2010-05-06 13:52:17,105 Trac[svn_fs] DEBUG: Subversion bindings imported
2010-05-06 13:52:17,121 Trac[cache] INFO: repos rev [2669] != cached rev
[2668]
2010-05-06 13:52:17,137 Trac[cache] INFO: Trying to sync revision [2669]
2010-05-06 13:52:17,183 Trac[cache] DEBUG: Caching node change in [2669]:
(u'/project/static/css/structure.css', 'file', 'edit',
u'/project/static/css/structure.css', 2668)
2010-05-06 13:52:17,387 Trac[api] DEBUG: Event changeset_added on Some
Project for revision 2669

Screenshot. This shows the timeline (with the commit remarks) and the
ticket's title (and status) after the commits.

http://img265.imageshack.us/img265/7373/asoigjah.png

Finally, if this is relevant, this is the content of my post-commit.cmd file
(comments omitted) (Windows) (copied from
http://trac.edgewall.org/browser/tags/trac-0.12b1/contrib/trac-svn-post-commit-hook.cmd
)


set REPOS=%1
set REV=%2

call C:\Python26\Scripts\trac-admin.exe C:\trac\Something changeset added
"%REPOS%" "%REV%"

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to