Jani Tiainen wrote: > 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.
Yeah. That's not the problem. It works well, but I'm trying to modify it so that changesets that aren't tracked by Trac still affects tickets. By default, it ignores those changesets, which makes it hard to use a single Trac instance with multiple Mercurial repositories a.t.m. Cheers, /Marcus --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
