[Trac] Post commit script

Matthew Good trac at matt-good.net
Thu Feb 3 10:36:17 EST 2005


On Thu, 2005-02-03 at 09:21 -0500, Jason Stewart wrote:
> I am trying to get the trac-post-commit-hook script working on my new Trac 
> installation. I installed it about two weeks ago and the version says 0.8 
> at the bottom of the wiki start page. However, when I try to run the post 
> commit hook it throws an exception and says that the database version is 
> not 8. If I go look at the system table it shows version 7.
> 
> Because I can't resist fiddling with things until they break I changed the 
> script to look for version 7 and ran it from the command line and 
> everything seemed to work ok.

Ack, NO! BAD! BAD! <smack>

The database schema was updated, thus the reason for the new version
number.  See: http://projects.edgewall.com/trac/wiki/TracUpgrade for
instructions on upgrading your environment.  

Actually I think that Trac itself should complain too if you haven't
upgraded your environment.

-- 
Matthew Good <trac at matt-good.net>



More information about the Trac mailing list