Marcus Lindblom kirjoitti: > Hi all, > > I'm trying to fix this for the TracMercurial-hook, but I suppose it's no > different for other hooks, such as subversion. (By default, it just > ignores out-of-band changesets) > > I've tried to alter an existing hook but I don't know enough Trac to > spot the problem. > > Here's the current source: > http://bitbucket.org/marcusl/mercurial-trac-hook/src/tip/trachook.py > > All tips greatly appreciated!
I've that very one hook working. Except I needed to add two lines (on demand loading doesn't seem to work with Trac): from mercurial import demandimport demandimport.disable() Those I put very first lines and everything works, at least with Trac 0.11.something. -- Jani Tiainen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
