[Trac] Post commit script
Nigel Metheringham
Nigel.Metheringham at dev.intechnology.co.uk
Thu Feb 3 10:59:19 EST 2005
On Thu, 2005-02-03 at 10:36 -0500, Matthew Good wrote:
> 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.
I think the problem here is that the trac FAQ refers to the
source:trunk/contrib/trac-post-commit-hook when most people are running
a stable version, and would do better to get the file off the
appropriate branch.
I'll put a comment into the FAQ about this.
Nigel.
--
[ Nigel Metheringham Nigel.Metheringham at InTechnology.co.uk ]
[ - Comments in this message are my own and not ITO opinion/policy - ]
More information about the Trac
mailing list