TracMercurial for 0.12: fix for simpler API in [8677]
Patch by Remy Blank on #8731.
Authored by: cboos 2009-10-26
Parent: [r8691]
Child: [r8693]