This patch patches the patched trac-post-commit-hook to support InterTrac aliases
--- trac-post-commit-hook.orig 2010-05-27 10:26:29.000000000 +0200
+++ trac-post-commit-hook 2010-05-27 11:38:37.000000000 +0200
@@ -161,8 +161,14 @@
cmd_groups = command_re.findall(chgset.message)
tickets = {}
+
+ intertrac = self.env.config['intertrac']
+
for cmd, prj, tkts in cmd_groups:
prj = prj[0:len(prj)-1]
+
+ prj = intertrac.get(prj, prj)
+
funcname = CommitHook._supported_cmds.get(cmd.lower(), '')
if funcname:
for tkt_id in ticket_re.findall(tkts):