`CachedRepository.sync` may be called more than once during a request (e.g. by the Bitten plugin). If so, the `repos.youngest_rev` must be refreshed before attempting a `repos.normalize_rev` of the youngest rev in cache, which might have increased since the first sync done in the request pre-processing stage.
`CachedRepository.sync` may be called more than once during a request (e.g. by the Bitten plugin). If so, the `repos.youngest_rev` must be refreshed before attempting a `repos.normalize_rev` of the youngest rev in cache, which might have increased since the first sync done in the request pre-processing stage.

Fixes #5423.


git-svn-id: 0d96b0c1a6983ccc08b3732614f4d6bfcf9cbb42@5611 af82e41b-90c4-0310-8c96-b1721e28e2e2

rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac