TracMercurial for 0.12: handle the case of an emptied repository.
Thanks to mikei@... for the report and initial patch.
Fixes #8685.
Authored by: cboos 2009-10-13
Parent: [r8662]
Child: [r8664]