Follow-up to r3972: also need to port r3971's follow-ups: r3980:3981 (''Repository cache per request'')
Authored by: cboos 2006-10-18
Parent: [r3987]
Child: [r3989]