TracMercurial: adapt to the recent hg refactoring for `walkchangerevs`
Thanks to Shun-ichi Goto for the patch! Fixes #4215.
Authored by: cboos 2006-11-20
Parent: [r4318]
Child: [r4320]