Modify ↓
Opened 14 years ago
Closed 14 years ago
#7171 closed defect (fixed)
InterTrac alias support
Reported by: | Owned by: | Yuji OKAZAKI | |
---|---|---|---|
Priority: | normal | Component: | InterTracCommitPatch |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
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):
Attachments (0)
Change History (3)
comment:1 Changed 14 years ago by
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I'm sorry to my very slow reply. I confirmed this patch works correctly. Thank you.
Note: See
TracTickets for help on using
tickets.
Thank you, I will confirm this patch.